|
@@ 6062-6067 (lines=6) @@
|
| 6059 |
|
} |
| 6060 |
|
|
| 6061 |
|
$course_title_url = ''; |
| 6062 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 6063 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/?id_session=0'; |
| 6064 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 6065 |
|
} else { |
| 6066 |
|
$course_title = $course_info['title'].' '.Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 6067 |
|
} |
| 6068 |
|
|
| 6069 |
|
// Start displaying the course block itself |
| 6070 |
|
if (api_get_setting('display_coursecode_in_courselist') === 'true') { |
|
@@ 6216-6222 (lines=7) @@
|
| 6213 |
|
} |
| 6214 |
|
|
| 6215 |
|
$course_title_url = ''; |
| 6216 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 6217 |
|
//$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/index.php?id_session=0'; |
| 6218 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['code'].'/index.php?id_session=0'; |
| 6219 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 6220 |
|
} else { |
| 6221 |
|
$course_title = $course_info['title']." ".Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 6222 |
|
} |
| 6223 |
|
|
| 6224 |
|
// Start displaying the course block itself |
| 6225 |
|
if (api_get_setting('course.display_coursecode_in_courselist') == 'true') { |