Catégory non éditable
This commit is contained in:
parent
106ace8cef
commit
0b5325c241
@ -312,11 +312,13 @@ class course extends common
|
||||
self::$courseCategories[] = [
|
||||
$categoryId,
|
||||
$categoryTitle,
|
||||
/**
|
||||
template::button('categoryEdit' . $categoryId, [
|
||||
'href' => helper::baseUrl() . 'course/categoryEdit/' . $categoryId,
|
||||
'value' => template::ico('pencil'),
|
||||
'help' => 'Éditer'
|
||||
]),
|
||||
*/
|
||||
template::button('courseDelete' . $categoryId, [
|
||||
'class' => 'categoryDelete buttonRed',
|
||||
'href' => helper::baseUrl() . 'course/categoryDelete/' . $categoryId,
|
||||
|
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
|
||||
<?php if($module::$courseCategories): ?>
|
||||
<?php echo template::table([5,5,1,1], $module::$courseCategories, ['Id', 'Titre', '', '']); ?>
|
||||
<?php echo template::table([5,6,1], $module::$courseCategories, ['Id', 'Titre', '']); ?>
|
||||
<?php else: ?>
|
||||
<?php echo template::speech('Aucune catégorie'); ?>
|
||||
<?php endif; ?>
|
Loading…
Reference in New Issue
Block a user