agenda encore groupes du core
This commit is contained in:
parent
fcb5deb2fa
commit
f654615ec5
@ -1126,13 +1126,13 @@ class agenda extends common
|
||||
) {
|
||||
switch ($this->getUser('group')) {
|
||||
case 0:
|
||||
array_splice(self::$groupe, 1);
|
||||
array_splice(self::$groupPublics, 1);
|
||||
break;
|
||||
case 1:
|
||||
array_splice(self::$groupe, 2);
|
||||
array_splice(self::$groupPublics, 2);
|
||||
break;
|
||||
case 2:
|
||||
array_splice(self::$groupe, 3);
|
||||
array_splice(self::$groupPublics, 3);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ if(! is_dir($module::DATAMODULE.'data/'.$this->getUrl(0))){ $readonly = true;}el
|
||||
<div class="block">
|
||||
<h4>Gérer les droits</h4>
|
||||
<div class="col6">
|
||||
<?php echo template::select('config_droit_creation', $module::$groupe, [
|
||||
<?php echo template::select('config_droit_creation', $module::$groupNews, [
|
||||
'help' => 'Vous sélectionner ici le groupe à partir duquel il sera possible de créer un évènement dans l\'agenda',
|
||||
'id' => 'config_droit_creation',
|
||||
'disabled' => $readonly,
|
||||
|
Loading…
Reference in New Issue
Block a user