|
@@ -174,12 +174,9 @@ if ($_GET['studentlist'] == 'false') {
|
|
|
}
|
|
|
echo '<a href="'.api_get_self().'?'.api_get_cidreq().'&export=csv&'.$addional_param.'">'.Display::return_icon('csv.gif',get_lang('ExportAsCSV')).get_lang('ExportAsCSV').'</a>';
|
|
|
}
|
|
|
-if ($_GET['studentlist'] == 'true' || empty($_GET['studentlist'])) {
|
|
|
- echo TrackingCourseLog::display_additional_profile_fields();
|
|
|
-}
|
|
|
-
|
|
|
echo '</div>';
|
|
|
|
|
|
+
|
|
|
if ($_GET['studentlist'] == 'false') {
|
|
|
$course_code = api_get_course_id();
|
|
|
|
|
@@ -448,8 +445,21 @@ if ($_GET['studentlist'] == 'false') {
|
|
|
|
|
|
$form -> addElement('hidden', 'action', 'add');
|
|
|
$form -> addElement('hidden', 'remindallinactives', 'true');
|
|
|
+
|
|
|
$course_info = api_get_course_info(api_get_course_id());
|
|
|
- echo '<h2>'.get_lang('Course').' '.$course_info['name'].'</h2>';
|
|
|
+ $course_name = get_lang('Course').' '.$course_info['name'];
|
|
|
+
|
|
|
+
|
|
|
+ if (api_get_session_id()) {
|
|
|
+ echo '<h2>'.get_lang('Session').' '.api_get_session_name(api_get_session_id()).' | '.$course_name.'</h2>';
|
|
|
+ } else {
|
|
|
+ echo '<h2>'.get_lang('Course').' '.$course_info['name'].'</h2>';
|
|
|
+ }
|
|
|
+
|
|
|
+ echo TrackingCourseLog::display_additional_profile_fields();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
$form -> display();
|
|
|
// END : form to remind inactives susers
|
|
|
|