diff --git a/CHANGES.md b/CHANGES.md index 2989b82c..675d4fdc 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,7 @@ ## Version 13.0.04 # Corrections - Corrige un bug de sécurité. Lorsqu'un profil dispose des droits d'accès au gestionnaire de fichiers et qu'aucun dossier est sélectionné, la racine du site était affichée. +- Corrige un problème d'affichage des commentaires des profils dans l'édition d'un compte. - Erreur d'édition d'un profil de niveau 1, exemple membre simple. - Le profil de membre simple affichait le gestionnaire de fichiers dans tous les cas. - Importation d'utilisateurs en masse, le bouton de téléchargement d'un modèle était inopérant. diff --git a/core/module/user/view/add/add.php b/core/module/user/view/add/add.php index bb513ecc..24245783 100644 --- a/core/module/user/view/add/add.php +++ b/core/module/user/view/add/add.php @@ -82,7 +82,7 @@
-
+

diff --git a/core/module/user/view/edit/edit.php b/core/module/user/view/edit/edit.php index 0d3585d9..26c03c6a 100644 --- a/core/module/user/view/edit/edit.php +++ b/core/module/user/view/edit/edit.php @@ -37,7 +37,7 @@
'off', - 'disabled' => $this->getUser('group') > self::GROUP_EDITOR ? false : true, + 'disabled' => $this->getUser('group') > self::GROUP_EDITOR ? false : true, 'label' => 'Nom', 'value' => $this->getData(['user', $this->getUrl(2), 'lastname']) ]); ?> @@ -98,13 +98,13 @@

-
+

-
+
getUser('group') === self::GROUP_ADMIN): ?> ($this->getUrl(2) === $this->getUser('id')), @@ -112,19 +112,21 @@ 'label' => 'Groupe', 'selected' => $this->getData(['user', $this->getUrl(2), 'group']), ]); ?> + + $this->getData(['user', $this->getUrl(2), 'group']) + ]); ?>
-
-
+
+
'Profil', 'selected' => $this->getData(['user', $this->getUrl(2), 'profil']), 'disabled' => $this->getUser('group') !== self::GROUP_ADMIN, ]); ?>
-
+
'Profil', 'selected' => $this->getData(['user', $this->getUrl(2), 'profil']), @@ -134,33 +136,33 @@
-
-
- implode("\n", $module::$userProfilsComments[self::GROUP_MEMBER]), - 'disabled' => $this->getUser('group') !== self::GROUP_ADMIN, - ]); - ?> -
-
- implode("\n", $module::$userProfilsComments[self::GROUP_EDITOR]), - 'disabled' => $this->getUser('group') !== self::GROUP_ADMIN, - ]); - ?> -
-
- 'Commentaire', - "value" => implode("\n", $module::$userProfilsComments[self::GROUP_ADMIN]), - 'disabled' => $this->getUser('group') !== self::GROUP_ADMIN, - ]); - ?> -
+
+ 'Commentaire', + 'value' => implode("\n", $module::$userProfilsComments[self::GROUP_MEMBER]), + 'disabled' => true, + + ]); + ?>
+
+ 'Commentaire', + 'value' => implode("\n", $module::$userProfilsComments[self::GROUP_EDITOR]), + 'disabled' => true, + + ]); + ?> +
+
+ 'Commentaire', + 'value' => implode("\n", $module::$userProfilsComments[self::GROUP_ADMIN]), + 'disabled' => true, + ]); + ?> +
+