aboutsummaryrefslogtreecommitdiff
path: root/app/views/questionnaire/context.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-09 09:18:53 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-09 09:18:53 +0100
commit08da9f257ff4efc98dd058e81984ac9bd6e46639 (patch)
tree5e397bb3771fa096b30d435a12bc6ab8687751b2 /app/views/questionnaire/context.php
parentef89c567131c55840192820ed7510497d970f36d (diff)
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330 Merge request studip/studip!4802
Diffstat (limited to 'app/views/questionnaire/context.php')
-rw-r--r--app/views/questionnaire/context.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/questionnaire/context.php b/app/views/questionnaire/context.php
index e1b53ac..78455b1 100644
--- a/app/views/questionnaire/context.php
+++ b/app/views/questionnaire/context.php
@@ -8,7 +8,7 @@
<input type="text" aria-label="<?= _('URL zum Fragebogen (nur lesbar)') ?>" readonly value="<?= htmlReady($GLOBALS['ABSOLUTE_URI_STUDIP'].'dispatch.php/questionnaire/answer/'.$questionnaire->getId()) ?>">
<a href="<?= htmlReady($GLOBALS['ABSOLUTE_URI_STUDIP'] . "dispatch.php/questionnaire/answer/" . $questionnaire->id) ?>"
data-qr-code title="<?= _('QR-Code zum Link anzeigen') ?>">
- <?= Icon::create('code-qr')->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('code-qr')->asImg(['class' => 'text-bottom']) ?>
</a>
</fieldset>
<fieldset>
@@ -41,7 +41,7 @@
<a href="<?= URLHelper::getLink('dispatch.php/course/go', ['to' => $course->getId()]) ?>">
<?= htmlReady((Config::get()->IMPORTANT_SEMNUMBER ? $course->veranstaltungsnummer." " : "").$course->name. ' ('.$course->semester_text.')') ?>
</a>
- <?= Icon::create('trash')->asSvg(['class' => 'text-bottom', 'title' => _('Zuweisung zur Veranstaltung aufheben.')]) ?>
+ <?= Icon::create('trash')->asImg(['class' => 'text-bottom', 'title' => _('Zuweisung zur Veranstaltung aufheben.')]) ?>
</span>
</label>
</li>
@@ -63,7 +63,7 @@
<a href="<?= URLHelper::getLink("dispatch.php/course/go", ['to' => $statusgruppe->getId()]) ?>">
<?= htmlReady($statusgruppe->course['name'].": ".$statusgruppe->name) ?>
</a>
- <?= Icon::create('trash')->asSvg(['class' => 'text-bottom', 'title' => _('Zuweisung zur Veranstaltung aufheben.')]) ?>
+ <?= Icon::create('trash')->asImg(['class' => 'text-bottom', 'title' => _('Zuweisung zur Veranstaltung aufheben.')]) ?>
</span>
</label>
</li>
@@ -81,7 +81,7 @@
<label>
<input type="checkbox" name="remove_inst[]" value="<?= htmlReady($assignment['range_id']) ?>" style="display: none;">
<span><?= htmlReady(Institute::find($assignment['range_id'])->name) ?></span>
- <?= Icon::create('trash', 'clickable', ['title' => _('Zuweisung zur Einrichtung aufheben.')])->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('trash', 'clickable', ['title' => _('Zuweisung zur Einrichtung aufheben.')])->asImg(['class' => 'text-bottom']) ?>
</label>
</li>
<? endif ?>