r929 - webspace/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Oct 9 21:21:30 EDT 2006


Author: zakk
Date: 2006-10-09 21:21:30 -0400 (Mon, 09 Oct 2006)
New Revision: 929

Modified:
   webspace/include/thebrain.php
Log:
Quick fix for IE?


Modified: webspace/include/thebrain.php
===================================================================
--- webspace/include/thebrain.php	2006-10-06 06:52:26 UTC (rev 928)
+++ webspace/include/thebrain.php	2006-10-10 01:21:30 UTC (rev 929)
@@ -14,7 +14,7 @@
 	$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.dtd">';
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0//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,7 +25,7 @@
 {
 	if ($ua['browser'] == "IE")
 	{
-		echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1.dtd\">
+		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";
 	}
 	$content_type = "application/xml";




More information about the quake3-commits mailing list