From 0b5325c2417e1915f21924695451ee3dfb1233f2 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 8 Nov 2023 11:56:44 +0100 Subject: [PATCH] =?UTF-8?q?Cat=C3=A9gory=20non=20=C3=A9ditable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/course/course.php | 2 ++ core/module/course/view/category/category.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/module/course/course.php b/core/module/course/course.php index ccd79dd..9965651 100644 --- a/core/module/course/course.php +++ b/core/module/course/course.php @@ -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, diff --git a/core/module/course/view/category/category.php b/core/module/course/view/category/category.php index bff038b..30fb450 100644 --- a/core/module/course/view/category/category.php +++ b/core/module/course/view/category/category.php @@ -16,7 +16,7 @@ - + \ No newline at end of file