diff options
Diffstat (limited to 'app/views/messages')
| -rw-r--r-- | app/views/messages/_message_row.php | 4 | ||||
| -rw-r--r-- | app/views/messages/overview.php | 10 | ||||
| -rw-r--r-- | app/views/messages/write.php | 18 |
3 files changed, 16 insertions, 16 deletions
diff --git a/app/views/messages/_message_row.php b/app/views/messages/_message_row.php index 4e2f019..a481aa3 100644 --- a/app/views/messages/_message_row.php +++ b/app/views/messages/_message_row.php @@ -9,8 +9,8 @@ <a href="<?= URLHelper::getLink('dispatch.php/messages/read/' . $message->getId() .'/' . ($received ? 'rec' : 'snd') ) ?>" data-dialog> <?= trim($message['subject']) ? htmlReady($message['subject']) : htmlReady(mila(kill_format($message['message']), 40)) ?> <div class="message-indicators"> - <span><?= $message->getNumAttachments() ? Icon::create('staple', Icon::ROLE_INFO)->asSvg(['title' => _('Mit Anhang')]) : '' ?></span> - <span><?= $message->isAnswered($GLOBALS['user']->id) ? Icon::create('outbox', Icon::ROLE_INFO)->asSvg(['title' => _('Beantwortet')]) : '' ?></span> + <span><?= $message->getNumAttachments() ? Icon::create('staple', Icon::ROLE_INFO)->asImg(['title' => _('Mit Anhang')]) : '' ?></span> + <span><?= $message->isAnswered($GLOBALS['user']->id) ? Icon::create('outbox', Icon::ROLE_INFO)->asImg(['title' => _('Beantwortet')]) : '' ?></span> </div> </a> <p class="hidden-medium-up responsive_author"> diff --git a/app/views/messages/overview.php b/app/views/messages/overview.php index 5e9bd17..989acbe 100644 --- a/app/views/messages/overview.php +++ b/app/views/messages/overview.php @@ -45,11 +45,11 @@ <tr> <td colspan="8"> <? if (Request::int("offset") > 0) : ?> - <a title="<?= _('Zurück') ?>" href="<?= URLHelper::getLink('?', ['offset' => Request::int('offset') - $messageBufferCount > 0 ? Request::int('offset') - $messageBufferCount : null]) ?>"><?= Icon::create('arr_1left', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a title="<?= _('Zurück') ?>" href="<?= URLHelper::getLink('?', ['offset' => Request::int('offset') - $messageBufferCount > 0 ? Request::int('offset') - $messageBufferCount : null]) ?>"><?= Icon::create('arr_1left', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> <? endif ?> <? if (!empty($more)) : ?> <div style="float:right"> - <a title="<?= _("weiter") ?>" href="<?= URLHelper::getLink("?", ['offset' => Request::int("offset") + $messageBufferCount]) ?>"><?= Icon::create('arr_1right', 'clickable')->asSvg(["class" => "text-bottom"]) ?></a> + <a title="<?= _("weiter") ?>" href="<?= URLHelper::getLink("?", ['offset' => Request::int("offset") + $messageBufferCount]) ?>"><?= Icon::create('arr_1right', 'clickable')->asImg(["class" => "text-bottom"]) ?></a> </div> <? endif ?> </td> @@ -64,11 +64,11 @@ <tr> <td colspan="7"> <? if (Request::int("offset") > 0) : ?> - <a title="<?= _('Zurück') ?>" href="<?= URLHelper::getLink('?', ['offset' => Request::int('offset') - $messageBufferCount > 0 ? Request::int('offset') - $messageBufferCount : null]) ?>"><?= Icon::create('arr_1left', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a title="<?= _('Zurück') ?>" href="<?= URLHelper::getLink('?', ['offset' => Request::int('offset') - $messageBufferCount > 0 ? Request::int('offset') - $messageBufferCount : null]) ?>"><?= Icon::create('arr_1left', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> <? endif ?> <? if (!empty($more)) : ?> <div style="float:right"> - <a title="<?= _('Weiter') ?>" href="<?= URLHelper::getLink('?', ['offset' => Request::int('offset') + $messageBufferCount]) ?>"><?= Icon::create('arr_1right', 'clickable')->asSvg(['class' => 'text-bottom']) ?></a> + <a title="<?= _('Weiter') ?>" href="<?= URLHelper::getLink('?', ['offset' => Request::int('offset') + $messageBufferCount]) ?>"><?= Icon::create('arr_1right', 'clickable')->asImg(['class' => 'text-bottom']) ?></a> </div> <? endif ?> </td> @@ -90,7 +90,7 @@ <div style="display: none; background-color: rgba(255,255,255, 0.3); padding: 3px; border-radius: 5px; border: thin solid black;" id="move_handle"> - <?= Icon::create('mail')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('mail')->asImg(['class' => 'text-bottom']) ?> <span class="title"></span> </div> 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> |
