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