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:25:41 +0100 |
| commit | 343a471f165dfef235e056caec1955fd9ee423cb (patch) | |
| tree | c2f865dcbc25695a581e4d655ea2b30a0edc3e1f /app/views/questionnaire/context.php | |
| parent | 6a14782858a297ead2f509652ce914d8aefb5531 (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.php | 8 |
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 ?> |
