main/inc/lib/exercise.lib.php 1 location
|
@@ 4019-4029 (lines=11) @@
|
| 4016 |
|
$total_score_text .= '</div>'; |
| 4017 |
|
} |
| 4018 |
|
|
| 4019 |
|
if (!empty($category_list) && ($show_results || $show_only_score)) { |
| 4020 |
|
// Adding total |
| 4021 |
|
$category_list['total'] = array( |
| 4022 |
|
'score' => $total_score, |
| 4023 |
|
'total' => $total_weight |
| 4024 |
|
); |
| 4025 |
|
echo TestCategory::get_stats_table_by_attempt( |
| 4026 |
|
$objExercise->id, |
| 4027 |
|
$category_list |
| 4028 |
|
); |
| 4029 |
|
} |
| 4030 |
|
|
| 4031 |
|
if ($show_all_but_expected_answer) { |
| 4032 |
|
$exercise_content .= "<div class='normal-message'>".get_lang( |
main/exercise/exercise_show.php 1 location
|
@@ 943-950 (lines=8) @@
|
| 940 |
|
} |
| 941 |
|
} |
| 942 |
|
|
| 943 |
|
if (!empty($category_list) && ($show_results || $show_only_total_score || $showTotalScoreAndUserChoicesInLastAttempt)) { |
| 944 |
|
// Adding total |
| 945 |
|
$category_list['total'] = array( |
| 946 |
|
'score' => $my_total_score_temp, |
| 947 |
|
'total' => $totalWeighting |
| 948 |
|
); |
| 949 |
|
echo TestCategory::get_stats_table_by_attempt($objExercise->id, $category_list); |
| 950 |
|
} |
| 951 |
|
|
| 952 |
|
echo $total_score_text; |
| 953 |
|
echo $exercise_content; |