|
From: Fredrik J. <jer...@us...> - 2006-02-05 11:32:55
|
Update of /cvsroot/squirrelmail/squirrelmail/plugins/newmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1999/plugins/newmail Modified Files: functions.php newmail.php Log Message: Replacing HTML "script" element deprecated attribute "language". Index: functions.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/newmail/functions.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -w -r1.8 -r1.9 --- functions.php 23 Jan 2006 18:42:22 -0000 1.8 +++ functions.php 5 Feb 2006 11:32:33 -0000 1.9 @@ -233,7 +233,7 @@ // will play the sound as follows: if ($newmail_changetitle) { - echo "<script language=\"javascript\" type=\"text/javascript\">\n" . + echo "<script type=\"text/javascript\">\n" . "function ChangeTitleLoad() {\n"; echo 'window.parent.document.title = "' . sprintf(ngettext("%s New Message","%s New Messages",$totalNew), $totalNew) . @@ -255,7 +255,7 @@ // Idea by: Nic Wolfe (Ni...@Ti...) // Web URL: http://fineline.xs.mw // More code from Tyler Akins - echo "<script language=\"JavaScript\">\n". + echo "<script type=\"text/javascript\">\n". "<!--\n". "function PopupScriptLoad() {\n". 'window.open("'.sqm_baseuri().'plugins/newmail/newmail.php?numnew='.$totalNew. Index: newmail.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/plugins/newmail/newmail.php,v retrieving revision 1.24 retrieving revision 1.25 diff -u -w -r1.24 -r1.25 --- newmail.php 5 Feb 2006 11:18:50 -0000 1.24 +++ newmail.php 5 Feb 2006 11:32:33 -0000 1.25 @@ -42,7 +42,7 @@ ) , '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) . '</div>' . - "<script language=javascript>\n". + "<script type=\"text/javascript\">\n". "<!--\n". "document.nm.bt.focus();\n". "-->\n". |