From c9d4850e9d2bfae824ec5e354f2244782b1aab2f Mon Sep 17 00:00:00 2001 From: Deltacms Date: Wed, 7 Jun 2023 08:44:54 +0200 Subject: [PATCH] maj 4408 --- CHANGES.md | 4 ++++ README.md | 2 +- core/include/update.inc.php | 4 ++-- core/module/install/ressource/defaultdata.php | 2 +- core/module/theme/view/index/index.js.php | 5 ++++- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 32e4ef3..90ae4f5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## Version 4.4.08 de Deltacms +- Correction : + - Thème / bannière : perte de contrôle du thème si la case 'Masquer la bannière en écran réduit' était décochée. + ## Version 4.4.07 de Deltacms - Modifications : - Thème / Gestion : possibilité de saisir un nom lors de la sauvegarde ou de l'export d'un thème, diff --git a/README.md b/README.md index 091b899..c8ad7da 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# DeltaCMS 4.4.07 +# DeltaCMS 4.4.08 DeltaCMS est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation. L'administration du site est bilingue anglais ou français, le site peut être rédigé dans une langue quelconque. diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 87d4501..ed50b1f 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -120,8 +120,8 @@ if ($this->getData(['core', 'dataVersion']) < 4406) { // Mise à jour $this->setData(['core', 'dataVersion', 4406]); } -if ($this->getData(['core', 'dataVersion']) < 4407) { +if ($this->getData(['core', 'dataVersion']) < 4408) { // Mise à jour - $this->setData(['core', 'dataVersion', 4407]); + $this->setData(['core', 'dataVersion', 4408]); } ?> diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 4598c2d..23c3e79 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -69,7 +69,7 @@ class init extends common { ] ], 'core' => [ - 'dataVersion' => 4407, + 'dataVersion' => 4408, 'lastBackup' => 0, 'lastClearTmp' => 0, 'lastAutoUpdate' => 0, diff --git a/core/module/theme/view/index/index.js.php b/core/module/theme/view/index/index.js.php index ecc5352..f6d2657 100644 --- a/core/module/theme/view/index/index.js.php +++ b/core/module/theme/view/index/index.js.php @@ -73,7 +73,10 @@ $("section") /** * Affiche le bouton zones cachées en grand écran et en petit écran */ + var tinyHidden = "getData(['theme', 'header', 'tinyHidden']); ?>" ; + console.log( tinyHidden ); + getData(['config', 'i18n', 'langAdmin']) . '/lex_theme.php'); if( $this->getData(['theme', 'header', 'position']) === 'hide' @@ -89,4 +92,4 @@ $("section") $(".showAll").css("display","block"); $(".speechBubble").text(" "); } - \ No newline at end of file +