HTML Validation tidy up. Script tags require a "type".
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Mar 2005 23:28:44 +0000 (23:28 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Mar 2005 23:28:44 +0000 (23:28 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9173 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/newmail/setup.php

index 456eb88..acefda2 100644 (file)
@@ -277,7 +277,7 @@ function newmail_plugin() {
         // will play the sound as follows:
 
         if ($newmail_changetitle) {
-            echo "<script language=\"javascript\">\n" .
+            echo "<script language=\"javascript\" type=\"text/javascript\">\n" .
                 "function ChangeTitleLoad() {\n";
             echo 'window.parent.document.title = "' .
                 sprintf(ngettext("%s New Message","%s New Messages",$totalNew), $totalNew) .
@@ -315,4 +315,4 @@ function newmail_plugin() {
         }
     }
 }
-?>
\ No newline at end of file
+?>