X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fmodules%2Fedit_dic.mod;h=7cf99e35fb65add1ceea9dd711538188a7ed36b6;hp=1d53633648bd15651f0f7316b876e87d5e0a8414;hb=48a1015b888d1150c6d9ac77594c6526e9e13902;hpb=fb0abd31769201a87860ec54c123e3a729a38518;ds=sidebyside diff --git a/plugins/squirrelspell/modules/edit_dic.mod b/plugins/squirrelspell/modules/edit_dic.mod index 1d536336..7cf99e35 100644 --- a/plugins/squirrelspell/modules/edit_dic.mod +++ b/plugins/squirrelspell/modules/edit_dic.mod @@ -1,68 +1,113 @@ ($Author$) + * @version $Date + */ - /** - ** EDIT_DIC.MOD.PHP -- Squirrelspell module - ** - ** Copyright (c) 1999-2002 The SquirrelMail development team - ** Licensed under the GNU GPL. For full terms see the file COPYING. - ** - ** This module handles the encryption/decryption of the user dictionary - ** if the user so chooses from the options page. - ** - ** $Id$ - **/ - - // fidian, you owe me a pack of Guinness! :) - global $color; - $words=sqspell_getWords(); - if (!$words){ - // Agt. Smith: "You're empty." - // Neo: "So are you." - sqspell_makePage(_("Personal Dictionary"), null, '
' . _("No words in your personal dictionary.") . '
'); - } else { - // We're loaded with booty. - $pre_msg = '' . _("Please check any words you wish to delete from your dictionary.") . "
\n"; - $pre_msg .= "" . - sprintf( _("%s dictionary"), $langs[$i] ) . ' | '. - '
---|
'. - ' |
". - ''. - ' |
'. - " |
' . _("No words in your personal dictionary.") + . '
'); +} else { + /** + * We're loaded with booty. + */ + $pre_msg = '' + . _("Please check any words you wish to delete from your dictionary.") + . "
\n"; + $pre_msg .= "" + . sprintf( _("%s dictionary"), $langs[$i] ) . ' | ' + . '
---|
' + . ' |
" + . '' + . ' |
' + . " |