add Okay
This commit is contained in:
parent
2a87b98d9a
commit
da2c0b6440
@ -94,7 +94,7 @@ class user extends common
|
|||||||
// Profil
|
// Profil
|
||||||
$group = $this->getInput('userAddGroup', helper::FILTER_INT, true);
|
$group = $this->getInput('userAddGroup', helper::FILTER_INT, true);
|
||||||
$profil = null;
|
$profil = null;
|
||||||
if ($group < 1 || $group > 2 ) {
|
if ($group > 1 || $group < 2 ) {
|
||||||
$profil = $this->getInput('userAddProfil' . $group, helper::FILTER_INT);
|
$profil = $this->getInput('userAddProfil' . $group, helper::FILTER_INT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -87,21 +87,19 @@
|
|||||||
<h4>
|
<h4>
|
||||||
<?php echo helper::translate('Permissions'); ?>
|
<?php echo helper::translate('Permissions'); ?>
|
||||||
</h4>
|
</h4>
|
||||||
<div class="row ">
|
<div class="row">
|
||||||
<div class="col6">
|
<div class="col6">
|
||||||
<?php echo template::select('userAddGroup', self::$groupNews, [
|
<?php echo template::select('userAddGroup', self::$groupNews, [
|
||||||
'label' => 'Groupe',
|
'label' => 'Groupe',
|
||||||
'selected' => self::GROUP_MEMBER
|
'selected' => self::GROUP_MEMBER
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col3">
|
<div class="col6">
|
||||||
<div class="userAddGroupDescription displayNone" id="userAddGroupDescription<?php echo self::GROUP_MEMBER; ?>">
|
<div class="userAddGroupDescription displayNone" id="userAddGroupDescription<?php echo self::GROUP_MEMBER; ?>">
|
||||||
<?php echo template::select('userAddProfil' . self::GROUP_MEMBER, $module::$userProfils[self::GROUP_MEMBER], [
|
<?php echo template::select('userAddProfil' . self::GROUP_MEMBER, $module::$userProfils[self::GROUP_MEMBER], [
|
||||||
'label' => 'Profil',
|
'label' => 'Profil',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="col3">
|
|
||||||
<div class="userAddGroupDescription displayNone" id="userAddGroupDescription<?php echo self::GROUP_MODERATOR; ?>">
|
<div class="userAddGroupDescription displayNone" id="userAddGroupDescription<?php echo self::GROUP_MODERATOR; ?>">
|
||||||
<?php echo template::select('userAddProfil' . self::GROUP_MODERATOR, $module::$userProfils[self::GROUP_MODERATOR], [
|
<?php echo template::select('userAddProfil' . self::GROUP_MODERATOR, $module::$userProfils[self::GROUP_MODERATOR], [
|
||||||
'label' => 'Profil',
|
'label' => 'Profil',
|
||||||
|
Loading…
Reference in New Issue
Block a user