aboutsummaryrefslogtreecommitdiff
path: root/app/views/vips/exercises/SingleChoiceTask
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/vips/exercises/SingleChoiceTask')
-rw-r--r--app/views/vips/exercises/SingleChoiceTask/correct.php4
-rw-r--r--app/views/vips/exercises/SingleChoiceTask/print.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/vips/exercises/SingleChoiceTask/correct.php b/app/views/vips/exercises/SingleChoiceTask/correct.php
index a2796fb..cecc743 100644
--- a/app/views/vips/exercises/SingleChoiceTask/correct.php
+++ b/app/views/vips/exercises/SingleChoiceTask/correct.php
@@ -28,9 +28,9 @@
<? if (isset($response[$group]) && $response[$group] === "$key"): ?>
<? if ($entry['score'] == 1): ?>
- <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['class' => 'correction_marker', 'title' => _('richtig')]) ?>
+ <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['class' => 'correction_marker', 'title' => _('richtig')]) ?>
<? elseif ($key != -1): ?>
- <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'correction_marker', 'title' => _('falsch')]) ?>
+ <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['class' => 'correction_marker', 'title' => _('falsch')]) ?>
<? endif ?>
<? endif ?>
</div>
diff --git a/app/views/vips/exercises/SingleChoiceTask/print.php b/app/views/vips/exercises/SingleChoiceTask/print.php
index 5ac9961..a61bc84 100644
--- a/app/views/vips/exercises/SingleChoiceTask/print.php
+++ b/app/views/vips/exercises/SingleChoiceTask/print.php
@@ -27,9 +27,9 @@
<? if ($print_correction): ?>
<? if (isset($response[$group]) && $response[$group] === "$key"): ?>
<? if ($entry['score'] == 1): ?>
- <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['class' => 'correction_marker', 'title' => _('richtig')]) ?>
+ <?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['class' => 'correction_marker', 'title' => _('richtig')]) ?>
<? elseif ($key != -1): ?>
- <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'correction_marker', 'title' => _('falsch')]) ?>
+ <?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['class' => 'correction_marker', 'title' => _('falsch')]) ?>
<? endif ?>
<? endif ?>
<? endif ?>