3 ** options_personal.php
5 ** Copyright (c) 1999-2000 The SquirrelMail development team
6 ** Licensed under the GNU GPL. For full terms see the file COPYING.
8 ** Displays all options relating to personal information
13 include('../src/validate.php');
14 include('../functions/strings.php');
15 include('../config/config.php');
16 include('../functions/page_header.php');
17 include('../functions/display_messages.php');
18 include('../functions/imap.php');
19 include('../functions/array.php');
20 include('../functions/i18n.php');
21 include('../functions/plugin.php');
22 include('../src/load_prefs.php');
24 displayPageHeader($color, 'None');
26 $fullname = getPref($data_dir, $username, 'full_name');
27 $replyto = getPref($data_dir, $username, 'reply_to');
28 $email_address = getPref($data_dir, $username, 'email_address');
32 <table width
=95% align
=center border
=0 cellpadding
=2 cellspacing
=0><tr
><td bgcolor
="<?php echo $color[0] ?>">
33 <center
><b
><?php
echo _("Options") . " - " . _("Personal Information"); ?
></b
></center
>
36 <form name
=f action
="options.php" method
=post
>
37 <table width
=100% cellpadding
=0 cellspacing
=2 border
=0>
39 <td align
=right nowrap
><?php
echo _("Full Name"); ?
>:
41 <input size
=50 type
=text value
="<?php echo $fullname ?>" name
=full_name
>
45 <td align
=right nowrap
><?php
echo _("E-Mail Address"); ?
>:
47 <input size
=50 type
=text value
="<?php echo $email_address ?>" name
=email_address
>
51 <td align
=right nowrap
><?php
echo _("Reply To"); ?
>:
53 <input size
=50 type
=text value
="<?php echo $replyto ?>" name
=reply_to
>
57 <td align
=right nowrap valign
=top
><br
><?php
echo _("Signature"); ?
>:
60 if ($use_signature == true)
61 echo '<input type=checkbox value="1" name=usesignature checked> ' . _("Use a signature?") . ' ';
63 echo '<input type=checkbox value="1" name=usesignature> ' . _("Use a signature?") . ' ';
64 if ( ! isset($prefix_sig) ||
$prefix_sig == true )
65 echo '<input type="checkbox" value="1" name="prefixsig" checked> '
66 . _( "Prefix signature with '--' ?" ) . '<BR>';
68 echo '<input type="checkbox" value="1" name="prefixsig"> ' .
69 _( "Prefix signature with '--' ?" ) . '<BR>';
70 echo "\n<textarea name=\"signature_edit\" rows=\"5\" cols=\"50\">$signature_abs</textarea><br>";
74 <?php
do_hook("options_personal_inside"); ?
>
78 <input type
="submit" value
="<?php echo _("Submit
"); ?>" name
="submit_personal">
83 <?php
do_hook('options_personal_bottom'); ?
>