|
@@ 753-758 (lines=6) @@
|
| 750 |
|
$row++; |
| 751 |
|
} |
| 752 |
|
|
| 753 |
|
if (!empty($none_category)) { |
| 754 |
|
$table->setCellContents($row, 0, get_lang('None')); |
| 755 |
|
$table->setCellContents($row, 1, ExerciseLib::show_score($none_category['score'], $none_category['total'], false)); |
| 756 |
|
$table->setCellContents($row, 2, ExerciseLib::show_score($none_category['score'], $none_category['total'], true, false, true)); |
| 757 |
|
$row++; |
| 758 |
|
} |
| 759 |
|
if (!empty($total)) { |
| 760 |
|
$table->setCellContents($row, 0, get_lang('Total')); |
| 761 |
|
$table->setCellContents($row, 1, ExerciseLib::show_score($total['score'], $total['total'], false)); |
|
@@ 759-763 (lines=5) @@
|
| 756 |
|
$table->setCellContents($row, 2, ExerciseLib::show_score($none_category['score'], $none_category['total'], true, false, true)); |
| 757 |
|
$row++; |
| 758 |
|
} |
| 759 |
|
if (!empty($total)) { |
| 760 |
|
$table->setCellContents($row, 0, get_lang('Total')); |
| 761 |
|
$table->setCellContents($row, 1, ExerciseLib::show_score($total['score'], $total['total'], false)); |
| 762 |
|
$table->setCellContents($row, 2, ExerciseLib::show_score($total['score'], $total['total'], true, false, true)); |
| 763 |
|
} |
| 764 |
|
return $table->toHtml(); |
| 765 |
|
} |
| 766 |
|
|