ZwiiCampus/core/module/course/view/usersDelete/usersDelete.php

52 lines
2.0 KiB
PHP
Raw Normal View History

2023-11-23 18:42:08 +01:00
<?php echo template::formOpen('courseUsersDeleteForm'); ?>
<div class="row">
<div class="col1">
2023-11-25 15:10:10 +01:00
<?php echo template::button('courseUserDeleteBack', [
2023-11-23 18:42:08 +01:00
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'course/users/' . $this->getUrl(2),
'value' => template::ico('left')
]); ?>
</div>
2023-11-25 15:10:10 +01:00
<div class="col1 offset7">
<?php echo template::button('courseUserDeleteSelectAll', [
'value' => 'Tout'
]); ?>
</div>
<div class="col1">
<?php echo template::button('courseUserDeleteSelectNone', [
'value' => 'Aucun'
]); ?>
</div>
<div class="col2">
2023-11-23 18:42:08 +01:00
<?php echo template::submit('courseUsersDeleteSubmit', [
'class' => 'buttonRed',
'value' => 'Désinscrire'
]); ?>
</div>
2023-11-25 15:10:10 +01:00
</div>
2023-11-23 18:42:08 +01:00
<div class="row" id="Bfrtip">
<div class="col3">
<?php echo template::select('courseFilterGroup', $module::$courseGroups, [
'label' => 'Groupes / Profils',
'selected' => isset($_POST['courseFilterGroup']) ? $_POST['courseFilterGroup'] : 'all',
]); ?>
</div>
<div class="col3">
<?php echo template::select('courseFilterFirstName', $module::$alphabet, [
'label' => 'Prénom commence par',
'selected' => isset($_POST['courseFilterFirstName']) ? $_POST['courseFilterFirstName'] : 'all',
]); ?>
</div>
<div class="col3">
<?php echo template::select('courseFilterLastName', $module::$alphabet, [
'label' => 'Nom commence par',
'selected' => isset($_POST['courseFilterLastName']) ? $_POST['courseFilterLastName'] : 'all',
]); ?>
</div>
</div>
<?php if ($module::$courseUsers): ?>
2023-11-30 14:29:38 +01:00
<?php echo template::table([1, 2, 3, 3, 3], $module::$courseUsers, ['', 'Id', 'Prénom', 'Nom', 'Étiquettes'], ['id' => 'dataTables']); ?>
2023-11-23 18:42:08 +01:00
<?php else: ?>
<?php echo template::speech('Aucun inscrit'); ?>
<?php endif; ?>
<?php echo template::formClose(); ?>