blob: d39d01e982865252dc6b7af57f10da1163b8f1ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* @var bool $evaluation_mode
* @var Exercise $exercise
* @var bool $show_solution
*/
?>
<? if ($evaluation_mode && $exercise->itemCount() > 1): ?>
<div class="description smaller">
<? if ($evaluation_mode == VipsAssignment::SCORING_NEGATIVE_POINTS) : ?>
<?= _('Vorsicht: Falsche Antworten geben Punktabzug!') ?>
<? elseif ($evaluation_mode == VipsAssignment::SCORING_ALL_OR_NOTHING) : ?>
<?= _('Vorsicht: Falsche Antworten führen zur Bewertung der Aufgabe mit 0 Punkten.') ?>
<? endif ?>
</div>
<? endif ?>
<? if ($show_solution): ?>
<div class="description smaller">
<?= sprintf(_('Richtige Antworten %shervorgehoben%s.'), '<span class="correct_item">', '</span>') ?>
</div>
<? endif ?>
|