Give back the message object to those who want it
[squirrelmail.git] / plugins / squirrelspell / modules / lang_setup.mod
index 6bd6e99f2dcd236ba731c152977a6f580909ae48..7b01fcb7077512dbd0a0793fcd3de53f2105dde3 100644 (file)
@@ -9,7 +9,7 @@
  * him/her choose which ones s/he wants to check messages with.
  *
  * @author Konstantin Riabitsev <icon at duke.edu>
- * @copyright &copy; 1999-2009 The SquirrelMail Project Team
+ * @copyright 1999-2018 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -23,6 +23,7 @@ $msg = '<p>'
   . '</p>'
   . '<form method="post">'
   . '<input type="hidden" name="MOD" value="lang_change" />'
+  . '<input type="hidden" name="smtoken" value="' . sm_generate_security_token() . '" />'
   . '<blockquote><p>';
 /**
  * Present a nice listing.
@@ -47,7 +48,7 @@ while (list($avail_lang, $junk) = each($SQSPELL_APP)){
 }
 $msg .= "</p>\n" . $add . "</select>\n";
 $msg .= "</p></blockquote><p><input type=\"submit\" value=\" "
-  . _("Make these changes") . " \" /></p>";
+  . _("Make these changes") . " \" /></p></form>";
 sqspell_makePage(_("Add International Dictionaries"), null, $msg);
 
 /**