';
echo '';
echo ''.$course['title'].'';
echo ' ('.$course['visual_code'].')';
echo ' ';
echo $teachersIcon;
echo ' ';
echo CourseManager::getTeacherListFromCourseCodeToString($course['code']);
echo ' ';
if (api_get_setting('display_teacher_in_courselist') === 'true') {
echo $course['tutor'];
}
echo ' | ';
if (isset($_GET['edit']) && $course['code'] == $_GET['edit']) {
$edit_course = Security::remove_XSS($_GET['edit']); ?>
';
}
}
}
echo Display::page_subheader(get_lang('NoCourseCategory'));
echo '';
// COURSES WITHOUT CATEGORY
if (!empty($courses_without_category)) {
$number_of_courses = count($courses_without_category);
$key = 0;
foreach ($courses_without_category as $course) {
echo '';
echo '';
echo ''.$course['title'].'';
echo ' ('.$course['visual_code'].')';
echo ' ';
echo $teachersIcon;
echo ' ';
echo CourseManager::getTeacherListFromCourseCodeToString($course['code']);
echo ' ';
if (api_get_setting('display_teacher_in_courselist') === 'true') {
echo $course['tutor'];
}
echo ' | ';
// the edit icon OR the edit dropdown list
if (isset($_GET['edit']) && $course['code'] == $_GET['edit']) {
$edit_course = Security::remove_XSS($_GET['edit']); ?>
|
|