2023-09-08 22:09:25 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
2023-10-04 21:05:39 +02:00
|
|
|
<?php echo template::button('courseBack', [
|
2023-09-08 22:09:25 +02:00
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(2),
|
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-10-04 21:05:39 +02:00
|
|
|
<div class="col1 offset8">
|
|
|
|
<?php echo template::button('courseUser', [
|
|
|
|
'href' => helper::baseUrl() . 'course/user',
|
|
|
|
'value' => template::ico('users'),
|
|
|
|
'help' => 'Etudiants inscrits'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('courseCategory', [
|
2023-09-29 04:49:13 +02:00
|
|
|
'href' => helper::baseUrl() . 'course/category',
|
|
|
|
'value' => template::ico('table'),
|
|
|
|
'help' => 'Catégories de cours'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col1 ">
|
2023-10-04 21:05:39 +02:00
|
|
|
<?php echo template::button('courseAdd', [
|
2023-09-08 22:09:25 +02:00
|
|
|
'class' => 'buttonGreen',
|
|
|
|
'href' => helper::baseUrl() . 'course/add',
|
|
|
|
'value' => template::ico('plus')
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2023-09-12 22:16:25 +02:00
|
|
|
</div>
|
2023-09-30 09:18:08 +02:00
|
|
|
<?php if($module::$courses): ?>
|
2023-09-30 19:04:55 +02:00
|
|
|
<?php echo template::table([2, 1, 3, 4, 1, 1], $module::$courses, ['Titre court', 'Auteur', 'Description', 'Lien direct', '', '']); ?>
|
2023-09-30 09:18:08 +02:00
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucun Cours'); ?>
|
|
|
|
<?php endif; ?>
|