|
|
|
@ -613,11 +613,11 @@ if ($is_allowedToEdit) { |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
if (api_get_configuration_value('allow_exercise_categories') === false) { |
|
|
|
|
echo Exercise::exerciseGrid(0, $keyword); |
|
|
|
|
echo Exercise::exerciseGrid(0, $keyword); |
|
|
|
|
} else { |
|
|
|
|
if (empty($categoryId)) { |
|
|
|
|
echo Display::page_subheader(get_lang('NoCategory')); |
|
|
|
|
echo Exercise::exerciseGrid(0, $keyword); |
|
|
|
|
echo Exercise::exerciseGrid(0, $keyword); |
|
|
|
|
$counter = 0; |
|
|
|
|
$manager = new ExerciseCategoryManager(); |
|
|
|
|
$categories = $manager->getCategories($courseId); |
|
|
|
|