diff --git a/core/include/update.inc.php b/core/include/update.inc.php index de14e258..2022e271 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -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', '

Bannière vide

']); + $this->setData(['theme', 'header', 'container', 'container']); + $this->setData(['theme', 'menu', 'container', 'container']); + // Mise à jour $this->setData(['core', 'dataVersion', 11200]); } diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 289cff3d..bed64394 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -159,7 +159,8 @@ class init extends common { 'imageContainer' => 'auto', 'tinyHidden' => true, 'feature' => 'wallpaper', - 'featureContent' => '

Bannière vide

' + 'featureContent' => '

Bannière vide

', + '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)',