* --------------
* 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
$words=sqspell_getWords();
$lang_words = sqspell_getLang($words, $sqspell_use_app);
$msg = '<p>'
- . sprintf(_("Deleting the following entries from <strong>%s</strong> dictionary:"), $sqspell_use_app)
+ . sprintf(_("Deleting the following entries from %s dictionary:"), '<strong>'.$sqspell_use_app.'</strong>')
. '</p>'
. "<ul>\n";
for ($i=0; $i<sizeof($words_ary); $i++){
* Remove word by word...
*/
$lang_words=str_replace("$words_ary[$i]\n", "", $lang_words);
- $msg .= "<li>$words_ary[$i]</li>\n";
+ $msg .= '<li>' . htmlspecialchars($words_ary[$i]) . "</li>\n";
}
$new_words_ary=split("\n", $lang_words);
/**
* Local variables:
* mode: php
* End:
+ * vim: syntax=php
*/
?>