diff --git a/core/include/update.inc.php b/core/include/update.inc.php index c0d674f6..fcdf367a 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -661,5 +661,13 @@ if ($this->getData(['core', 'dataVersion']) < 11100) { // Anonymat des adresses iP de la journalisation $this->setData(['config', 'connect', 'anonymousIp', 2 ]); + // Nouvelles options de contenu pour les écrans réduits + if ($this->getData(['theme', 'menu', 'burgerTitle'])) { + $this->setData(['theme', 'menu', 'burgerContent', 'title']); + } else { + $this->setData(['theme', 'menu', 'burgerContent', 'none']); + } + $this->setData(['theme', 'menu', 'burgerLogo', '']); + $this->setData(['core', 'dataVersion', 11100]); } \ No newline at end of file diff --git a/core/layout/main.php b/core/layout/main.php index 66c37ade..423fcd7c 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -48,7 +48,8 @@ ?>
- getData(['theme','menu','burgerTitle']) ? '
' . $this->getData(['locale', 'title']) . '
' : '' ;?> + getData(['theme','menu','burgerContent']) === 'title' ? '
' . $this->getData(['locale', 'title']) . '
' : '' ;?> + getData(['theme','menu','burgerContent']) === 'logo' ? '' : '' ;?>