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/questionnaire/_question.php | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/questionnaire/_question.php')
| -rw-r--r-- | app/views/questionnaire/_question.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/questionnaire/_question.php b/app/views/questionnaire/_question.php index 9d21f93..757603a 100644 --- a/app/views/questionnaire/_question.php +++ b/app/views/questionnaire/_question.php @@ -5,19 +5,19 @@ <div style="float: right; padding-top: 3px; padding-right: 5px;"> <a href="#" class="move_up" title="<?= _('Frage nach oben verschieben') ?>" onClick="STUDIP.Questionnaire.moveQuestionUp.call(this); return false;"> - <?= Icon::create('arr_1up')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('arr_1up')->asImg(['class' => 'text-bottom']) ?> </a> <a href="#" class="move_down" title="<?= _('Frage nach unten verschieben') ?>" onClick="STUDIP.Questionnaire.moveQuestionDown.call(this); return false;"> - <?= Icon::create('arr_1down')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('arr_1down')->asImg(['class' => 'text-bottom']) ?> </a> <a href="#" onClick="var that = this; STUDIP.Dialog.confirm('<?= _('Wirklich löschen?') ?>', function () { jQuery(that).closest('fieldset').remove(); }); return false;" title="<?= sprintf(_('%s löschen'), htmlReady($class::getName())) ?>"> - <?= Icon::create('trash')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('trash')->asImg(['class' => 'text-bottom']) ?> </a> </div> <div> - <?= $class::getIcon()->asSvg(['class' => 'text-bottom']) ?> + <?= $class::getIcon()->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($class::getName()) ?> </div> |
