[9.2.00] defaultdata settings
This commit is contained in:
parent
b6051bda0d
commit
471cc0d8eb
@ -934,13 +934,16 @@ class common {
|
|||||||
$this->setData(['core', 'dataVersion', 9100]);
|
$this->setData(['core', 'dataVersion', 9100]);
|
||||||
$this->SaveData();
|
$this->SaveData();
|
||||||
}
|
}
|
||||||
// Version 9.1.13
|
// Version 9.2.00
|
||||||
if($this->getData(['core', 'dataVersion']) < 9113) {
|
if($this->getData(['core', 'dataVersion']) < 9200) {
|
||||||
$this->setData(['theme','footer','template', 3 ]);
|
$this->setData(['theme','footer','template', 3 ]);
|
||||||
$this->setData(['theme','footer','margin', true ]);
|
$this->setData(['theme','footer','margin', true ]);
|
||||||
$this->setData(['core', 'dataVersion', 9113]);
|
$this->setData(['theme','footer','displayLegal', false ]);
|
||||||
|
$this->setData(['theme','footer','displaySearch', false ]);
|
||||||
|
$this->setData(['config','social','githubId', '' ]);
|
||||||
|
$this->setData(['core', 'dataVersion', 9200]);
|
||||||
$this->SaveData();
|
$this->SaveData();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1972,12 +1975,12 @@ class layout extends common {
|
|||||||
$items .= '</span>';
|
$items .= '</span>';
|
||||||
// Affichage du sitemap
|
// Affichage du sitemap
|
||||||
$items .= '<span id="footerDisplaySiteMap"';
|
$items .= '<span id="footerDisplaySiteMap"';
|
||||||
$items .= $this->getData(['theme','footer','displaySiteMap']) === false? ' class="displayNone"' : '';
|
$items .= $this->getData(['theme','footer','displaySiteMap']) === false ? ' class="displayNone"' : '';
|
||||||
$items .= '><wbr> | <a href="' . helper::baseUrl() . 'sitemap" data-tippy-content="Plan du site" >Plan du site</a>';
|
$items .= '><wbr> | <a href="' . helper::baseUrl() . 'sitemap" data-tippy-content="Plan du site" >Plan du site</a>';
|
||||||
$items .= '</span>';
|
$items .= '</span>';
|
||||||
// Affichage du module de recherche
|
// Affichage du module de recherche
|
||||||
$items .= '<span id="footerDisplaySearch"';
|
$items .= '<span id="footerDisplaySearch"';
|
||||||
$items .= $this->getData(['theme','footer','displaySearch']) === false? ' class="displayNone"' : '';
|
$items .= $this->getData(['theme','footer','displaySearch']) === false ? ' class="displayNone"' : '';
|
||||||
$items .= '><wbr> | <a href="' . helper::baseUrl() . 'search" data-tippy-content="Rechercher dans le site" >Rechercher</a>';
|
$items .= '><wbr> | <a href="' . helper::baseUrl() . 'search" data-tippy-content="Rechercher dans le site" >Rechercher</a>';
|
||||||
$items .= '</span>';
|
$items .= '</span>';
|
||||||
// Affichage des mentions légales
|
// Affichage des mentions légales
|
||||||
|
@ -440,7 +440,8 @@ class install extends common {
|
|||||||
'displayVersion' => true,
|
'displayVersion' => true,
|
||||||
'displaySiteMap' => true,
|
'displaySiteMap' => true,
|
||||||
'displayCopyright' => true,
|
'displayCopyright' => true,
|
||||||
'displayLegal' => false,
|
'displayLegal' => false,
|
||||||
|
'displaySearch' => false,
|
||||||
'template' => '3'
|
'template' => '3'
|
||||||
],
|
],
|
||||||
'header' => [
|
'header' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user