From 93c13f3f163c2a5563cde9664c26d0c0d4455f2c Mon Sep 17 00:00:00 2001 From: fredtempez Date: Mon, 12 Apr 2021 18:29:10 +0200 Subject: [PATCH] 10503 bug smtp --- CHANGES.md | 4 ++ README.md | 2 +- core/core.php | 2 +- .../config/view/advanced/advanced.js.php | 44 +++++++++---------- core/module/config/view/advanced/advanced.php | 4 +- 5 files changed, 30 insertions(+), 26 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 480b46a3..94370aa6 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changelog +## version 10.5.03 +- Correction : + - Options de configuration SMTP invisibles. + ## version 10.5.02 - Corrections : - Erreur de positionnement de marge dans le thème du site. diff --git a/README.md b/README.md index 45e8d589..80eb8988 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# ZwiiCMS 10.5.02 +# ZwiiCMS 10.5.03 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 3ae75036..ca748022 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.5.02'; + const ZWII_VERSION = '10.5.03'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/module/config/view/advanced/advanced.js.php b/core/module/config/view/advanced/advanced.js.php index cc6664e6..903e0fc5 100644 --- a/core/module/config/view/advanced/advanced.js.php +++ b/core/module/config/view/advanced/advanced.js.php @@ -14,24 +14,24 @@ $( document).ready(function() { /** * Afficher et masquer options SMTP */ - if ($("input[name=configSmtpEnable]").is(':checked')) { - $("#configSmtpParam").addClass("disabled"); - $("#configSmtpParam").slideDown(); + if ($("input[name=configAdvancedSmtpEnable]").is(':checked')) { + $("#configAdvancedSmtpParam").addClass("disabled"); + $("#configAdvancedSmtpParam").slideDown(); } else { - $("#configSmtpParam").removeClass("disabled"); - $("#configSmtpParam").slideUp(); + $("#configAdvancedSmtpParam").removeClass("disabled"); + $("#configAdvancedSmtpParam").slideUp(); } /** * Afficher et masquer options Auth */ - if ($("select[name=configSmtpAuth]").val() == true) { - $("#configSmtpAuthParam").addClass("disabled"); - $("#configSmtpAuthParam").slideDown(); + if ($("select[name=configAdvancedSmtpEnable]").val() == true) { + $("#configAdvancedSmtpAuthParam").addClass("disabled"); + $("#configAdvancedSmtpAuthParam").slideDown(); } else { - $("#configSmtpAuthParam").removeClass("disabled"); - $("#configSmtpAuthParam").slideUp(); + $("#configAdvancedSmtpAuthParam").removeClass("disabled"); + $("#configAdvancedSmtpAuthParam").slideUp(); } @@ -72,13 +72,13 @@ $( document).ready(function() { /** * Afficher et masquer options SMTP */ - $("input[name=configSmtpEnable]").on("change", function() { - if ($("input[name=configSmtpEnable]").is(':checked')) { - $("#configSmtpParam").addClass("disabled"); - $("#configSmtpParam").slideDown(); + $("input[name=configAdvancedSmtpEnable]").on("change", function() { + if ($("input[name=configAdvancedSmtpEnable]").is(':checked')) { + $("#configAdvancedSmtpParam").addClass("disabled"); + $("#configAdvancedSmtpParam").slideDown(); } else { - $("#configSmtpParam").removeClass("disabled"); - $("#configSmtpParam").slideUp(); + $("#configAdvancedSmtpParam").removeClass("disabled"); + $("#configAdvancedSmtpParam").slideUp(); } }); @@ -86,13 +86,13 @@ $( document).ready(function() { * Afficher et masquer options Auth */ - $("select[name=configSmtpAuth]").on("change", function() { - if ($("select[name=configSmtpAuth]").val() == true) { - $("#configSmtpAuthParam").addClass("disabled"); - $("#configSmtpAuthParam").slideDown(); + $("select[name=configAdvancedSmtpAuth]").on("change", function() { + if ($("select[name=configAdvancedSmtpAuth]").val() == true) { + $("#configAdvancedSmtpAuthParam").addClass("disabled"); + $("#configAdvancedSmtpAuthParam").slideDown(); } else { - $("#configSmtpAuthParam").removeClass("disabled"); - $("#configSmtpAuthParam").slideUp(); + $("#configAdvancedSmtpAuthParam").removeClass("disabled"); + $("#configAdvancedSmtpAuthParam").slideUp(); } }); diff --git a/core/module/config/view/advanced/advanced.php b/core/module/config/view/advanced/advanced.php index 0d11fe06..48ce0162 100644 --- a/core/module/config/view/advanced/advanced.php +++ b/core/module/config/view/advanced/advanced.php @@ -413,7 +413,7 @@ ]); ?> -
+
-
+