aboutsummaryrefslogtreecommitdiff
path: root/app/views/vips/exercises/ClozeTask
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/vips/exercises/ClozeTask')
-rw-r--r--app/views/vips/exercises/ClozeTask/correct.php8
-rw-r--r--app/views/vips/exercises/ClozeTask/print.php6
2 files changed, 7 insertions, 7 deletions
diff --git a/app/views/vips/exercises/ClozeTask/correct.php b/app/views/vips/exercises/ClozeTask/correct.php
index 867a644..0791581 100644
--- a/app/views/vips/exercises/ClozeTask/correct.php
+++ b/app/views/vips/exercises/ClozeTask/correct.php
@@ -15,19 +15,19 @@
<? if ($solution->id): ?>
<? if ($results[$blank]['points'] == 1): ?>
--><span class="correct_item math-tex"><?= htmlReady($response[$blank]) ?><!--
- --><?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['class' => 'correction_inline', 'title' => _('richtig')]) ?><!--
+ --><?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['class' => 'correction_inline', 'title' => _('richtig')]) ?><!--
--></span><!--
<? elseif ($results[$blank]['points'] == 0.5): ?>
--><span class="fuzzy_item math-tex"><?= htmlReady($response[$blank]) ?><!--
- --><?= Icon::create('decline', Icon::ROLE_STATUS_YELLOW)->asSvg(['class' => 'correction_inline', 'title' => _('fast richtig')]) ?><!--
+ --><?= Icon::create('decline', Icon::ROLE_STATUS_YELLOW)->asImg(['class' => 'correction_inline', 'title' => _('fast richtig')]) ?><!--
--></span><!--
<? elseif (empty($edit_solution) || $results[$blank]['safe']): ?>
--><span class="wrong_item math-tex"><?= htmlReady($response[$blank]) ?><!--
- --><?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'correction_inline', 'title' => _('falsch')]) ?><!--
+ --><?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['class' => 'correction_inline', 'title' => _('falsch')]) ?><!--
--></span><!--
<? else: ?>
--><span class="wrong_item math-tex"><?= htmlReady($response[$blank]) ?><!--
- --><?= Icon::create('question', Icon::ROLE_STATUS_RED)->asSvg(['class' => 'correction_inline', 'title' => _('Unbekannte Antwort')]) ?><!--
+ --><?= Icon::create('question', Icon::ROLE_STATUS_RED)->asImg(['class' => 'correction_inline', 'title' => _('Unbekannte Antwort')]) ?><!--
--></span><!--
<? endif ?>
<? endif ?>
diff --git a/app/views/vips/exercises/ClozeTask/print.php b/app/views/vips/exercises/ClozeTask/print.php
index 4be1f4a..fce4bc4 100644
--- a/app/views/vips/exercises/ClozeTask/print.php
+++ b/app/views/vips/exercises/ClozeTask/print.php
@@ -17,11 +17,11 @@
--><span class="math-tex" style="text-decoration: underline;">&nbsp;&nbsp;<?= htmlReady($response[$blank]) ?>&nbsp;&nbsp;</span><!--
<? if ($print_correction): ?>
<? if ($results[$blank]['points'] == 1): ?>
- --><?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asSvg(['title' => _('richtig')]) ?><!--
+ --><?= Icon::create('accept', Icon::ROLE_STATUS_GREEN)->asImg(['title' => _('richtig')]) ?><!--
<? elseif ($results[$blank]['points'] == 0.5): ?>
- --><?= Icon::create('decline', Icon::ROLE_STATUS_YELLOW)->asSvg(['title' => _('fast richtig')]) ?><!--
+ --><?= Icon::create('decline', Icon::ROLE_STATUS_YELLOW)->asImg(['title' => _('fast richtig')]) ?><!--
<? else: ?>
- --><?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asSvg(['title' => _('falsch')]) ?><!--
+ --><?= Icon::create('decline', Icon::ROLE_STATUS_RED)->asImg(['title' => _('falsch')]) ?><!--
<? endif ?>
<? endif ?>
<? elseif ($exercise->isSelect($blank)): ?>