Configuration Agenda
This commit is contained in:
parent
39677ca151
commit
0cccc76b8e
|
@ -32,7 +32,14 @@ echo template::formOpen('configuration'); ?>
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="block">
|
||||
<?php
|
||||
if($this->getUser('group') < self::GROUP_MODERATOR) {
|
||||
echo '<div class="displayNone">';
|
||||
}
|
||||
else {
|
||||
echo '<div class="block">';
|
||||
}
|
||||
?>
|
||||
<h4><?php echo $text['agenda_view']['config'][3]; ?></h4>
|
||||
<div class="col6">
|
||||
<?php echo template::select('config_droit_creation', $groupe, [
|
||||
|
@ -50,7 +57,7 @@ echo template::formOpen('configuration'); ?>
|
|||
'help' => $text['agenda_view']['config'][9]
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- Conditionnel -->
|
||||
|
||||
<div class="block">
|
||||
<h4><?php echo $text['agenda_view']['config'][4]; ?></h4>
|
||||
|
@ -80,14 +87,17 @@ echo template::formOpen('configuration'); ?>
|
|||
|
||||
|
||||
<!--Sélection d'un fichier de sauvegarde-->
|
||||
<div class="col6">
|
||||
<?php echo template::select('config_restaure', $module::$savedFiles, [
|
||||
<?php
|
||||
if($this->getUser('group') >= self::GROUP_MODERATOR) {
|
||||
echo '<div class="col6">';
|
||||
echo template::select('config_restaure', $module::$savedFiles, [
|
||||
'help' => $text['agenda_view']['config'][14],
|
||||
'id' => 'config_restauration',
|
||||
'disabled' => $readonly,
|
||||
'label' => $text['agenda_view']['config'][15]
|
||||
]); ?>
|
||||
</div>
|
||||
]);
|
||||
echo '</div>';
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue