aboutsummaryrefslogtreecommitdiff
path: root/app/views/admin/sem_classes/details.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/admin/sem_classes/details.php
parentef89c567131c55840192820ed7510497d970f36d (diff)
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330 Merge request studip/studip!4802
Diffstat (limited to 'app/views/admin/sem_classes/details.php')
-rw-r--r--app/views/admin/sem_classes/details.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/sem_classes/details.php b/app/views/admin/sem_classes/details.php
index 8080920..d7e21d7 100644
--- a/app/views/admin/sem_classes/details.php
+++ b/app/views/admin/sem_classes/details.php
@@ -26,7 +26,7 @@
<div>
<span class="name"><?= htmlReady($sem_class['name']) ?></span>
<a href="#" class="sem_class_edit" onClick="jQuery(this).closest('label').children().toggle().find('input:visible').focus(); return false;">
- <?= Icon::create('edit')->asSvg(['class' => 'text-bottom']) ?>
+ <?= Icon::create('edit')->asImg(['class' => 'text-bottom']) ?>
</a>
</div>
@@ -42,7 +42,7 @@
<div>
<span class="description"><?= htmlReady($sem_class['description']) ?></span>
<a href="#" class="sem_class_edit" onClick="jQuery(this).closest('label').children().toggle().find('input:visible').focus(); return false;">
- <?= Icon::create('edit')->asSvg(['class' => 'text-bottom']) ?></a>
+ <?= Icon::create('edit')->asImg(['class' => 'text-bottom']) ?></a>
</div>
<div class="description_input" style="display: none;">
<input id="sem_class_description" type="text" value="<?= htmlReady($sem_class['description']) ?>" onBlur="jQuery(this).closest('label.sem_class_name').children().toggle().find('.description').text(this.value);" style="width: 80%;">
@@ -60,11 +60,11 @@
<div class="add">
<div style="display: none; margin-left: 37px;">
<input type="text" id="new_sem_type" onBlur="if (!this.value) jQuery(this).closest('.add').children().toggle();">
- <a href="" onClick="STUDIP.admin_sem_class.add_sem_type(); return false;"><?= Icon::create('arr_2up', 'sort')->asSvg(['class' => 'text-bottom', 'title' => _('hinzufügen')]) ?></a>
+ <a href="" onClick="STUDIP.admin_sem_class.add_sem_type(); return false;"><?= Icon::create('arr_2up', 'sort')->asImg(['class' => 'text-bottom', 'title' => _('hinzufügen')]) ?></a>
</div>
<div style="margin-left: 21px;">
<a href="#" onClick="jQuery(this).closest('.add').children().toggle(); jQuery('#new_sem_type').focus(); return false;">
- <?= Icon::create('add')->asSvg([
+ <?= Icon::create('add')->asImg([
'class' => 'text-bottom',
'title' => _('Veranstaltungstyp hinzufügen'),
]) ?>