this is better,
authorteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 14 Jul 2002 16:03:13 +0000 (16:03 +0000)
committerteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 14 Jul 2002 16:03:13 +0000 (16:03 +0000)
<!DOCTYPE... is  no longer a style, but more a textual prefix, which it also is...
<HTML> tag incorporated truly

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3098 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php

index 59efe1ef96c6200f0d1516c36260b185cc3587c1..0e00bf88c6157a54af8d965fffd039a8f34b2889 100644 (file)
@@ -299,10 +299,8 @@ function initPage () {
 
     global $theme_css, $custom_css, $base_uri;
     $page = new html();
-    $page->addChild('','',array('!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"' => false),'','','');
-    $html = new html('html');
-    $html->addChild('HTML');
-/* shouldn't the last two lines be just this line?    $page->addChild('HTML'); */
+    $page->addChild('','<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');
+    $page->addChild('HTML');
     return $page;
 }