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