X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fmodules%2Fcheck_me.mod;h=4753c1b558aceeac432d281943674e2a788b8956;hp=7dac0f0f4586df19414eda816f85478ddd9fea43;hb=c4faef335b2362c81b8ebf026d4066c12d70536c;hpb=7f5593a77947c3962af0d2a2eec8e1a5ffa3bc38 diff --git a/plugins/squirrelspell/modules/check_me.mod b/plugins/squirrelspell/modules/check_me.mod index 7dac0f0f..4753c1b5 100644 --- a/plugins/squirrelspell/modules/check_me.mod +++ b/plugins/squirrelspell/modules/check_me.mod @@ -10,7 +10,7 @@ * the interface window. * * @author Konstantin Riabitsev - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright 1999-2020 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -36,7 +36,7 @@ function SpellLink($jscode, $title, $link) { /** * Declaring globals for users with E_ALL set. */ -global $SQSPELL_APP_DEFAULT, $SQSPELL_APP, $SQSPELL_SPELLCHECKER, +global $SQSPELL_APP_DEFAULT, $SQSPELL_APP, $SQSPELL_SPELLCHECKER, $SQSPELL_FORCE_POPEN, $attachment_dir, $color; if (! sqgetGlobalVar('sqspell_text',$sqspell_text,SQ_POST)) { @@ -106,7 +106,7 @@ if ($SQSPELL_SPELLCHECKER===1) { */ if (!empty($check->error)) { $msg= '
' - . nl2br(htmlspecialchars($check->error)) + . nl2br(sm_encode_html_special_chars($check->error)) . '
' . '
'; @@ -125,7 +125,7 @@ $results = $check->check_text($sqspell_new_text); */ if (!empty($check->error)) { $msg= '
' - . nl2br(htmlspecialchars($check->error)) + . nl2br(sm_encode_html_special_chars($check->error)) . '
' . '
'; @@ -153,7 +153,7 @@ if (is_array($results)) { } } else { if (!empty($check->error)) { - $error_msg = nl2br(htmlspecialchars($check->error)); + $error_msg = nl2br(sm_encode_html_special_chars($check->error)); } else { $error_msg = _("Unknown error"); } @@ -183,7 +183,7 @@ if ($errors){ for ($i=0; $i'\"\\\x0")) . "\";\n"; } $extrajs.= "\n\n"; @@ -230,7 +230,7 @@ if ($errors){ /** - * Did I mention that I hate dots on the end of contcatenated lines? + * Did I mention that I hate dots on the end of concatenated lines? * Dots at the beginning make so much more sense! */ $extrajs.= "//-->\n"