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

29 lines
1.1 KiB
PHP
Raw Normal View History

2023-10-04 22:04:18 +02:00
<div class="row">
<div class="col1">
<?php echo template::button('courseUserBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'course',
'value' => template::ico('left')
]); ?>
</div>
2023-10-08 14:46:44 +02:00
<div class="col2 offset9">
<?php echo template::button('userDeleteAll', [
'class' => 'userDeleteAll buttonRed',
'href' => helper::baseUrl() . 'course/userDeleteAll/' . $this->getUrl(2),
'value' => helper::translate('Réinitialiser'),
'help' => 'Désinscrire tous les utilisateurs'
])
?>
2023-10-04 22:04:18 +02:00
</div>
2023-10-08 14:46:44 +02:00
<?php /*echo template::button('courseUserAdd', [
'class' => 'buttonGreen',
'href' => helper::baseUrl() . 'course/userAdd',
'value' => template::ico('plus')
]); */?>
2023-10-04 22:04:18 +02:00
</div>
2023-10-08 14:46:44 +02:00
<?php if ($module::$courseUsers): ?>
<?php echo template::table([2, 3, 3, 3, 1], $module::$courseUsers, ['Id', 'Nom Prénom', 'Id dernière page', 'Date - Heure', '']); ?>
2023-10-04 22:04:18 +02:00
<?php else: ?>
2023-10-08 14:46:44 +02:00
<?php echo template::speech('Aucun inscrit'); ?>
2023-10-04 22:04:18 +02:00
<?php endif; ?>