From 89c1012564b32255c89857d9dcfa638343f37fa7 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 20 Jan 2023 10:39:42 +0100 Subject: [PATCH] 12.1.02 fix banner --- CHANGES.md | 4 ++++ LISEZMOI.md | 2 +- README.md | 2 +- core/core.php | 2 +- core/layout/main.php | 4 ++-- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b2cb3f83..9028fedf 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## Version 12.1.02 +### Correction : +- Corrige une bannière non cliquable lorsque placée hors du site. + ## Version 12.1.01 ### Correction : - Défaut d'initialisation du générateur de nombre aléatoire utilisé pour le choix des nombres du captcha. diff --git a/LISEZMOI.md b/LISEZMOI.md index a53e7439..aeeae1b7 100644 --- a/LISEZMOI.md +++ b/LISEZMOI.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.1.01 +# ZwiiCMS 12.1.02 Zwii 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. diff --git a/README.md b/README.md index bed27723..554f60de 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ZwiiCMS 12.1.01 +# ZwiiCMS 12.1.02 Zwii is a database-less (flat-file) CMS that allows you to easily create and manage a web site without any programming knowledge. diff --git a/core/core.php b/core/core.php index 4c8c7991..e1fa579e 100644 --- a/core/core.php +++ b/core/core.php @@ -53,7 +53,7 @@ class common const ZWII_UI_URL = 'https://forge.chapril.org/ZwiiCMS-Team/zwiicms-translations/raw/branch/master/'; // Numéro de version et branche pour l'autoupdate - const ZWII_VERSION = '12.1.01'; + const ZWII_VERSION = '12.1.02'; const ZWII_UPDATE_CHANNEL = "v12"; public static $actions = []; diff --git a/core/layout/main.php b/core/layout/main.php index c14fee76..784f4e47 100644 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -70,13 +70,13 @@ getData(['theme', 'header', 'position']) === 'body') : ?> + getData(['theme', 'header', 'linkHomePage']) && $this->getData(['theme', 'header', 'feature']) === 'wallpaper') ? '' : ''; ?> getData(['theme', 'header', 'position']) === 'hide' ? 'displayNone' : ''; $headerClass .= $this->getData(['theme', 'header', 'tinyHidden']) ? ' bannerDisplay ' : ''; $headerClass .= $this->getData(['theme', 'header', 'wide']) === 'none' ? '' : 'container'; ?>
> - getData(['theme', 'header', 'linkHomePage']) && $this->getData(['theme', 'header', 'feature']) === 'wallpaper') ? '' : ''; ?> getData(['theme', 'header', 'feature']) === 'wallpaper') : ?> getData(['theme', 'header', 'textHide']) === false @@ -92,8 +92,8 @@ getData(['theme', 'header', 'featureContent']); ?> - getData(['theme', 'header', 'linkHomePage']) && $this->getData(['theme', 'header', 'feature']) === 'wallpaper') ? '' : ''; ?>
+ getData(['theme', 'header', 'linkHomePage']) && $this->getData(['theme', 'header', 'feature']) === 'wallpaper') ? '' : ''; ?> getData(['theme', 'menu', 'position']) === 'body-second') : ?>