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