finished adding czech translation
[squirrelmail.git] / src / options_personal.php
CommitLineData
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 **
10 **/
11
12 session_start();
13
14 if (!isset($config_php))
15 include("../config/config.php");
16 if (!isset($strings_php))
17 include("../functions/strings.php");
18 if (!isset($page_header_php))
19 include("../functions/page_header.php");
20 if (!isset($display_messages_php))
21 include("../functions/display_messages.php");
22 if (!isset($imap_php))
23 include("../functions/imap.php");
24 if (!isset($array_php))
25 include("../functions/array.php");
26 if (!isset($i18n_php))
27 include("../functions/i18n.php");
d7d3c4d4 28 if (!isset($plugin_php))
29 include("../functions/plugin.php");
c36ed9cf 30
31 include("../src/load_prefs.php");
32 displayPageHeader($color, "None");
33
34 $fullname = getPref($data_dir, $username, "full_name");
35 $replyto = getPref($data_dir, $username, "reply_to");
36 $email_address = getPref($data_dir, $username, "email_address");
37
38?>
e9f8ea4e 39 <br>
6170c5b6 40 <table width=95% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<?php echo $color[0] ?>">
41 <center><b><?php echo _("Options") . " - " . _("Personal Information"); ?></b></center>
c36ed9cf 42 </td></tr></table>
43
d7d3c4d4 44 <form name=f action="options.php" method=post>
c36ed9cf 45 <table width=100% cellpadding=0 cellspacing=2 border=0>
46 <tr>
6170c5b6 47 <td align=right nowrap><?php echo _("Full Name"); ?>:
c36ed9cf 48 </td><td>
6170c5b6 49 <input size=50 type=text value="<?php echo $fullname ?>" name=full_name>
c36ed9cf 50 </td>
51 </tr>
52 <tr>
6170c5b6 53 <td align=right nowrap><?php echo _("E-Mail Address"); ?>:
c36ed9cf 54 </td><td>
6170c5b6 55 <input size=50 type=text value="<?php echo $email_address ?>" name=email_address>
c36ed9cf 56 </td>
57 </tr>
58 <tr>
6170c5b6 59 <td align=right nowrap><?php echo _("Reply To"); ?>:
c36ed9cf 60 </td><td>
6170c5b6 61 <input size=50 type=text value="<?php echo $replyto ?>" name=reply_to>
c36ed9cf 62 </td>
63 </tr>
64 <tr>
6170c5b6 65 <td align=right nowrap valign=top><br><?php echo _("Signature"); ?>:
c36ed9cf 66 </td><td>
8442ac08 67<?php
c36ed9cf 68 if ($use_signature == true)
69 echo "<input type=checkbox value=\"0\" name=usesignature checked>&nbsp;&nbsp;" . _("Use a signature") . "?<BR>";
70 else {
71 echo "<input type=checkbox value=\"1\" name=usesignature>&nbsp;&nbsp;";
72 echo _("Use a signature?");
73 echo "<BR>";
74 }
75 echo "\n<textarea name=signature_edit rows=5 cols=50>$signature_abs</textarea><br>";
76?>
77 </td>
78 </tr>
ef3c69f0 79 <?php do_hook("options_personal_inside"); ?>
c36ed9cf 80 <tr>
81 <td>&nbsp;
82 </td><td>
83 <input type="submit" value="Submit" name="submit_personal">
84 </td>
85 </tr>
86 </table>
87 </form>
d7d3c4d4 88 <?php do_hook("options_personal_bottom"); ?>
c36ed9cf 89</body></html>