From 7a02b8524d13e4d40c8d077ad8f43fe52f43f744 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 10 Dec 2019 17:36:13 +0100 Subject: [PATCH] =?UTF-8?q?[9.2.15]=20correction=20update=20=20+=20titre?= =?UTF-8?q?=20dans=20menu=20r=C3=A9duit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 6 +++++ core/layout/common.css | 7 ++++++ core/layout/main.php | 24 +++++++++++++++---- core/module/install/ressource/defaultdata.php | 4 +++- core/module/theme/theme.php | 3 ++- core/module/theme/view/menu/menu.php | 18 ++++++++++---- 6 files changed, 52 insertions(+), 10 deletions(-) diff --git a/core/core.php b/core/core.php index f9c0496c..392b5283 100644 --- a/core/core.php +++ b/core/core.php @@ -1031,6 +1031,12 @@ class common { $this->setData(['core', 'dataVersion', 9212]); $this->saveData(); } + // Version 9.2.15 + if($this->getData(['core', 'dataVersion']) < 9215) { + // Données de la barre de langue dans le menu + $this->setData(['theme','menu','burgerTitle',true]); + $this->setData(['core', 'dataVersion', 9215]); + } } } diff --git a/core/layout/common.css b/core/layout/common.css index 75767d97..57974d87 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -434,10 +434,17 @@ nav #toggle { display: none; font-weight: bold; } + nav #toggle span { display: block; } +nav #burgerText { + float: left; + font-size: 1.4em; + margin: 15px 0 0 10px; +} + nav ul { padding: 0; margin: 0; diff --git a/core/layout/main.php b/core/layout/main.php index f1239d70..79f0e187 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -37,7 +37,11 @@ } ?> > -
+
+ getData(['theme','menu','burgerTitle']) === true ): ?> +
getData(['config','title']);?>
+ +