diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-09 09:18:53 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-03-09 09:18:53 +0100 |
| commit | 08da9f257ff4efc98dd058e81984ac9bd6e46639 (patch) | |
| tree | 5e397bb3771fa096b30d435a12bc6ab8687751b2 /app/views/vips/exercises/MatrixChoiceTask/correct.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/vips/exercises/MatrixChoiceTask/correct.php')
| -rw-r--r-- | app/views/vips/exercises/MatrixChoiceTask/correct.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/vips/exercises/MatrixChoiceTask/correct.php b/app/views/vips/exercises/MatrixChoiceTask/correct.php index 82a87fe..1b4f8ba 100644 --- a/app/views/vips/exercises/MatrixChoiceTask/correct.php +++ b/app/views/vips/exercises/MatrixChoiceTask/correct.php @@ -18,9 +18,9 @@ <td style="white-space: nowrap;"> <? if (isset($response[$key]) && $response[$key] !== '' && $response[$key] != -1): ?> <? if ($response[$key] == $entry['choice']): ?> - <?= 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')]) ?> <? else: ?> - <?= 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 ?> |
