Remplir le footer par défaut

This commit is contained in:
fredtempez 2019-01-19 23:37:14 +01:00
parent ea232cfeb9
commit 74af9af2ca
1 changed files with 9 additions and 9 deletions

View File

@ -47,7 +47,7 @@ class common {
'maintenance' => false, 'maintenance' => false,
'metaDescription' => 'Zwii est un CMS sans base de données qui permet à ses utilisateurs de créer et gérer facilement un site web sans aucune connaissance en programmation.', 'metaDescription' => 'Zwii est un CMS sans base de données qui permet à ses utilisateurs de créer et gérer facilement un site web sans aucune connaissance en programmation.',
'social' => [ 'social' => [
'facebookId' => '', 'facebookId' => 'ZwiiCMS',
'googleplusId' => '', 'googleplusId' => '',
'instagramId' => '', 'instagramId' => '',
'pinterestId' => '', 'pinterestId' => '',
@ -353,18 +353,18 @@ class common {
], ],
'footer' => [ 'footer' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)', 'backgroundColor' => 'rgba(255, 255, 255, 1)',
'copyrightAlign' => 'center',
'height' => '10px', 'height' => '10px',
'loginLink' => true, 'loginLink' => true,
'margin' => false, 'margin' => false,
'position' => 'site', 'position' => 'site',
'socialsAlign' => 'center',
'text' => '',
'textAlign' => 'center',
'textColor' => 'rgba(33, 34, 35, 1)', 'textColor' => 'rgba(33, 34, 35, 1)',
'copyrightPosition' => 'center', 'copyrightPosition' => 'center',
'textPosition' => 'hide', 'copyrightAlign' => 'center',
'socialsPosition' => 'hide' 'text' => 'Pied de page personnalisé',
'textPosition' => 'left',
'textAlign' => 'left',
'socialsPosition' => 'right',
'socialsAlign' => 'right'
], ],
'header' => [ 'header' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)', 'backgroundColor' => 'rgba(255, 255, 255, 1)',
@ -1022,8 +1022,8 @@ class common {
} }
// Version 8.4.4 // Version 8.4.4
if($this->getData(['core', 'dataVersion']) < 844) { if($this->getData(['core', 'dataVersion']) < 844) {
$this->setData(['theme','footer','socialsPosition','none']); $this->setData(['theme','footer','socialsPosition','right']);
$this->setData(['theme','footer','textPosition','none']); $this->setData(['theme','footer','textPosition','left']);
$this->setData(['theme','footer','copyrightPosition','center']); $this->setData(['theme','footer','copyrightPosition','center']);
$this->setData(['core', 'dataVersion', 844]); $this->setData(['core', 'dataVersion', 844]);
$this->SaveData(); $this->SaveData();