Mise à jour + default

This commit is contained in:
Fred Tempez 2021-11-13 08:58:34 +01:00
parent c9679ec4c5
commit c54b9d262d
2 changed files with 10 additions and 2 deletions

View File

@ -692,6 +692,12 @@ if ($this->getData(['core', 'dataVersion']) < 11200) {
$this->setData(['page', $parent, 'shortTitle', $this->getData(['page', $parent, 'title']) ]);
}
// Incorporer les nouveaux champs du header et du menu
$this->setData(['theme', 'header', 'feature', 'wallpaper']);
$this->setData(['theme', 'header', 'featureContent', '<p>Bannière vide</p>']);
$this->setData(['theme', 'header', 'container', 'container']);
$this->setData(['theme', 'menu', 'container', 'container']);
// Mise à jour
$this->setData(['core', 'dataVersion', 11200]);
}

View File

@ -159,7 +159,8 @@ class init extends common {
'imageContainer' => 'auto',
'tinyHidden' => true,
'feature' => 'wallpaper',
'featureContent' => '<p>Bannière vide</p>'
'featureContent' => '<p>Bannière vide</p>',
'container' => 'container'
],
'menu' => [
'backgroundColor' => 'rgba(32, 59, 82, 1)',
@ -181,7 +182,8 @@ class init extends common {
'radius' => '0px',
'memberBar' => true,
'burgerLogo' => '',
'burgerContent' => 'title'
'burgerContent' => 'title',
'container' => 'container'
],
'site' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)',