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

29 lines
973 B
PHP

<div class="row">
<div class="col1">
<?php echo template::button('courseModulesBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . $this->getUrl(2),
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset9">
<?php echo template::button('courseGroup', [
'href' => helper::baseUrl() . 'course/category',
'value' => template::ico('table'),
'help' => 'Catégories de cours'
]); ?>
</div>
<div class="col1 ">
<?php echo template::button('courseModulesAdd', [
'class' => 'buttonGreen',
'href' => helper::baseUrl() . 'course/add',
'value' => template::ico('plus')
]); ?>
</div>
</div>
<?php if($module::$courses): ?>
<?php echo template::table([3 , 3, 4, 1, 1], $module::$courses, ['Titre court', 'Auteur', 'Description', '', '']); ?>
<?php else: ?>
<?php echo template::speech('Aucun Cours'); ?>
<?php endif; ?>