|
@@ 760-765 (lines=6) @@
|
| 757 |
|
$row++; |
| 758 |
|
} |
| 759 |
|
|
| 760 |
|
if (!empty($none_category)) { |
| 761 |
|
$table->setCellContents($row, 0, get_lang('None')); |
| 762 |
|
$table->setCellContents($row, 1, ExerciseLib::show_score($none_category['score'], $none_category['total'], false)); |
| 763 |
|
$table->setCellContents($row, 2, ExerciseLib::show_score($none_category['score'], $none_category['total'], true, false, true)); |
| 764 |
|
$row++; |
| 765 |
|
} |
| 766 |
|
if (!empty($total)) { |
| 767 |
|
$table->setCellContents($row, 0, get_lang('Total')); |
| 768 |
|
$table->setCellContents($row, 1, ExerciseLib::show_score($total['score'], $total['total'], false)); |
|
@@ 766-770 (lines=5) @@
|
| 763 |
|
$table->setCellContents($row, 2, ExerciseLib::show_score($none_category['score'], $none_category['total'], true, false, true)); |
| 764 |
|
$row++; |
| 765 |
|
} |
| 766 |
|
if (!empty($total)) { |
| 767 |
|
$table->setCellContents($row, 0, get_lang('Total')); |
| 768 |
|
$table->setCellContents($row, 1, ExerciseLib::show_score($total['score'], $total['total'], false)); |
| 769 |
|
$table->setCellContents($row, 2, ExerciseLib::show_score($total['score'], $total['total'], true, false, true)); |
| 770 |
|
} |
| 771 |
|
return $table->toHtml(); |
| 772 |
|
} |
| 773 |
|
|