Browse Source

switched doctype to standard compliance mode

tokul 19 years ago
parent
commit
4b4adabb8c

+ 3 - 0
ChangeLog

@@ -537,6 +537,9 @@ Version 1.5.1 -- CVS
   - Security: Fix possible cross site scripting through the right_main
     parameter of webmail.php. This now uses a whitelist of acceptable
     values. [CVE-2006-0188]
+  - Disabled display of regexp compilation errors in local_file address
+    book backend.
+  - DOCTYPE tags are switched from quirks to standard compliance mode.
 
 Version 1.5.0 - 2 February 2004
 -------------------------------

+ 2 - 1
contrib/decrypt_headers.php

@@ -53,7 +53,8 @@ function hex2ip($hex) {
 /** create page headers */
 header('Content-Type: text/html');
 
-echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'
+echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"'."\n"
+    .'  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">'
     ."\n<head>\n<meta name=\"robots\" content=\"noindex,nofollow\">\n"
     ."</head><body>";
 

+ 2 - 1
doc/Development/index.html

@@ -1,4 +1,5 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <!-- $Id$ -->
 <html lang="en_GB">
 <head>

+ 2 - 1
doc/index.html

@@ -1,4 +1,5 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <!-- $Id$ -->
 <html>
 <head>

+ 2 - 1
plugins/bug_report/show_system_specs.php

@@ -27,7 +27,8 @@ if (! is_plugin_enabled('bug_report') || ! bug_report_check_user()) {
     exit();
 }
 ?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <html>
 <body>
 <pre>

+ 2 - 1
src/addrbook_popup.php

@@ -23,7 +23,8 @@ include_once(SM_PATH . 'include/validate.php');
 require_once(SM_PATH . 'functions/addressbook.php');
 
 ?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
+  "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd">
 
 <html>
     <head>

+ 2 - 1
src/configtest.php

@@ -46,7 +46,8 @@ if (file_exists(SM_PATH . 'config/config.php')) {
     include(SM_PATH . 'config/config.php');
     include(SM_PATH . 'functions/strings.php');
 }
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <html>
 <head>
     <meta name="robots" content="noindex,nofollow">

+ 2 - 1
src/signout.php

@@ -56,7 +56,8 @@ if ($signout_page) {
 /* internal gettext functions will fail, if language is not set */
 set_up_language($squirrelmail_language, true, true);
 ?>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+  "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
 <html>
 <head>
 <?php

+ 2 - 1
src/webmail.php

@@ -79,7 +79,8 @@ if ($my_language != $squirrelmail_language) {
 
 $err=set_up_language(getPref($data_dir, $username, 'language'));
 
-$output = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">\n".
+$output = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\"\n".
+          "  \"http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd\">\n".
           "<html><head>\n" .
           "<meta name=\"robots\" content=\"noindex,nofollow\">\n" .
           "<title>$org_title</title>\n".