99259b46 |
1 | <? |
2a32fc83 |
2 | session_start(); |
3 | |
d068c0ec |
4 | if (!isset($config_php)) |
5 | include("../config/config.php"); |
6 | if (!isset($strings_php)) |
7 | include("../functions/strings.php"); |
8 | if (!isset($page_header_php)) |
9 | include("../functions/page_header.php"); |
10 | if (!isset($dipslay_messages_php)) |
11 | include("../functions/display_messages.php"); |
12 | if (!isset($imap_php)) |
13 | include("../functions/imap.php"); |
14 | if (!isset($array_php)) |
15 | include("../functions/array.php"); |
d3cdb279 |
16 | |
17 | include("../src/load_prefs.php"); |
99259b46 |
18 | |
99259b46 |
19 | |
ebc15534 |
20 | setPref($data_dir, $username, "full_name", stripslashes($full_name)); |
f3585c1a |
21 | setPref($data_dir, $username, "email_address", stripslashes($email_address)); |
ebc15534 |
22 | setPref($data_dir, $username, "reply_to", stripslashes($reply_to)); |
d0747e26 |
23 | setPref($data_dir, $username, "chosen_theme", $chosentheme); |
11307a4c |
24 | setPref($data_dir, $username, "move_to_trash", $movetotrash); |
25 | setPref($data_dir, $username, "wrap_at", $wrapat); |
26 | setPref($data_dir, $username, "editor_size", $editorsize); |
f804972b |
27 | setPref($data_dir, $username, "use_signature", $usesignature); |
469eb37b |
28 | setPref($data_dir, $username, "left_refresh", $leftrefresh); |
d30d79f2 |
29 | setPref($data_dir, $username, "language", $language); |
2848c630 |
30 | setPref($data_dir, $username, "left_size", $leftsize); |
37df47f5 |
31 | setPref($data_dir, $username, "folder_prefix", $folderprefix); |
f804972b |
32 | |
4bfed9f3 |
33 | setSig($data_dir, $username, stripslashes($signature_edit)); |
99259b46 |
34 | |
71fd5383 |
35 | #setcookie("squirrelmail_language", $language, time()+2592000); |
36 | $squirrelmail_language = $language; |
288491a4 |
37 | |
8b673ac1 |
38 | echo "<HTML>"; |
39 | echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n"; |
40 | displayPageHeader($color, "None"); |
a6668eb2 |
41 | echo "<BR><BR><BR><CENTER><B>"; |
42 | echo _("Options Saved!"); |
43 | echo "</B><BR><BR>"; |
44 | echo _("Your options have been saved."); |
2a32fc83 |
45 | echo "<BR><A HREF=\"webmail.php?PHPSESSID=$PHPSESSID\" TARGET=_top>"; |
a6668eb2 |
46 | echo _("Click here"); |
bd8bf491 |
47 | echo "</A> "; |
a6668eb2 |
48 | echo _("to continue."); |
aae41ae9 |
49 | echo "</CENTER>"; |
99259b46 |
50 | echo "</BODY></HTML>"; |
a6668eb2 |
51 | ?> |