* @copyright © 1999-2006 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins * @subpackage squirrelspell */ global $SQSPELL_VERSION, $SQSPELL_APP_DEFAULT; if (! sqgetGlobalVar('words_ary',$words_ary,SQ_POST) || ! is_array($words_ary)) { $words_ary = array(); } if (! sqgetGlobalVar('sqspell_use_app',$sqspell_use_app,SQ_POST)){ $sqspell_use_app = $SQSPELL_APP_DEFAULT; } /** * If something needs to be deleted, then $words_ary will be * non-zero length. */ if (! empty($words_ary)){ $lang_words = sqspell_getLang($sqspell_use_app); $msg = '

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

' . "

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

\n"; sqspell_makePage(_("Personal Dictionary Updated"), null, $msg); } else { /** * Click on some words first, Einstein! */ sqspell_makePage(_("Personal Dictionary"), null, '

' . _("No changes requested.") . '

'); } /** * For Emacs weenies: * Local variables: * mode: php * End: * vim: syntax=php */