Comment code in myStudents.php seems not to be used

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

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

Loading…
Cancel
Save