Comment code in myStudents.php seems not to be used

skala
Julio Montoya 15 years ago
parent 447c6e0c7a
commit bcde16ebe5
  1. 29
      main/mySpace/myStudents.php

@ -793,15 +793,10 @@ if ($timezone !== null) {
} else {
echo '<tr><td colspan="6">'.get_lang('NoExercise').'</td></tr>';
}
echo '</table>';
?>
</table>
<!-- line about other tools -->
<table class="data_table">
<tr>
<td>
<?php
// line about other tools
echo '<table class="data_table">';
$csv_content[] = array ();
$nb_assignments = Tracking::count_student_assignments($student_id, $course_code, $session_id);
@ -881,12 +876,8 @@ if ($timezone !== null) {
</tr>
</table>
</table>
<br />
<?php
} else {
$courses_in_session = array ();
if (!api_is_platform_admin(true) && $_user['status'] != DRH) {
// courses followed by user where we are coach
@ -1055,26 +1046,19 @@ if ($timezone !== null) {
}
echo '</tr>';
}
}
} else {
echo "<tr><td colspan='5'>".get_lang('NoCourse')."</td></tr>";
}
echo '</table>';
}
} //end of else !empty($details)
?>
<?php
/* @todo this code seems to be NOT used jmontoya
if (!empty ($_GET['details']) && $_GET['origin'] != 'tracking_course' && $_GET['origin'] != 'user_course') {
?>
<br /><br />
<?php
echo '<br /><br />';
}
if (!empty ($_GET['exe_id'])) {
$t_q = Database :: get_course_table(TABLE_QUIZ_TEST, $info_course['db_name']);
$t_qq = Database :: get_course_table(TABLE_QUIZ_QUESTION, $info_course['db_name']);
@ -1140,6 +1124,7 @@ if ($timezone !== null) {
}
echo "</table>";
}
*/
//YW - commented out because it doesn't seem to be used
//$header = array_merge($headerLearnpath,$headerExercices,$headerProductions);
}

Loading…
Cancel
Save