main/exercise/exercise_show.php 1 location
|
@@ 830-837 (lines=8) @@
|
| 827 |
|
} |
| 828 |
|
} |
| 829 |
|
|
| 830 |
|
if (!empty($category_list) && ($show_results || $show_only_total_score || $showTotalScoreAndUserChoicesInLastAttempt)) { |
| 831 |
|
// Adding total |
| 832 |
|
$category_list['total'] = array( |
| 833 |
|
'score' => $my_total_score_temp, |
| 834 |
|
'total' => $totalWeighting |
| 835 |
|
); |
| 836 |
|
echo TestCategory::get_stats_table_by_attempt($objExercise->id, $category_list); |
| 837 |
|
} |
| 838 |
|
|
| 839 |
|
echo $total_score_text; |
| 840 |
|
echo $exercise_content; |
main/inc/lib/exercise.lib.php 1 location
|
@@ 3726-3736 (lines=11) @@
|
| 3723 |
|
} |
| 3724 |
|
} |
| 3725 |
|
|
| 3726 |
|
if (!empty($category_list) && ($show_results || $show_only_score)) { |
| 3727 |
|
//Adding total |
| 3728 |
|
$category_list['total'] = array( |
| 3729 |
|
'score' => $total_score, |
| 3730 |
|
'total' => $total_weight |
| 3731 |
|
); |
| 3732 |
|
echo TestCategory::get_stats_table_by_attempt( |
| 3733 |
|
$objExercise->id, |
| 3734 |
|
$category_list |
| 3735 |
|
); |
| 3736 |
|
} |
| 3737 |
|
|
| 3738 |
|
if ($show_all_but_expected_answer) { |
| 3739 |
|
$exercise_content .= "<div class='normal-message'>" . get_lang( |
main/exercise/exercise.class.php 1 location
|
@@ 8062-8066 (lines=5) @@
|
| 8059 |
|
} |
| 8060 |
|
} |
| 8061 |
|
|
| 8062 |
|
if (!empty($category_list) && ($show_results || $show_only_score)) { |
| 8063 |
|
//Adding total |
| 8064 |
|
$category_list['total'] = array('score' => $total_score, 'total' => $total_weight); |
| 8065 |
|
echo TestCategory::get_stats_table_by_attempt($this->id, $category_list, $this->categoryMinusOne); |
| 8066 |
|
} |
| 8067 |
|
|
| 8068 |
|
echo $total_score_text; |
| 8069 |
|
echo $exercise_content; |