Browse Source

this is better,
<!DOCTYPE... is no longer a style, but more a textual prefix, which it also is...
<HTML> tag incorporated truly

teepe 23 years ago
parent
commit
90b9d38b41
1 changed files with 2 additions and 4 deletions
  1. 2 4
      functions/page_header.php

+ 2 - 4
functions/page_header.php

@@ -299,10 +299,8 @@ function initPage () {
 
 
     global $theme_css, $custom_css, $base_uri;
     global $theme_css, $custom_css, $base_uri;
     $page = new html();
     $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;
     return $page;
 }
 }