forked from ZwiiCMS-Team/ZwiiCMS
[9.0.11] disparition du menu
This commit is contained in:
parent
9024a57594
commit
eb98ffdc16
@ -28,7 +28,7 @@ class common {
|
|||||||
const GROUP_ADMIN = 3;
|
const GROUP_ADMIN = 3;
|
||||||
|
|
||||||
// Numéro de version stable
|
// Numéro de version stable
|
||||||
const ZWII_VERSION = '9.0.10';
|
const ZWII_VERSION = '9.0.11';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
|
@ -334,7 +334,9 @@ class theme extends common {
|
|||||||
'imageContainer' => $this->getInput('themeHeaderImageContainer')
|
'imageContainer' => $this->getInput('themeHeaderImageContainer')
|
||||||
]]);
|
]]);
|
||||||
// Modification de la position du menu selon la position de la bannière
|
// 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' :
|
case 'site' :
|
||||||
$position = str_replace ('body','site',$this->getData(['theme','menu','position']));
|
$position = str_replace ('body','site',$this->getData(['theme','menu','position']));
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user