From 597a7493e2a6b69c636a391a03b1a69748c04831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Mon, 31 Jan 2022 18:16:37 +0100 Subject: [PATCH 1/3] init 11206 --- CHANGES.md | 4 ++++ README.md | 2 +- core/core.php | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a6545922..56f02193 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog + +## Version 11.2.06 + + ## Version 11.2.05 - Corrections : - Configuration / localisation : Les champs de cookies ne devraient pas être obligatoires lorsque la case à cocher de consentement des cookies n'est pas sélectionnée. diff --git a/README.md b/README.md index d2f9d52d..ba424c5e 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# ZwiiCMS 11.2.05 +# ZwiiCMS 11.2.06 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/core/core.php b/core/core.php index c87c8a14..2edaf76d 100644 --- a/core/core.php +++ b/core/core.php @@ -45,7 +45,7 @@ class common { // Numéro de version const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; - const ZWII_VERSION = '11.2.05'; + const ZWII_VERSION = '11.2.06'; const ZWII_UPDATE_CHANNEL = "v11"; public static $actions = []; From ad692bd9855aa20cfb87935d72e85892f099a575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Mon, 31 Jan 2022 18:49:03 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Informations=20sur=20l'image=20de=20la=20ba?= =?UTF-8?q?nni=C3=A8re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/view/header/header.js.php | 6 ++-- core/module/theme/view/header/header.php | 33 ++++++++++++++++----- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php index dece15cd..07e021db 100644 --- a/core/module/theme/view/header/header.js.php +++ b/core/module/theme/view/header/header.js.php @@ -47,9 +47,9 @@ $("input, select").on("change", function() { var tmpImg = new Image(); tmpImg.onload = function() { // Informations affichées - $("#themeHeaderImageHeight").html(tmpImg.height + "px"); - $("#themeHeaderImageWidth").html(tmpImg.width + "px"); - $("#themeHeaderImageRatio").html(tmpImg.width / tmpImg.height); + $("#themeHeaderImageHeight").val(tmpImg.height + " px"); + $("#themeHeaderImageWidth").val(tmpImg.width + " px"); + $("#themeHeaderImageRatio").val(tmpImg.width / tmpImg.height); // Limiter la hauteur à 600 px if (tmpImg.height > 600) { diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index 60020003..25cf67a4 100644 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -163,6 +163,32 @@ ]); ?> +
+
+ Informations sur l'image : +
+
+ 'Largeur', + 'class' => 'textAlignCenter', + 'disable' => true + ]); ?> +
+
+ 'Hauteur', + 'class' => 'textAlignCenter', + 'disable' => true + ]); ?> +
+
+ 'Ratio (L/H)', + 'class' => 'textAlignCenter', + 'disable' => true + ]); ?> +
+
@@ -192,13 +218,6 @@ ]); ?>
-
-
- - Largeur : | Hauteur : | ratio : - -
-
From cc713f1a1661fca03d2d9e6e2da8e308a86e4086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Mon, 31 Jan 2022 18:50:34 +0100 Subject: [PATCH 3/3] changes --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 56f02193..75d57029 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,7 +2,8 @@ ## Version 11.2.06 - +- Modification : + - Thème / Bannière : ergonomie de l'information sur l'image sélectionnée. ## Version 11.2.05 - Corrections :