From: <var...@us...> - 2011-01-13 13:55:59
|
Revision: 7827 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7827&view=rev Author: vargenau Date: 2011-01-13 13:55:52 +0000 (Thu, 13 Jan 2011) Log Message: ----------- Do not care about dead browsers Modified Paths: -------------- trunk/themes/Sidebar/templates/html.tmpl trunk/themes/default/templates/html.tmpl Modified: trunk/themes/Sidebar/templates/html.tmpl =================================================================== --- trunk/themes/Sidebar/templates/html.tmpl 2011-01-11 12:52:54 UTC (rev 7826) +++ trunk/themes/Sidebar/templates/html.tmpl 2011-01-13 13:55:52 UTC (rev 7827) @@ -1,12 +1,9 @@ <?php // -*-php-*- -// rcs_id('$Id$'); +// $Id$ /* * This template is responsible mainly for the outer level <html> stuff. - * - * NS/MO/IE/Op Browsers before 4.0 don't like the xml pi. */ -if (browserVersion() >= 4.0) - echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?", ">\n"; +echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?", ">\n"; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html <?php /* xmlns="http://www.w3.org/1999/xhtml" */ ?> xml:lang="<?php echo $GLOBALS['LANG']?>" lang="<?php echo $GLOBALS['LANG']?>"> Modified: trunk/themes/default/templates/html.tmpl =================================================================== --- trunk/themes/default/templates/html.tmpl 2011-01-11 12:52:54 UTC (rev 7826) +++ trunk/themes/default/templates/html.tmpl 2011-01-13 13:55:52 UTC (rev 7827) @@ -1,12 +1,9 @@ <?php // -*-php-*- -// rcs_id('$Id$'); +// $Id$' /* * This template is responsible mainly for the outer level <html> stuff. - * - * NS/MO/IE/Op Browsers before 4.0 don't like that. */ -if (browserVersion() >= 4.0) - echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?", ">\n"; +echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?", ">\n"; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['LANG']?>" lang="<?php echo $GLOBALS['LANG']?>"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |