r930 - webspace/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Oct 11 00:50:13 EDT 2006


Author: floam
Date: 2006-10-11 00:50:13 -0400 (Wed, 11 Oct 2006)
New Revision: 930

Modified:
   webspace/include/thebrain.php
Log:
Correct doctypes


Modified: webspace/include/thebrain.php
===================================================================
--- webspace/include/thebrain.php	2006-10-10 01:21:30 UTC (rev 929)
+++ webspace/include/thebrain.php	2006-10-11 04:50:13 UTC (rev 930)
@@ -14,7 +14,8 @@
 	$ua = false;
 
 $normal = '<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
 if  ((strpos($_SERVER['HTTP_ACCEPT'], "application/xhtml+xml")) || ($ua['parent'] == "Validation Checkers")) 
 {
 	$content_type = "application/xhtml+xml";
@@ -25,8 +26,9 @@
 {
 	if ($ua['browser'] == "IE")
 	{
-		echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
-<?xml-stylesheet type=\"text/xsl\" href=\"include/copy.xsl\"?>\n";
+		echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+		   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<?xml-stylesheet type="text/xsl" href="include/copy.xsl"?>\n';
 	}
 	$content_type = "application/xml";
 }




More information about the quake3-commits mailing list