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/shared | |
| parent | ef89c567131c55840192820ed7510497d970f36d (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/shared')
| -rw-r--r-- | app/views/shared/filter.php | 2 | ||||
| -rw-r--r-- | app/views/shared/form_dokumente.php | 6 | ||||
| -rw-r--r-- | app/views/shared/info_search.php | 2 | ||||
| -rw-r--r-- | app/views/shared/language_chooser.php | 2 | ||||
| -rw-r--r-- | app/views/shared/version/_versionmodule.php | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/app/views/shared/filter.php b/app/views/shared/filter.php index 04bab78..5869859 100644 --- a/app/views/shared/filter.php +++ b/app/views/shared/filter.php @@ -13,7 +13,7 @@ ) : ?> <div style="width: 100%; text-align: right;"> <a href="<?= $action_reset ?>"> - <?= Icon::create('refresh', 'clickable', ['title' => _('Filter zurücksetzen')])->asSvg(); ?> + <?= Icon::create('refresh', 'clickable', ['title' => _('Filter zurücksetzen')])->asImg(); ?> <?= _('Zurücksetzen') ?> </a> </div> diff --git a/app/views/shared/form_dokumente.php b/app/views/shared/form_dokumente.php index 48c64ed..1f3db9e 100644 --- a/app/views/shared/form_dokumente.php +++ b/app/views/shared/form_dokumente.php @@ -51,14 +51,14 @@ 'trash', Icon::ROLE_CLICKABLE, ['title' => _('Dokument entfernen')] - )->asSvg(); ?> + )->asImg(); ?> </a> <a href="#" class="mvv-item-edit-properties"> <?= Icon::create( 'edit', Icon::ROLE_CLICKABLE, ['title' => _('Kommentar bearbeiten')] - )->asSvg(); ?> + )->asImg(); ?> </a> </div> <fieldset class="mvv-item-document-comments" style="display: none;"> @@ -93,7 +93,7 @@ 'add', Icon::ROLE_CLICKABLE, ['title' => _('Neues Dokument anlegen')] - )->asSvg(); ?> + )->asImg(); ?> </a> </div> <div style="padding-top: 15px; width: 100%; max-width: 48em;"> diff --git a/app/views/shared/info_search.php b/app/views/shared/info_search.php index 3cdf95b..008d549 100644 --- a/app/views/shared/info_search.php +++ b/app/views/shared/info_search.php @@ -6,6 +6,6 @@ </script> <?= $search ?> <? if ($reset) : ?> - <a href="<?= $reset ?>"><?= Icon::create('refresh', 'clickable', ['title' => _('Suche zurücksetzen')])->asSvg(); ?></a> + <a href="<?= $reset ?>"><?= Icon::create('refresh', 'clickable', ['title' => _('Suche zurücksetzen')])->asImg(); ?></a> <? endif; ?> </form> diff --git a/app/views/shared/language_chooser.php b/app/views/shared/language_chooser.php index 9c231b7..85f1c06 100644 --- a/app/views/shared/language_chooser.php +++ b/app/views/shared/language_chooser.php @@ -8,7 +8,7 @@ </option> <? endforeach; ?> </select> - <span role="button" tabindex="0" class="mvv-inst-add-button"><?= Icon::create('arr_2up')->asSvg(['title' => _('Sprache zuordnen')]) ?></span> + <span role="button" tabindex="0" class="mvv-inst-add-button"><?= Icon::create('arr_2up')->asImg(['title' => _('Sprache zuordnen')]) ?></span> </div> <?= $addition ?> </div> diff --git a/app/views/shared/version/_versionmodule.php b/app/views/shared/version/_versionmodule.php index a7e4f1a..dfd8a84 100644 --- a/app/views/shared/version/_versionmodule.php +++ b/app/views/shared/version/_versionmodule.php @@ -79,7 +79,7 @@ foreach ($abschnitte as $abschnitt) { <?= htmlReady($abschnitt_modul->getDisplayName()) ?> </a> <a data-dialog="size=auto" title="<?= htmlReady($modul['name']) . ' (' . _('Vollständige Modulbeschreibung') . ')' ?>" href="<?= URLHelper::getLink('shared/modul/description/' . $modul_id) ?>"> - <?= Icon::create('info-circle', 'clickable', [])->asSvg(); ?> + <?= Icon::create('info-circle', 'clickable', [])->asImg(); ?> </a> </td> <? endif;?> |
