Bug déplacement menu à valider
This commit is contained in:
parent
8a7919cf6b
commit
fed8fb6ab1
@ -424,9 +424,11 @@ 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') &&
|
if ( $this->getInput('themeHeaderPosition') &&
|
||||||
$this->getData(['theme','menu','position']) !== 'site' &&
|
$this->getData(['theme','menu','position']) !== 'site' &&
|
||||||
$this->getData(['theme','menu','position']) !== 'top' ) {
|
$this->getData(['theme','menu','position']) !== 'top' )
|
||||||
|
{
|
||||||
|
switch ($this->getInput('themeHeaderPosition')) {
|
||||||
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;
|
||||||
@ -436,6 +438,7 @@ class theme extends common {
|
|||||||
default:
|
default:
|
||||||
$position = $this->getData(['theme','menu','position']);
|
$position = $this->getData(['theme','menu','position']);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$this->setData(['theme', 'menu', [
|
$this->setData(['theme', 'menu', [
|
||||||
'backgroundColor' => $this->getData(['theme', 'menu', 'backgroundColor']),
|
'backgroundColor' => $this->getData(['theme', 'menu', 'backgroundColor']),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user