From 30bff7ef28d9c2f6bf0eb5e3e95f64a504247d51 Mon Sep 17 00:00:00 2001 From: aspangaro Date: Sat, 29 Nov 2014 07:12:12 +0100 Subject: [PATCH] Need to enable MAIN_ACTIVATE_HTML5 to insert meta balise viewport --- htdocs/main.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 199436eae65..54b0a68db19 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -8,7 +8,7 @@ * Copyright (C) 2011-2014 Philippe Grand * Copyright (C) 2008 Matteli * Copyright (C) 2011-2013 Juanjo Menent - * Copyright (C) 2012 Christophe Battarel + * Copyright (C) 2012 Christophe Battarel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -975,7 +975,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs // Displays meta print ''."\n"; // Evite indexation par robots print ''."\n"; - print ''."\n"; // Needed for Responsive Web Design + if ($conf->global->MAIN_FEATURES_LEVEL == 2 || ! empty($conf->global->MAIN_ACTIVATE_HTML5)) print ''."\n"; // Needed for Responsive Web Design $favicon=dol_buildpath('/theme/'.$conf->theme.'/img/favicon.ico',1); if (! empty($conf->global->MAIN_FAVICON_URL)) $favicon=$conf->global->MAIN_FAVICON_URL; print ''."\n";