c36ed9cf |
1 | <?php |
2 | /** |
3 | ** options_personal.php |
4 | ** |
5 | ** Copyright (c) 1999-2000 The SquirrelMail development team |
6 | ** Licensed under the GNU GPL. For full terms see the file COPYING. |
7 | ** |
8 | ** Displays all options relating to personal information |
9 | ** |
245a6892 |
10 | ** $Id$ |
c36ed9cf |
11 | **/ |
12 | |
f740c049 |
13 | include('../src/validate.php'); |
f740c049 |
14 | include('../functions/page_header.php'); |
15 | include('../functions/display_messages.php'); |
16 | include('../functions/imap.php'); |
17 | include('../functions/array.php'); |
f740c049 |
18 | include('../functions/plugin.php'); |
e1db998a |
19 | include('../src/load_prefs.php'); |
f740c049 |
20 | |
e1db998a |
21 | displayPageHeader($color, 'None'); |
c36ed9cf |
22 | |
e1db998a |
23 | $fullname = getPref($data_dir, $username, 'full_name'); |
24 | $replyto = getPref($data_dir, $username, 'reply_to'); |
25 | $email_address = getPref($data_dir, $username, 'email_address'); |
c36ed9cf |
26 | |
27 | ?> |
e9f8ea4e |
28 | <br> |
6170c5b6 |
29 | <table width=95% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<?php echo $color[0] ?>"> |
30 | <center><b><?php echo _("Options") . " - " . _("Personal Information"); ?></b></center> |
c36ed9cf |
31 | </td></tr></table> |
32 | |
d7d3c4d4 |
33 | <form name=f action="options.php" method=post> |
c36ed9cf |
34 | <table width=100% cellpadding=0 cellspacing=2 border=0> |
35 | <tr> |
6170c5b6 |
36 | <td align=right nowrap><?php echo _("Full Name"); ?>: |
c36ed9cf |
37 | </td><td> |
6170c5b6 |
38 | <input size=50 type=text value="<?php echo $fullname ?>" name=full_name> |
c36ed9cf |
39 | </td> |
40 | </tr> |
41 | <tr> |
6170c5b6 |
42 | <td align=right nowrap><?php echo _("E-Mail Address"); ?>: |
c36ed9cf |
43 | </td><td> |
6170c5b6 |
44 | <input size=50 type=text value="<?php echo $email_address ?>" name=email_address> |
c36ed9cf |
45 | </td> |
46 | </tr> |
47 | <tr> |
6170c5b6 |
48 | <td align=right nowrap><?php echo _("Reply To"); ?>: |
c36ed9cf |
49 | </td><td> |
6170c5b6 |
50 | <input size=50 type=text value="<?php echo $replyto ?>" name=reply_to> |
c36ed9cf |
51 | </td> |
52 | </tr> |
53 | <tr> |
6170c5b6 |
54 | <td align=right nowrap valign=top><br><?php echo _("Signature"); ?>: |
c36ed9cf |
55 | </td><td> |
8442ac08 |
56 | <?php |
c36ed9cf |
57 | if ($use_signature == true) |
b8163cc4 |
58 | echo '<input type=checkbox value="1" name=usesignature checked> ' . _("Use a signature?") . ' '; |
59 | else |
60 | echo '<input type=checkbox value="1" name=usesignature> ' . _("Use a signature?") . ' '; |
f740c049 |
61 | if ( ! isset($prefix_sig) || $prefix_sig == true ) |
62 | echo '<input type="checkbox" value="1" name="prefixsig" checked> ' |
63 | . _( "Prefix signature with '--' ?" ) . '<BR>'; |
b8163cc4 |
64 | else |
f740c049 |
65 | echo '<input type="checkbox" value="1" name="prefixsig"> ' . |
66 | _( "Prefix signature with '--' ?" ) . '<BR>'; |
e1db998a |
67 | echo "\n<textarea name=\"signature_edit\" rows=\"5\" cols=\"50\">$signature_abs</textarea><br>"; |
c36ed9cf |
68 | ?> |
69 | </td> |
70 | </tr> |
ef3c69f0 |
71 | <?php do_hook("options_personal_inside"); ?> |
c36ed9cf |
72 | <tr> |
73 | <td> |
74 | </td><td> |
32f4685b |
75 | <input type="submit" value="<?php echo _("Submit"); ?>" name="submit_personal"> |
c36ed9cf |
76 | </td> |
77 | </tr> |
78 | </table> |
79 | </form> |
e1db998a |
80 | <?php do_hook('options_personal_bottom'); ?> |
c36ed9cf |
81 | </body></html> |