main/exercice/exercise_show.php 1 location
|
@@ 911-918 (lines=8) @@
|
908 |
|
} |
909 |
|
} |
910 |
|
|
911 |
|
if (!empty($category_list) && ($show_results || $show_only_total_score || $showTotalScoreAndUserChoices)) { |
912 |
|
// Adding total |
913 |
|
$category_list['total'] = array( |
914 |
|
'score' => $my_total_score_temp, |
915 |
|
'total' => $totalWeighting |
916 |
|
); |
917 |
|
echo TestCategory::get_stats_table_by_attempt($objExercise->id, $category_list); |
918 |
|
} |
919 |
|
|
920 |
|
echo $total_score_text; |
921 |
|
echo $exercise_content; |
main/inc/lib/exercise.lib.php 1 location
|
@@ 3716-3726 (lines=11) @@
|
3713 |
|
} |
3714 |
|
} |
3715 |
|
|
3716 |
|
if (!empty($category_list) && ($show_results || $show_only_score)) { |
3717 |
|
//Adding total |
3718 |
|
$category_list['total'] = array( |
3719 |
|
'score' => $total_score, |
3720 |
|
'total' => $total_weight |
3721 |
|
); |
3722 |
|
echo TestCategory::get_stats_table_by_attempt( |
3723 |
|
$objExercise->id, |
3724 |
|
$category_list |
3725 |
|
); |
3726 |
|
} |
3727 |
|
|
3728 |
|
if ($show_all_but_expected_answer) { |
3729 |
|
$exercise_content .= "<div class='normal-message'>" . get_lang( |
main/exercice/exercise.class.php 1 location
|
@@ 7984-7988 (lines=5) @@
|
7981 |
|
} |
7982 |
|
} |
7983 |
|
|
7984 |
|
if (!empty($category_list) && ($show_results || $show_only_score)) { |
7985 |
|
//Adding total |
7986 |
|
$category_list['total'] = array('score' => $total_score, 'total' => $total_weight); |
7987 |
|
echo TestCategory::get_stats_table_by_attempt($this->id, $category_list, $this->categoryMinusOne); |
7988 |
|
} |
7989 |
|
|
7990 |
|
echo $total_score_text; |
7991 |
|
echo $exercise_content; |