(when talking in the language of html.class)
With this change, there is no </!DOCTYPE tag, which is not only more elegant, but also allows the pages to validate :-)
Marc, Could you look into my comments on the addChild('HTML') issue?
I assume you want the doc to look like this, right?
<!DOCTYPE blah>
<html>
<head>
blah
</head>
<body>
blah
</body>
</html>
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3097
7612ce4b-ef26-0410-bec9-
ea0150e637f0
global $theme_css, $custom_css, $base_uri;
$page = new html();
- $page->addChild('!DOCTYPE','','','','',
- array('HTML','PUBLIC', '"-//W3C//DTD HTML 4.0 Transitional//EN"'));
+ $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'); */
return $page;
}