diff --git a/main/mySpace/lp_tracking.php b/main/mySpace/lp_tracking.php index 7ed65ab878..2c1be2ab06 100755 --- a/main/mySpace/lp_tracking.php +++ b/main/mySpace/lp_tracking.php @@ -144,6 +144,7 @@ echo '
'; +$session_name = api_get_session_name(api_get_session_id()); $table_title = ($session_name? get_lang('Session').' : '.$session_name.' | ':'').get_lang('Course').' : '.$_course['title'].' | '.$name; echo '

'.$table_title.'

'; echo '

'.get_lang('ToolLearnpath').' : '.$lp_title.'

'; diff --git a/main/mySpace/myStudents.php b/main/mySpace/myStudents.php index 91cfb2593b..11666f36dc 100755 --- a/main/mySpace/myStudents.php +++ b/main/mySpace/myStudents.php @@ -378,8 +378,14 @@ if (!empty ($_GET['student'])) { } // end if(api_get_setting('use_session_mode')=='true') //$table_title = ($session_name? get_lang('Session').' : '.ucfirst($session_name).' | ':'').get_lang('Course').' : '.$info_course['title'].($coachs_name?' | '.get_lang('Tutor').' : '.stripslashes($coachs_name):''); - //Hiding coach name - $table_title = ($session_name? get_lang('Session').' : '.ucfirst($session_name).' | ':'').get_lang('Course').' : '.$info_course['title'].' | '.api_get_person_name($info_user['lastname'], $info_user['firstname']); + //Hiding coach name + + //$table_title = ($session_name? get_lang('Session').' : '.ucfirst($session_name).' | ':'').get_lang('Course').' : '.$info_course['title'].' | '.api_get_person_name($info_user['lastname'], $info_user['firstname']); + + $info_course = CourseManager :: get_course_information($get_course_code); + $session_name = api_get_session_name($session_id); + $table_title = ($session_name? get_lang('Session').' : '.$session_name.' | ':'').($info_course ?get_lang('Course').' : '.$info_course['title'].' | ':'').api_get_person_name($info_user['lastname'], $info_user['firstname']); + echo '

'.$table_title.'

'; ?>