diff --git a/CHANGES.md b/CHANGES.md index a6545922..75d57029 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,10 @@ # Changelog + +## Version 11.2.06 +- Modification : + - Thème / Bannière : ergonomie de l'information sur l'image sélectionnée. + ## 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 d75c3576..b3e6d81a 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 = []; 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 : - -
-