cvs: phpweb /include layout.inc
| From: | Gabor Hojtsy | Date: | Sun, 02 Mar 2003 19:08:16 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16014@lists.php.net to get a copy of this message | ||
goba Sun Mar 2 14:08:16 2003 EDT
Modified files:
/phpweb/include layout.inc
Log:
Having the DTD URL in the DOCTYPE switches Mozilla and IE to a standards
compatibility mode, in which our site does not behave correctly right now,
so remove the URL from the DOCTYPE for now...
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.126 phpweb/include/layout.inc:1.127
--- phpweb/include/layout.inc:1.126 Sun Mar 2 13:08:34 2003
+++ phpweb/include/layout.inc Sun Mar 2 14:08:15 2003
@@ -1,6 +1,6 @@
<?php
-/* $Id: layout.inc,v 1.126 2003/03/02 18:08:34 goba Exp $ */
+/* $Id: layout.inc,v 1.127 2003/03/02 19:08:15 goba Exp $ */
// Print an image for a sized spacer
function spacer($width = 1, $height = 1, $return = false, $align = false, $extras = false)
@@ -198,8 +198,7 @@
function commonHeader($title="",$dont_enclose=0,$headers_gone=0) {
global $MYSITE, $enclosed, $EXPL_LANG, $SIDEBAR_DATA;
-?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
+?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PHP<?php if ($title) echo ": $title";?></title>