Adding commented code from 1.10

skala
Julio Montoya 12 years ago
parent 7d28db71b8
commit 1eff97b88a
  1. 7
      main/exercice/exercise.lib.php

@ -2121,7 +2121,7 @@ function display_question_list_by_attempt($objExercise, $exe_id, $save_user_resu
} }
$question_list_answers = array(); $question_list_answers = array();
$media_list = array();
$category_list = array(); $category_list = array();
// Loop over all question to show results for each of them, one by one // Loop over all question to show results for each of them, one by one
@ -2201,6 +2201,11 @@ function display_question_list_by_attempt($objExercise, $exe_id, $save_user_resu
$question_content = '<div class="question_row">'; $question_content = '<div class="question_row">';
if ($show_results) { if ($show_results) {
$show_media = false;
/*if ($objQuestionTmp->parent_id != 0 && !in_array($objQuestionTmp->parent_id, $media_list)) {
$show_media = true;
$media_list[] = $objQuestionTmp->parent_id;
}*/
//Shows question title an description //Shows question title an description
$question_content .= $objQuestionTmp->return_header(null, $counter, $score); $question_content .= $objQuestionTmp->return_header(null, $counter, $score);
} }

Loading…
Cancel
Save