Explorar el Código

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

teepe hace 23 años
padre
commit
90b9d38b41
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  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;
     $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;
 }