Bug theme menu
This commit is contained in:
parent
459f55081c
commit
52be6d2997
@ -144,7 +144,6 @@ class init extends common {
|
|||||||
'fontWeight' => 'normal',
|
'fontWeight' => 'normal',
|
||||||
'height' => '15px 10px',
|
'height' => '15px 10px',
|
||||||
'loginLink' => false,
|
'loginLink' => false,
|
||||||
'burgerTitle' => true,
|
|
||||||
'margin' => false,
|
'margin' => false,
|
||||||
'position' => 'site-second',
|
'position' => 'site-second',
|
||||||
'textAlign' => 'left',
|
'textAlign' => 'left',
|
||||||
@ -155,6 +154,7 @@ class init extends common {
|
|||||||
'activeColor' => 'rgba(255, 255, 255, 1)',
|
'activeColor' => 'rgba(255, 255, 255, 1)',
|
||||||
'activeTextColor' => 'rgba(255, 255, 255, 1)',
|
'activeTextColor' => 'rgba(255, 255, 255, 1)',
|
||||||
'radius' => '0px',
|
'radius' => '0px',
|
||||||
|
'burgerTitle' => true,
|
||||||
'memberBar' => true
|
'memberBar' => true
|
||||||
],
|
],
|
||||||
'site' => [
|
'site' => [
|
||||||
|
@ -407,7 +407,6 @@ class theme extends common {
|
|||||||
// Si une image est positionnée, l'arrière en transparent.
|
// Si une image est positionnée, l'arrière en transparent.
|
||||||
$this->setData(['theme', 'header', [
|
$this->setData(['theme', 'header', [
|
||||||
'backgroundColor' => $this->getInput('themeHeaderBackgroundColor'),
|
'backgroundColor' => $this->getInput('themeHeaderBackgroundColor'),
|
||||||
'textTransform' => $this->getInput('themeHeaderTextTransform'),
|
|
||||||
'font' => $this->getInput('themeHeaderFont'),
|
'font' => $this->getInput('themeHeaderFont'),
|
||||||
'fontSize' => $this->getInput('themeHeaderFontSize'),
|
'fontSize' => $this->getInput('themeHeaderFontSize'),
|
||||||
'fontWeight' => $this->getInput('themeHeaderFontWeight'),
|
'fontWeight' => $this->getInput('themeHeaderFontWeight'),
|
||||||
@ -420,6 +419,7 @@ class theme extends common {
|
|||||||
'textAlign' => $this->getInput('themeHeaderTextAlign'),
|
'textAlign' => $this->getInput('themeHeaderTextAlign'),
|
||||||
'textColor' => $this->getInput('themeHeaderTextColor'),
|
'textColor' => $this->getInput('themeHeaderTextColor'),
|
||||||
'textHide' => $this->getInput('themeHeaderTextHide', helper::FILTER_BOOLEAN),
|
'textHide' => $this->getInput('themeHeaderTextHide', helper::FILTER_BOOLEAN),
|
||||||
|
'textTransform' => $this->getInput('themeHeaderTextTransform'),
|
||||||
'linkHomePage' => $this->getInput('themeHeaderlinkHomePage',helper::FILTER_BOOLEAN),
|
'linkHomePage' => $this->getInput('themeHeaderlinkHomePage',helper::FILTER_BOOLEAN),
|
||||||
'imageContainer' => $this->getInput('themeHeaderImageContainer')
|
'imageContainer' => $this->getInput('themeHeaderImageContainer')
|
||||||
]]);
|
]]);
|
||||||
@ -436,8 +436,10 @@ 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']),
|
||||||
|
'backgroundColorSub' => $this->getData(['theme', 'menu', 'backgroundColorSub']),
|
||||||
'font' => $this->getData(['theme', 'menu', 'font']),
|
'font' => $this->getData(['theme', 'menu', 'font']),
|
||||||
'fontSize' => $this->getData(['theme', 'menu', 'fontSize']),
|
'fontSize' => $this->getData(['theme', 'menu', 'fontSize']),
|
||||||
'fontWeight' => $this->getData(['theme', 'menu', 'fontWeight']),
|
'fontWeight' => $this->getData(['theme', 'menu', 'fontWeight']),
|
||||||
@ -451,8 +453,9 @@ class theme extends common {
|
|||||||
'fixed' => $this->getData(['theme','menu','fixed']),
|
'fixed' => $this->getData(['theme','menu','fixed']),
|
||||||
'activeColorAuto' => $this->getData(['theme','menu','activeColorAuto']),
|
'activeColorAuto' => $this->getData(['theme','menu','activeColorAuto']),
|
||||||
'activeColor' => $this->getData(['theme','menu','activeColor']),
|
'activeColor' => $this->getData(['theme','menu','activeColor']),
|
||||||
|
'activeTextColor' => $this->getData(['theme','menu','activeTextColor']),
|
||||||
'radius' => $this->getData(['theme','menu','radius']),
|
'radius' => $this->getData(['theme','menu','radius']),
|
||||||
'burgerTitle' => $this->getData(['theme','menu','burgerTitle'])
|
'memberBar' => $this->getData(['theme','menu','memberBar'])
|
||||||
]]);
|
]]);
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
|
Loading…
Reference in New Issue
Block a user