Preferences save now
[squirrelmail.git] / src / options_submit.php
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");
9 include("../functions/prefs.php");
10
11 echo "<HTML>";
12 if ($auto_forward == true)
13 echo "<META HTTP-EQUIV=\"REFRESH\" CONTENT=\"0;URL=right_main.php\">";
14 echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
15 displayPageHeader($color, "None");
16
17 setPref($username, "full_name", $full_name);
18 setPref($username, "reply_to", $reply_to);
19
20 echo "<FONT FACE=\"Arial,Helvetica\">";
21 echo "<BR><BR><BR><CENTER><B>Options Saved!</B><BR><BR>";
22 echo "You will be automatically forwarded.<BR>If not, <A HREF=\"right_main.php\">click here</A>";
23 echo "</CENTER></FONT>";
24 echo "</BODY></HTML>";
25 ?>