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', [
|
2023-10-15 14:53:20 +02:00
|
|
|
'href' => 'https://doc.zwiicms.fr/gestion-des-utilisateurs',
|
|
|
|
'target' => '_blank',
|
|
|
|
'value' => template::ico('help'),
|
|
|
|
'class' => 'buttonHelp',
|
|
|
|
'help' => 'Consulter l\'aide en ligne'
|
|
|
|
]);*/?>
|
2023-09-05 15:21:01 +02:00
|
|
|
</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">
|
2023-10-15 14:53:20 +02:00
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('userFilterGroup', $module::$courseGroups, [
|
|
|
|
'label' => 'Groupes / Profils',
|
|
|
|
'selected' => isset($_POST['userFilterGroup']) ? $_POST['userFilterGroup'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('userFilterFirstName', $module::$alphabet, [
|
|
|
|
'label' => 'Prénom commence par',
|
|
|
|
'selected' => isset($_POST['userFilterFirstName']) ? $_POST['userFilterFirstName'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col3">
|
|
|
|
<?php echo template::select('userFilterLastName', $module::$alphabet, [
|
|
|
|
'label' => 'Nom commence par',
|
|
|
|
'selected' => isset($_POST['userFilterLastName']) ? $_POST['userFilterLastName'] : 'all',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-10-09 19:10:48 +02:00
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|
2023-10-15 14:53:20 +02:00
|
|
|
<?php echo template::table([2, 2, 3, 3, 1, 1], $module::$users, ['Identifiant', 'Nom', 'Groupe', 'Profil', '', ''], ['id' => 'dataTables']); ?>
|