Replacing HTML "script" element deprecated attribute "language".
[squirrelmail.git] / plugins / squirrelspell / sqspell_functions.php
index bbee82183e38d182ee67de0a3d94b53eb641015f..c8dec2c800d071902415c205a228e4e637f8c77b 100644 (file)
@@ -872,7 +872,7 @@ function sqspell_handle_crypt_panic($lang=false) {
   /**
    * Add some string vars so they can be i18n'd.
    */
-  $msg .= "<script type='text/javascript'><!--\n"
+  $msg .= "<script type=\"text/javascript\"><!--\n"
     . "var ui_choice = \"" . _("You must make a choice") ."\";\n"
     . "var ui_candel = \"" . _("You can either delete your dictionary or type in the old password. Not both.") . "\";\n"
     . "var ui_willdel = \"" . _("This will delete your personal dictionary file. Proceed?") . "\";\n"