forked from ZwiiCMS-Team/ZwiiCMS
059 User edit Autorisations est masqué quand inutile
This commit is contained in:
parent
4e27765e12
commit
179c1b5ca0
@ -37,7 +37,7 @@ class common {
|
|||||||
const THUMBS_WIDTH = 320;
|
const THUMBS_WIDTH = 320;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.058';
|
const ZWII_VERSION = '10.0.059';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
@ -16,4 +16,9 @@
|
|||||||
$("#userEditGroup").on("change", function() {
|
$("#userEditGroup").on("change", function() {
|
||||||
$(".userEditGroupDescription").hide();
|
$(".userEditGroupDescription").hide();
|
||||||
$("#userEditGroupDescription" + $(this).val()).show();
|
$("#userEditGroupDescription" + $(this).val()).show();
|
||||||
|
if ($("#userEditGroup option:selected").val() < 0) {
|
||||||
|
$("#userEditLabelAuth").css("display","none");
|
||||||
|
} else {
|
||||||
|
$("#userEditLabelAuth").css("display","inline-block");
|
||||||
|
}
|
||||||
}).trigger("change");
|
}).trigger("change");
|
@ -53,7 +53,7 @@
|
|||||||
'label' => 'Groupe',
|
'label' => 'Groupe',
|
||||||
'selected' => $this->getData(['user', $this->getUrl(2), 'group'])
|
'selected' => $this->getData(['user', $this->getUrl(2), 'group'])
|
||||||
]); ?>
|
]); ?>
|
||||||
Autorisations :
|
<div id="userEditLabelAuth">Autorisations :</div>
|
||||||
<ul id="userEditGroupDescription<?php echo self::GROUP_MEMBER; ?>" class="userEditGroupDescription displayNone">
|
<ul id="userEditGroupDescription<?php echo self::GROUP_MEMBER; ?>" class="userEditGroupDescription displayNone">
|
||||||
<li>Accès aux pages privées membres</li>
|
<li>Accès aux pages privées membres</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user