From eb98ffdc16489180d2652adaef013513c7f6b982 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 24 Mar 2019 14:22:19 +0100 Subject: [PATCH] [9.0.11] disparition du menu --- core/core.php | 2 +- core/module/theme/theme.php | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 9d3a10cb..b99cbce2 100644 --- a/core/core.php +++ b/core/core.php @@ -28,7 +28,7 @@ class common { const GROUP_ADMIN = 3; // Numéro de version stable - const ZWII_VERSION = '9.0.10'; + const ZWII_VERSION = '9.0.11'; public static $actions = []; public static $coreModuleIds = [ diff --git a/core/module/theme/theme.php b/core/module/theme/theme.php index 685f7681..1b115390 100755 --- a/core/module/theme/theme.php +++ b/core/module/theme/theme.php @@ -334,7 +334,9 @@ class theme extends common { 'imageContainer' => $this->getInput('themeHeaderImageContainer') ]]); // Modification de la position du menu selon la position de la bannière - switch ($this->getInput('themeHeaderPosition')) { + switch ($this->getInput('themeHeaderPosition') && + $this->getData(['theme','menu','position']) !== 'site' && + $this->getData(['theme','menu','position']) !== 'top' ) { case 'site' : $position = str_replace ('body','site',$this->getData(['theme','menu','position'])); break;