main/inc/lib/exercise.lib.php 1 location
|
@@ 3926-3936 (lines=11) @@
|
| 3923 |
|
$total_score_text .= '</div>'; |
| 3924 |
|
} |
| 3925 |
|
|
| 3926 |
|
if (!empty($category_list) && ($show_results || $show_only_score)) { |
| 3927 |
|
// Adding total |
| 3928 |
|
$category_list['total'] = array( |
| 3929 |
|
'score' => $total_score, |
| 3930 |
|
'total' => $total_weight |
| 3931 |
|
); |
| 3932 |
|
echo TestCategory::get_stats_table_by_attempt( |
| 3933 |
|
$objExercise->id, |
| 3934 |
|
$category_list |
| 3935 |
|
); |
| 3936 |
|
} |
| 3937 |
|
|
| 3938 |
|
if ($show_all_but_expected_answer) { |
| 3939 |
|
$exercise_content .= "<div class='normal-message'>".get_lang( |
main/exercise/exercise_show.php 1 location
|
@@ 881-888 (lines=8) @@
|
| 878 |
|
} |
| 879 |
|
} |
| 880 |
|
|
| 881 |
|
if (!empty($category_list) && ($show_results || $show_only_total_score || $showTotalScoreAndUserChoicesInLastAttempt)) { |
| 882 |
|
// Adding total |
| 883 |
|
$category_list['total'] = array( |
| 884 |
|
'score' => $my_total_score_temp, |
| 885 |
|
'total' => $totalWeighting |
| 886 |
|
); |
| 887 |
|
echo TestCategory::get_stats_table_by_attempt($objExercise->id, $category_list); |
| 888 |
|
} |
| 889 |
|
|
| 890 |
|
echo $total_score_text; |
| 891 |
|
echo $exercise_content; |