aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-05 13:15:41 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-03-05 13:15:41 +0100
commitdbf890b6d4e5fe58e1bf46a2ae507ee6cbf5b9a6 (patch)
tree6038e7bf13f15a83069b82419d2187166a33f3ef
parente783563f7d4d8404a2e3ff1abef2f320b6a5916f (diff)
fix syntax error on branch 6.0 from 7c5e5c9a6344e347b778d055da57f176788a66f5, re #6070
-rw-r--r--templates/login/_header_contrast.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/login/_header_contrast.php b/templates/login/_header_contrast.php
index d98db07..38f98c3 100644
--- a/templates/login/_header_contrast.php
+++ b/templates/login/_header_contrast.php
@@ -4,11 +4,11 @@
<input type="hidden" name="page" value="<?= Request::url() ?>">
<div id="contrast">
<? if (!empty($_SESSION['contrast'])): ?>
- <?= Icon::create('accessibility', Icon::ROLE_INFO_ALT)->asSvg(24) ?>
+ <?= Icon::create('accessibility', Icon::ROLE_INFO_ALT)->asImg(24) ?>
<button class="as-link" name="unset_contrast"><?= _('Normalen Kontrast aktivieren') ?></button>
<?= tooltipIcon(_('Aktiviert standardmäßige, nicht barrierefreie Kontraste.'), false, false, true); ?>
<? else: ?>
- <?= Icon::create('accessibility', Icon::ROLE_INFO_ALT)->asSvg(24) ?>
+ <?= Icon::create('accessibility', Icon::ROLE_INFO_ALT)->asImg(24) ?>
<button class="as-link" name="set_contrast"><?= _('Hohen Kontrast aktivieren') ?></button>
<?= tooltipIcon(_('Aktiviert einen hohen Kontrast gemäß WCAG 2.1. Diese Einstellung wird nach dem Login übernommen.
Sie können sie in Ihren persönlichen Einstellungen ändern.'), false, false, true); ?>