diff --git a/e107_themes/templates/header_default.php b/e107_themes/templates/header_default.php index efb5b3558..9f3a5faba 100644 --- a/e107_themes/templates/header_default.php +++ b/e107_themes/templates/header_default.php @@ -2,16 +2,14 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2011 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * Default Header * - * $Source: /cvs_backup/e107_0.8/e107_themes/templates/header_default.php,v $ - * $Revision$ - * $Date$ - * $Author$ + * $URL$ + * $Id$ */ if (!defined('e107_INIT')) { exit; } @@ -85,14 +83,23 @@ if (!function_exists("parseheader")) { //else header("Content-type: text/html; charset=utf-8", TRUE); - -echo (defined("STANDARDS_MODE") ? "" : "\n")."\n"; +// NEW - HTML5 support +// TODO - more precise controlo over page header depending on the HTML5 mode +// 'HTML5_MOD' - to be defined by themes; 'HTML5_FORCE' - a way to force a single page to use HTML5 +if(defined('HTML5_MOD') || defined('HTML5_FORCE')) +{ + echo "\n"; +} +else +{ + echo (defined("STANDARDS_MODE") ? "" : "\n")."\n"; + echo "\n"; +} // // C: Send start of HTML // -echo " - +echo " ";