From 179c1b5ca0108670581d3275d0467d822fe5d1a3 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 7 Apr 2020 17:15:13 +0200 Subject: [PATCH] =?UTF-8?q?059=20User=20edit=20Autorisations=20est=20masqu?= =?UTF-8?q?=C3=A9=20quand=20inutile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/module/user/view/edit/edit.js.php | 5 +++++ core/module/user/view/edit/edit.php | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index 5ce4cb33..cc718c83 100644 --- a/core/core.php +++ b/core/core.php @@ -37,7 +37,7 @@ class common { const THUMBS_WIDTH = 320; // Numéro de version - const ZWII_VERSION = '10.0.058'; + const ZWII_VERSION = '10.0.059'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/module/user/view/edit/edit.js.php b/core/module/user/view/edit/edit.js.php index 33d0b647..e712a9bc 100755 --- a/core/module/user/view/edit/edit.js.php +++ b/core/module/user/view/edit/edit.js.php @@ -16,4 +16,9 @@ $("#userEditGroup").on("change", function() { $(".userEditGroupDescription").hide(); $("#userEditGroupDescription" + $(this).val()).show(); + if ($("#userEditGroup option:selected").val() < 0) { + $("#userEditLabelAuth").css("display","none"); + } else { + $("#userEditLabelAuth").css("display","inline-block"); + } }).trigger("change"); \ No newline at end of file diff --git a/core/module/user/view/edit/edit.php b/core/module/user/view/edit/edit.php index 9bff48a0..904eddfe 100755 --- a/core/module/user/view/edit/edit.php +++ b/core/module/user/view/edit/edit.php @@ -53,7 +53,7 @@ 'label' => 'Groupe', 'selected' => $this->getData(['user', $this->getUrl(2), 'group']) ]); ?> - Autorisations : +
Autorisations :