ZwiiCMS/core/module/user/view/index/index.php

78 lines
2.8 KiB
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<div class="row">
2022-02-18 12:43:48 +01:00
<div class="col1">
2018-04-02 08:29:19 +02:00
<?php echo template::button('userAddBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false),
2022-02-18 12:43:48 +01:00
'value' => template::ico('home')
2018-04-02 08:29:19 +02:00
]); ?>
</div>
2022-02-18 12:43:48 +01:00
<div class="col1">
2022-09-28 14:18:05 +02:00
<?php /**echo template::button('userHelp', [
2021-11-04 19:05:12 +01:00
'href' => 'https://doc.zwiicms.fr/gestion-des-utilisateurs',
'target' => '_blank',
2022-02-18 12:43:48 +01:00
'value' => template::ico('help'),
'class' => 'buttonHelp',
'help' => 'Consulter l\'aide en ligne'
2022-09-28 14:18:05 +02:00
]);*/ ?>
2021-11-04 19:05:12 +01:00
</div>
2023-03-01 16:11:36 +01:00
<div class="col1 offset7">
2020-10-04 17:14:15 +02:00
<?php echo template::button('userImport', [
'href' => helper::baseUrl() . 'user/import',
2022-09-29 08:45:59 +02:00
'value' => template::ico('upload'),
2022-02-18 12:43:48 +01:00
'help' => 'Importer des utilisateurs en masse'
2020-10-04 17:14:15 +02:00
]); ?>
</div>
2023-03-01 16:11:36 +01:00
<div class="col1">
<?php echo template::button('userGroup', [
2023-03-31 17:02:56 +02:00
'href' => helper::baseUrl() . 'user/profil',
'value' => template::ico('lock'),
2023-08-05 17:16:18 +02:00
'help' => 'Profils'
2023-03-01 16:11:36 +01:00
]); ?>
</div>
2022-02-18 12:43:48 +01:00
<div class="col1">
2018-04-02 08:29:19 +02:00
<?php echo template::button('userAdd', [
'href' => helper::baseUrl() . 'user/add',
2022-02-18 12:43:48 +01:00
'value' => template::ico('plus'),
2022-09-27 08:54:08 +02:00
'class' => 'buttonGreen',
2022-02-18 12:43:48 +01:00
'help' => 'Ajouter un utilisateur'
2018-04-02 08:29:19 +02:00
]); ?>
</div>
</div>
2023-10-09 19:38:35 +02:00
<?php echo template::formOpen('userFilterUserForm'); ?>
<div class="row">
<div class="col12">
<div class="block">
<h4>
<?php echo helper::translate('Filtres'); ?>
</h4>
<div class="row">
<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>
<div class="col2 offset1">
<?php echo template::submit('userFilterSubmit', [
'value' => 'Filtrer',
'uniqueSubmission' => true
]); ?>
</div>
</div>
</div>
</div>
</div>
<?php echo template::formClose(); ?>
<?php echo template::table([2, 2 , 3, 3, 1, 1], $module::$users, ['Identifiant', 'Nom', 'Groupe', 'Profil', '', '']); ?>