2023-09-05 15:21:01 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('userAddBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl(false),
|
|
|
|
'value' => template::ico('home')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?php /**echo template::button('userHelp', [
|
|
|
|
'href' => 'https://doc.zwiicms.fr/gestion-des-utilisateurs',
|
|
|
|
'target' => '_blank',
|
|
|
|
'value' => template::ico('help'),
|
|
|
|
'class' => 'buttonHelp',
|
|
|
|
'help' => 'Consulter l\'aide en ligne'
|
|
|
|
]);*/ ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1 offset7">
|
|
|
|
<?php echo template::button('userImport', [
|
|
|
|
'href' => helper::baseUrl() . 'user/import',
|
|
|
|
'value' => template::ico('upload'),
|
|
|
|
'help' => 'Importer des utilisateurs en masse'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('userGroup', [
|
|
|
|
'href' => helper::baseUrl() . 'user/profil',
|
|
|
|
'value' => template::ico('lock'),
|
|
|
|
'help' => 'Profils'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('userAdd', [
|
|
|
|
'href' => helper::baseUrl() . 'user/add',
|
|
|
|
'value' => template::ico('plus'),
|
|
|
|
'class' => 'buttonGreen',
|
|
|
|
'help' => 'Ajouter un utilisateur'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-10-09 19:10:48 +02:00
|
|
|
<?php echo template::formOpen('userFilterUserForm'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col10 offset1">
|
|
|
|
<div class="block">
|
|
|
|
<h4>
|
|
|
|
<?php echo helper::translate('Filtres'); ?>
|
|
|
|
</h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::select('userFilterGroup', $module::$courseGroups, [
|
|
|
|
'label' => 'Groupes / Profils',
|
|
|
|
'selected' => isset($_POST['userFilterGroup']) ? $_POST['userFilterGroup'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::select('userFilterFirstName', $module::$alphabet, [
|
|
|
|
'label' => 'Prénom commence par',
|
|
|
|
'selected' => isset($_POST['userFilterFirstName']) ? $_POST['userFilterFirstName'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::select('userFilterLastName', $module::$alphabet, [
|
|
|
|
'label' => 'Nom commence par',
|
|
|
|
'selected' => isset($_POST['userFilterLastName']) ? $_POST['userFilterLastName'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset4">
|
|
|
|
<?php echo template::submit('userFilterSubmit', [
|
|
|
|
'value' => 'Filtrer',
|
|
|
|
'uniqueSubmission' => true
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|
2023-09-05 15:21:01 +02:00
|
|
|
<?php echo template::table([2, 2 , 3, 3, 1, 1], $module::$users, ['Identifiant', 'Nom', 'Groupe', 'Profil', '', '']); ?>
|