X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fmodules%2Fforget_me.mod;h=24a5421d181b0bd68fa9b7b9f6486352deb7f75b;hb=96d985e56dd20e2045e07673fc42e1ad908b398e;hp=cdfa6abe93d24775af2114cc9d6603c84d533714;hpb=d112ed5aeee62953707e7042a1edc8e8c2b6a968;p=squirrelmail.git diff --git a/plugins/squirrelspell/modules/forget_me.mod b/plugins/squirrelspell/modules/forget_me.mod index cdfa6abe..24a5421d 100644 --- a/plugins/squirrelspell/modules/forget_me.mod +++ b/plugins/squirrelspell/modules/forget_me.mod @@ -4,7 +4,7 @@ * -------------- * Squirrelspell module * - * Copyright (c) 1999-2002 The SquirrelMail development team + * Copyright (c) 1999-2003 The SquirrelMail development team * Licensed under the GNU GPL. For full terms see the file COPYING. * * This module deletes the words from the user dictionary. Called @@ -16,7 +16,11 @@ * @version $Date$ */ -global $words_ary, $sqspell_use_app, $SQSPELL_VERSION; +global $SQSPELL_VERSION; + +$words_ary = $_POST['words_ary']; +$sqspell_use_app = $_POST['sqspell_use_app']; + /** * If something needs to be deleted, then $words_ary will be * non-zero length. @@ -25,7 +29,7 @@ if (sizeof($words_ary)){ $words=sqspell_getWords(); $lang_words = sqspell_getLang($words, $sqspell_use_app); $msg = '

' - . sprintf(_("Deleting the following entries from %s dictionary:", $sqspell_use_app)) . + . sprintf(_("Deleting the following entries from %s dictionary:"), $sqspell_use_app) . '

' . "

' . _("All done!") . "

\n"; sqspell_makePage(_("Personal Dictionary Updated"), null, $msg); } else { /**