|
@@ 6109-6114 (lines=6) @@
|
| 6106 |
|
} |
| 6107 |
|
|
| 6108 |
|
$course_title_url = ''; |
| 6109 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 6110 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/?id_session=0'; |
| 6111 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 6112 |
|
} else { |
| 6113 |
|
$course_title = $course_info['title'].' '.Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 6114 |
|
} |
| 6115 |
|
|
| 6116 |
|
// Start displaying the course block itself |
| 6117 |
|
if (api_get_setting('display_coursecode_in_courselist') === 'true') { |
|
@@ 6263-6269 (lines=7) @@
|
| 6260 |
|
} |
| 6261 |
|
|
| 6262 |
|
$course_title_url = ''; |
| 6263 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 6264 |
|
//$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/index.php?id_session=0'; |
| 6265 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['code'].'/index.php?id_session=0'; |
| 6266 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 6267 |
|
} else { |
| 6268 |
|
$course_title = $course_info['title']." ".Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 6269 |
|
} |
| 6270 |
|
|
| 6271 |
|
// Start displaying the course block itself |
| 6272 |
|
if (api_get_setting('course.display_coursecode_in_courselist') == 'true') { |