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