|
|
|
|
@ -474,13 +474,13 @@ function get_logged_user_course_html($course, $session_id = 0, $class='courses') |
|
|
|
|
$s_htlm_status_icon = ""; |
|
|
|
|
|
|
|
|
|
if ($s_course_status == 1) { |
|
|
|
|
$s_htlm_status_icon=Display::return_icon('teachers.gif', get_lang('Teacher')); |
|
|
|
|
$s_htlm_status_icon=Display::return_icon('course.gif', get_lang('Course')).' '.Display::return_icon('teachers.gif', get_lang('Status').': '.get_lang('Teacher'),array('style'=>'width:11px; height:11px')); |
|
|
|
|
} |
|
|
|
|
if ($s_course_status == 2 || ($is_coach && $s_course_status != 1)) { |
|
|
|
|
$s_htlm_status_icon=Display::return_icon('coachs.gif', get_lang('GeneralCoach')); |
|
|
|
|
$s_htlm_status_icon=Display::return_icon('course.gif', get_lang('Course')).' '.Display::return_icon('coachs.gif', get_lang('Status').': '.get_lang('GeneralCoach'),array('style'=>'width:11px; height:11px')); |
|
|
|
|
} |
|
|
|
|
if (($s_course_status == 5 && !$is_coach) || empty($s_course_status)) { |
|
|
|
|
$s_htlm_status_icon=Display::return_icon('students.gif', get_lang('Student')); |
|
|
|
|
$s_htlm_status_icon=Display::return_icon('course.gif', get_lang('Course')).' '.Display::return_icon('students.gif', get_lang('Status').': '.get_lang('Student'),array('style'=>'width:11px; height:11px')); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//display course entry |
|
|
|
|
|