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 | |
ff8a98e7 |
13 | require_once('../src/validate.php'); |
14 | require_once('../functions/display_messages.php'); |
15 | require_once('../functions/imap.php'); |
16 | require_once('../functions/array.php'); |
17 | require_once('../functions/plugin.php'); |
f740c049 |
18 | |
e1db998a |
19 | displayPageHeader($color, 'None'); |
c36ed9cf |
20 | |
e1db998a |
21 | $fullname = getPref($data_dir, $username, 'full_name'); |
22 | $replyto = getPref($data_dir, $username, 'reply_to'); |
23 | $email_address = getPref($data_dir, $username, 'email_address'); |
cd2b7182 |
24 | |
c36ed9cf |
25 | ?> |
e9f8ea4e |
26 | <br> |
e7db48af |
27 | <table width=95% align=center border=0 cellpadding=2 cellspacing=0> |
28 | <tr><td align="center" bgcolor="<?php echo $color[0] ?>"> |
c36ed9cf |
29 | |
e7db48af |
30 | <b><?php echo _("Options") . " - " . _("Personal Information"); ?></b> |
31 | |
32 | <table width="100%" border="0" cellpadding="1" cellspacing="1"> |
33 | <tr><td bgcolor="<?php echo $color[4] ?>" align="center"> |
34 | |
35 | <form name=f action="options.php" method=post><br> |
36 | <table width=100% cellpadding=2 cellspacing=0 border=0> |
c36ed9cf |
37 | <tr> |
6170c5b6 |
38 | <td align=right nowrap><?php echo _("Full Name"); ?>: |
c36ed9cf |
39 | </td><td> |
6170c5b6 |
40 | <input size=50 type=text value="<?php echo $fullname ?>" name=full_name> |
c36ed9cf |
41 | </td> |
42 | </tr> |
43 | <tr> |
6170c5b6 |
44 | <td align=right nowrap><?php echo _("E-Mail Address"); ?>: |
c36ed9cf |
45 | </td><td> |
6170c5b6 |
46 | <input size=50 type=text value="<?php echo $email_address ?>" name=email_address> |
c36ed9cf |
47 | </td> |
48 | </tr> |
49 | <tr> |
6170c5b6 |
50 | <td align=right nowrap><?php echo _("Reply To"); ?>: |
c36ed9cf |
51 | </td><td> |
6170c5b6 |
52 | <input size=50 type=text value="<?php echo $replyto ?>" name=reply_to> |
c36ed9cf |
53 | </td> |
54 | </tr> |
ed21fc85 |
55 | <tr> |
56 | <td align="right" nowrap><?PHP echo _("Reply Citation Style") ?>:</td> |
57 | <td><select name="new_reply_citation_style"> |
58 | <option value="none"<?PHP |
59 | if ($reply_citation_style == 'none') echo ' SELECTED'; |
60 | ?>>- <?PHP echo _("No Citation"); ?> -</option> |
61 | <option value="author_said"<?PHP |
62 | if ($reply_citation_style == 'author_said') echo ' SELECTED'; |
63 | ?>><?PHP echo _("AUTHOR Said"); ?></option> |
64 | <option value="quote_who"<?PHP |
65 | if ($reply_citation_style == 'quote_who') echo ' SELECTED'; |
66 | ?>><?PHP echo _("Quote Who XML"); ?></option> |
67 | <option value="user-defined"<?PHP |
68 | if ($reply_citation_style == 'user-defined') echo ' SELECTED'; |
69 | ?>><?PHP echo _("User-Defined"); ?></option> |
70 | </select> |
71 | </td> |
72 | </tr> |
73 | <tr> |
74 | <td align="right" nowrap><?php echo _("User-Defined Reply Citation"); ?>:</td> |
75 | <td> |
76 | <tt><input type="text" size="20" name="new_reply_citation_start" value="<?php |
77 | echo $reply_citation_start; |
78 | ?>"></tt> <<?php |
79 | echo _("Author's Name"); |
80 | ?>> |
81 | <tt><input type="text" size="20" name="new_reply_citation_end" value="<?php |
82 | echo $reply_citation_end; |
83 | ?>"></tt> |
84 | </td> |
85 | </tr> |
aaf9abef |
86 | <tr> |
e7db48af |
87 | <td align=right nowrap><?PHP echo _("Multiple Identities"); ?>: |
aaf9abef |
88 | </td><td> |
7b9085a2 |
89 | <a href="options_identities.php"><?PHP |
90 | echo _("Edit Advanced Identities") . '</a> ' . _("(discards changes made on this form so far)"); |
91 | ?></td> |
aaf9abef |
92 | </tr> |
93 | <tr><td colspan=2><hr size=1 width=80%></td></tr> |
c36ed9cf |
94 | <tr> |
6170c5b6 |
95 | <td align=right nowrap valign=top><br><?php echo _("Signature"); ?>: |
c36ed9cf |
96 | </td><td> |
8442ac08 |
97 | <?php |
7b9085a2 |
98 | echo '<input type=checkbox value="1" name=usesignature'; |
99 | if ($use_signature) |
100 | echo ' checked'; |
101 | echo '> ' . _("Use a signature?") . ' '; |
102 | echo '<input type="checkbox" value="1" name="prefixsig"'; |
103 | if ( $prefix_sig ) |
104 | echo ' checked'; |
105 | echo '> ' . |
0fa507f1 |
106 | _( "Prefix signature with '-- ' ?" ) . '<BR>'; |
e1db998a |
107 | echo "\n<textarea name=\"signature_edit\" rows=\"5\" cols=\"50\">$signature_abs</textarea><br>"; |
c36ed9cf |
108 | ?> |
109 | </td> |
110 | </tr> |
ef3c69f0 |
111 | <?php do_hook("options_personal_inside"); ?> |
c36ed9cf |
112 | <tr> |
113 | <td> |
114 | </td><td> |
32f4685b |
115 | <input type="submit" value="<?php echo _("Submit"); ?>" name="submit_personal"> |
c36ed9cf |
116 | </td> |
117 | </tr> |
118 | </table> |
e7db48af |
119 | </form> |
120 | |
e1db998a |
121 | <?php do_hook('options_personal_bottom'); ?> |
e7db48af |
122 | |
123 | </td></tr> |
124 | </table> |
125 | |
126 | </td></tr> |
127 | </table> |
ff8a98e7 |
128 | </body></html> |