|
@@ 6159-6164 (lines=6) @@
|
| 6156 |
|
} |
| 6157 |
|
|
| 6158 |
|
$course_title_url = ''; |
| 6159 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 6160 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/?id_session=0'; |
| 6161 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 6162 |
|
} else { |
| 6163 |
|
$course_title = $course_info['title'].' '.Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 6164 |
|
} |
| 6165 |
|
|
| 6166 |
|
// Start displaying the course block itself |
| 6167 |
|
if (api_get_setting('display_coursecode_in_courselist') === 'true') { |
|
@@ 6313-6319 (lines=7) @@
|
| 6310 |
|
} |
| 6311 |
|
|
| 6312 |
|
$course_title_url = ''; |
| 6313 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 6314 |
|
//$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/index.php?id_session=0'; |
| 6315 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['code'].'/index.php?id_session=0'; |
| 6316 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 6317 |
|
} else { |
| 6318 |
|
$course_title = $course_info['title']." ".Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 6319 |
|
} |
| 6320 |
|
|
| 6321 |
|
// Start displaying the course block itself |
| 6322 |
|
if (api_get_setting('course.display_coursecode_in_courselist') == 'true') { |