|
@@ 3676-3682 (lines=7) @@
|
| 3673 |
|
} |
| 3674 |
|
|
| 3675 |
|
$course_title_url = ''; |
| 3676 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 3677 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH) . $course_info['path'] . '/index.php?id_session=0'; |
| 3678 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 3679 |
|
} else { |
| 3680 |
|
$course_title = $course_info['title'] . " " . Display::tag('span', get_lang('CourseClosed'), |
| 3681 |
|
array('class' => 'item_closed')); |
| 3682 |
|
} |
| 3683 |
|
|
| 3684 |
|
// Start displaying the course block itself |
| 3685 |
|
if (api_get_setting('display_coursecode_in_courselist') == 'true') { |
|
@@ 5761-5766 (lines=6) @@
|
| 5758 |
|
} |
| 5759 |
|
|
| 5760 |
|
$course_title_url = ''; |
| 5761 |
|
if ($course_info['visibility'] != COURSE_VISIBILITY_CLOSED || $course['status'] == COURSEMANAGER) { |
| 5762 |
|
$course_title_url = api_get_path(WEB_COURSE_PATH).$course_info['path'].'/?id_session=0'; |
| 5763 |
|
$course_title = Display::url($course_info['title'], $course_title_url); |
| 5764 |
|
} else { |
| 5765 |
|
$course_title = $course_info['title']." ".Display::tag('span',get_lang('CourseClosed'), array('class'=>'item_closed')); |
| 5766 |
|
} |
| 5767 |
|
|
| 5768 |
|
// Start displaying the course block itself |
| 5769 |
|
if (api_get_setting('display_coursecode_in_courselist') == 'true') { |