spelling fix in options_submit.php
[squirrelmail.git] / src / options_submit.php
index 3f128602c15632b9db9c48a8d7292e8882775018..b7c2f30d4ff52b8bf2c8a01327269e4a7def73c4 100644 (file)
    echo "<BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
    displayPageHeader($color, "None");
 
-   setPref($username, "full_name", $full_name);
-   setPref($username, "reply_to", $reply_to);
-   setPref($username, "chosen_theme", $chosentheme);
+   setPref($data_dir, $username, "full_name", stripslashes($full_name));
+   setPref($data_dir, $username, "reply_to", stripslashes($reply_to));
+   setPref($data_dir, $username, "chosen_theme", $chosentheme);
+   setPref($data_dir, $username, "move_to_trash", $movetotrash);
+   setPref($data_dir, $username, "wrap_at", $wrapat);
+   setPref($data_dir, $username, "editor_size", $editorsize);
+   setPref($data_dir, $username, "use_signature", $usesignature);
+
+   setSig($data_dir, $username, stripslashes($signature_edit));
 
    echo "<FONT FACE=\"Arial,Helvetica\">";
-   echo "<BR><BR><BR><CENTER><B>Options Saved!</B><BR><BR>";
-   echo "Your options have been saved.<BR><A HREF=\"webmail.php\" TARGET=_top>Click here</A> to continue.";
+   echo "<BR><BR><BR><CENTER><B>";
+   echo _("Options Saved!");
+   echo "</B><BR><BR>";
+   echo _("Your options have been saved.");
+   echo "<BR><A HREF=\"webmail.php\" TARGET=_top>";
+   echo _("Click here");
+   echo " </A>";
+   echo _("to continue.");
    echo "</CENTER></FONT>";
    echo "</BODY></HTML>";
-?>
\ No newline at end of file
+?>