ifixed a few bugs with not being RFC complient
[squirrelmail.git] / src / options_submit.php
CommitLineData
99259b46 1<?
2 include("../config/config.php");
99259b46 3 include("../functions/strings.php");
4 include("../functions/page_header.php");
5 include("../functions/display_messages.php");
6 include("../functions/imap.php");
7 include("../functions/array.php");
d3cdb279 8
9 include("../src/load_prefs.php");
99259b46 10
99259b46 11
ebc15534 12 setPref($data_dir, $username, "full_name", stripslashes($full_name));
13 setPref($data_dir, $username, "reply_to", stripslashes($reply_to));
d0747e26 14 setPref($data_dir, $username, "chosen_theme", $chosentheme);
11307a4c 15 setPref($data_dir, $username, "move_to_trash", $movetotrash);
16 setPref($data_dir, $username, "wrap_at", $wrapat);
17 setPref($data_dir, $username, "editor_size", $editorsize);
f804972b 18 setPref($data_dir, $username, "use_signature", $usesignature);
469eb37b 19 setPref($data_dir, $username, "left_refresh", $leftrefresh);
f804972b 20
4bfed9f3 21 setSig($data_dir, $username, stripslashes($signature_edit));
99259b46 22
8b673ac1 23 echo "<HTML>";
24 echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
25 displayPageHeader($color, "None");
99259b46 26 echo "<FONT FACE=\"Arial,Helvetica\">";
a6668eb2 27 echo "<BR><BR><BR><CENTER><B>";
28 echo _("Options Saved!");
29 echo "</B><BR><BR>";
30 echo _("Your options have been saved.");
31 echo "<BR><A HREF=\"webmail.php\" TARGET=_top>";
32 echo _("Click here");
bd8bf491 33 echo "</A> ";
a6668eb2 34 echo _("to continue.");
99259b46 35 echo "</CENTER></FONT>";
36 echo "</BODY></HTML>";
a6668eb2 37?>