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/messages/write.php | |
| parent | 6a14782858a297ead2f509652ce914d8aefb5531 (diff) | |
deprecate asSvg in favor of asImg, fixes #6330
Closes #6330
Merge request studip/studip!4802
Diffstat (limited to 'app/views/messages/write.php')
| -rw-r--r-- | app/views/messages/write.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app/views/messages/write.php b/app/views/messages/write.php index f63b3c4..58ff6c0 100644 --- a/app/views/messages/write.php +++ b/app/views/messages/write.php @@ -8,7 +8,7 @@ class="validation_notes studip"> <header> <h1> - <?= Icon::create('info-circle', Icon::ROLE_INFO)->asSvg(['class' => 'text-bottom validation_notes_icon']) ?> + <?= Icon::create('info-circle', Icon::ROLE_INFO)->asImg(['class' => 'text-bottom validation_notes_icon']) ?> <?= _('Hinweise zum Ausfüllen des Formulars') ?> </h1> </header> @@ -36,7 +36,7 @@ <li id="template_adressee" style="display: none;" class="adressee"> <input type="hidden" name="message_to[]" value=""> <span class="visual"></span> - <a class="remove_adressee"><?= Icon::create('trash', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a class="remove_adressee"><?= Icon::create('trash', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> </li> <? foreach ($default_message->getRecipients() as $user) : ?> <li class="adressee"> @@ -44,7 +44,7 @@ <span class="visual"> <?= htmlReady($user['fullname']) ?> </span> - <a class="remove_adressee"><?= Icon::create('trash', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a class="remove_adressee"><?= Icon::create('trash', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> </li> <? endforeach ?> </ul> @@ -92,7 +92,7 @@ <a href="" onClick="STUDIP.Messages.toggleSetting('attachments'); return false;" aria-expanded="false" role="button" title="<?= _('Anhänge verwalten') ?>" aria-controls="attachments" id="toggle-attachments"> - <?= Icon::create('staple')->asSvg(40) ?> + <?= Icon::create('staple')->asImg(40) ?> <br> <strong><?= _('Anhänge') ?></strong> </a> @@ -101,7 +101,7 @@ <li> <a href="" onClick="STUDIP.Messages.toggleSetting('tags'); return false;" aria-expanded="false" role="button" title="<?= _('Schlagworte verwalten') ?>" aria-controls="tags" id="toggle-tags"> - <?= Icon::create('star')->asSvg(40) ?> + <?= Icon::create('star')->asImg(40) ?> <br> <strong><?= _('Schlagworte') ?></strong> </a> @@ -109,7 +109,7 @@ <li> <a href="" onClick="STUDIP.Messages.toggleSetting('settings'); return false;" aria-expanded="false" role="button" title="<?= _('Optionen') ?>" aria-controls="settings" id="toggle-settings"> - <?= Icon::create('admin', 'clickable')->asSvg(40) ?> + <?= Icon::create('admin', 'clickable')->asImg(40) ?> <br> <strong><?= _('Optionen') ?></strong> </a> @@ -126,7 +126,7 @@ <span class="icon"></span> <span class="name"></span> <span class="size"></span> - <a class="remove_attachment"><?= Icon::create('trash', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a class="remove_attachment"><?= Icon::create('trash', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> </li> <? if ($default_attachments) : ?> <? foreach ($default_attachments as $a) : ?> @@ -134,7 +134,7 @@ <span class="icon"><?=$a['icon']?></span> <span class="name"><?=$a['name']?></span> <span class="size"><?=$a['size']?></span> - <a class="remove_attachment"><?= Icon::create('trash', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a class="remove_attachment"><?= Icon::create('trash', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> </li> <? endforeach ?> <? endif ?> @@ -147,7 +147,7 @@ </div> <label > <input type="file" id="fileupload" multiple onChange="STUDIP.Messages.upload_from_input(this);" style="display: none;"> - <?= Icon::create('upload')->asSvg(['title' => _('Datei hochladen'), 'class' => 'text-bottom']) ?> + <?= Icon::create('upload')->asImg(['title' => _('Datei hochladen'), 'class' => 'text-bottom']) ?> <?= _('Datei hochladen') ?> </label> |
