From ca3f4a09f42ab208ddda2569dc183f7c21c9de94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sun, 30 Nov 2014 13:07:13 +0100 Subject: [PATCH] Update main.inc.php --- htdocs/main.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 54b0a68db19..b7d57719220 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -959,12 +959,12 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs if (empty($conf->css)) $conf->css = '/theme/eldy/style.css.php'; // If not defined, eldy by default - if (empty($conf->global->MAIN_ACTIVATE_HTML5)) print ''; - //print ''; - //print ''; - //print ''; - if ($conf->global->MAIN_FEATURES_LEVEL == 2 || ! empty($conf->global->MAIN_ACTIVATE_HTML5)) print ''; // Html5 - Developement - Only available on Eldy template - print "\n"; + if (empty($conf->global->MAIN_ACTIVATE_HTML5)) { + $doctype = ''; + }else { + $doctype = ''; // Html5 - Developement - Only available on Eldy template + } + print $doctype."\n"; if (! empty($conf->global->MAIN_USE_CACHE_MANIFEST)) print ''."\n"; else print ''."\n"; //print ''."\n";