Print javascript Content-Type to be HTML 4.0 complient
authorbrong <brong@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Feb 2002 01:49:37 +0000 (01:49 +0000)
committerbrong <brong@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 19 Feb 2002 01:49:37 +0000 (01:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2462 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/printer_friendly_top.php

index f1562b2ee3ef35cafd1325c43741baebffb2b18a..40c766ba2dbbd736c4d39b3eb2c7abd0db2b9380 100644 (file)
@@ -19,7 +19,7 @@ require_once('../src/load_prefs.php');
 require_once('../functions/page_header.php');
 
 displayHtmlHeader( _("Printer Friendly"),
-             "<script language=\"javascript\">\n".
+             "<script language=\"javascript\" type=\"text/javascript\">\n".
              "<!--\n".
              "function printPopup() {\n".
                 "parent.frames[1].focus();\n".
@@ -41,4 +41,4 @@ echo "<body text=\"$color[8]\" bgcolor=\"$color[3]\" link=\"$color[7]\" vlink=\"
      '</body>'.
      "</html>\n";
 
-?>
\ No newline at end of file
+?>