[9.2.18] Mentions légales dans le site de test

This commit is contained in:
Fred Tempez 2020-02-05 16:47:43 +01:00
parent b46a49eb01
commit e6ce520ea0
2 changed files with 34 additions and 10 deletions

View File

@ -942,7 +942,7 @@ class common {
if($this->getData(['core', 'dataVersion']) < 9200) { 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(['theme','footer','displayLegal', false ]); $this->setData(['theme','footer','displayLegal', !empty($this->getdata(['config','legalPageId'])) ]);
$this->setData(['theme','footer','displaySearch', false ]); $this->setData(['theme','footer','displaySearch', false ]);
$this->setData(['config','social','githubId', '' ]); $this->setData(['config','social','githubId', '' ]);
$this->setData(['core', 'dataVersion', 9200]); $this->setData(['core', 'dataVersion', 9200]);

File diff suppressed because one or more lines are too long