diff options
Diffstat (limited to 'app/views/course')
28 files changed, 46 insertions, 46 deletions
diff --git a/app/views/course/basicdata/view.php b/app/views/course/basicdata/view.php index 4b8dac3..62c0620 100644 --- a/app/views/course/basicdata/view.php +++ b/app/views/course/basicdata/view.php @@ -133,12 +133,12 @@ $dialog_attr = Request::isXhr() ? ' data-dialog="size=50%"' : ''; <? if ($perm_dozent && !$dozent_is_locked): ?> <? if ($num > 0) : ?> <button class="as-link" formaction="<?= $controller->link_for('course/basicdata/priorityupfor', $course_id, $dozent['user_id'], 'dozent') ?>" <?= $dialog_attr ?>> - <?= Icon::create('arr_2up', Icon::ROLE_SORT)->asSvg(['class' => 'middle']) ?> + <?= Icon::create('arr_2up', Icon::ROLE_SORT)->asImg(['class' => 'middle']) ?> </button> <? endif; ?> <? if ($num < count($dozenten) - 1): ?> <button class="as-link" formaction="<?= $controller->link_for('course/basicdata/prioritydownfor', $course_id, $dozent['user_id'], 'dozent') ?>" <?= $dialog_attr ?>> - <?= Icon::create('arr_2down', Icon::ROLE_SORT)->asSvg(['class' => 'middle']) ?> + <?= Icon::create('arr_2down', Icon::ROLE_SORT)->asImg(['class' => 'middle']) ?> </button> <? endif; ?> <?= Icon::create('trash')->asInput([ @@ -270,12 +270,12 @@ $dialog_attr = Request::isXhr() ? ' data-dialog="size=50%"' : ''; <? if ($perm_dozent && !$tutor_is_locked): ?> <? if ($num > 0) : ?> <button class="as-link" formaction="<?= $controller->link_for('course/basicdata/priorityupfor', $course_id, $tutor['user_id'], 'tutor') ?>" <?= $dialog_attr ?>> - <?= Icon::create('arr_2up', Icon::ROLE_SORT)->asSvg(['class' => 'middle']) ?> + <?= Icon::create('arr_2up', Icon::ROLE_SORT)->asImg(['class' => 'middle']) ?> </button> <? endif; ?> <? if ($num < count($tutoren) - 1) : ?> <button class="as-link" formaction="<?= $controller->link_for('course/basicdata/prioritydownfor', $course_id, $tutor['user_id'], 'tutor') ?>" <?= $dialog_attr ?>> - <?= Icon::create('arr_2down', Icon::ROLE_SORT)->asSvg(['class' => 'middle']) ?> + <?= Icon::create('arr_2down', Icon::ROLE_SORT)->asImg(['class' => 'middle']) ?> </button> <? endif; ?> <?= Icon::create('trash')->asInput([ diff --git a/app/views/course/contentmodules/info.php b/app/views/course/contentmodules/info.php index 97dc2b0..48323c4 100644 --- a/app/views/course/contentmodules/info.php +++ b/app/views/course/contentmodules/info.php @@ -12,7 +12,7 @@ <div class="header"> <div class="image"> <? if ($metadata['icon']): ?> - <?= $metadata['icon']->copyWithRole(Icon::ROLE_INFO)->asSvg(100) ?> + <?= $metadata['icon']->copyWithRole(Icon::ROLE_INFO)->asImg(100) ?> <? endif; ?> </div> <div class="text"> diff --git a/app/views/course/dates/_date_row-exdate.php b/app/views/course/dates/_date_row-exdate.php index e47c999..2a179ef 100644 --- a/app/views/course/dates/_date_row-exdate.php +++ b/app/views/course/dates/_date_row-exdate.php @@ -1,6 +1,6 @@ <tr id="date_<?= $date->id ?>" class="ausfall" data-termin-id="<?= htmlReady($date->id) ?>"> <td data-sort-value="<?= htmlReady($date->date) ?>" class="date_name"> - <?= Icon::create('date', Icon::ROLE_INFO)->asSvg(Icon::SIZE_INLINE, ['class' => 'text-bottom']) ?> + <?= Icon::create('date', Icon::ROLE_INFO)->asImg(Icon::SIZE_INLINE, ['class' => 'text-bottom']) ?> <?= htmlReady($date->getFullName()) ?> <?= tooltipIcon($date->content) ?> <? if (count($date->dozenten) > 0): ?> diff --git a/app/views/course/dates/_date_row.php b/app/views/course/dates/_date_row.php index 4238af3..7ba718c 100644 --- a/app/views/course/dates/_date_row.php +++ b/app/views/course/dates/_date_row.php @@ -18,7 +18,7 @@ $dialog_url = $show_raumzeit <tr id="date_<?= $date->id ?>" <? if (!empty($is_next_date)) echo 'class="nextdate" title="' . _('Der nächste Termin') . '"'; ?> data-termin-id="<?= htmlReady($date->id) ?>"> <td data-sort-value="<?= htmlReady($date->date) ?>" class="date_name"> <a href="<?= $dialog_url ?>" data-dialog> - <?= Icon::create($icon)->asSvg(Icon::SIZE_INLINE,['class' => 'text-bottom']) ?> + <?= Icon::create($icon)->asImg(Icon::SIZE_INLINE,['class' => 'text-bottom']) ?> <?= htmlReady($date->getFullName(CourseDate::FORMAT_VERBOSE)) ?> </a> <? if (count($date->dozenten) > 0): ?> @@ -59,7 +59,7 @@ $dialog_url = $show_raumzeit <? foreach ($rooms as $room) : ?> <span class="no-break"> <a href="<?= $room->getActionLink('show') ?>" data-dialog> - <?= Icon::create('link-intern')->asImg(16, ['class' => 'text-bottom']) ?> + <?= Icon::create('link-intern')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($room->name) ?> </a> </span> diff --git a/app/views/course/dates/_topic_li.php b/app/views/course/dates/_topic_li.php index 9353ddb..88e267f 100644 --- a/app/views/course/dates/_topic_li.php +++ b/app/views/course/dates/_topic_li.php @@ -1,11 +1,11 @@ <li data-issue_id="<?= $topic->id ?>" class="topic_<?= $date->id ?>_<?= $topic->id ?>"> <a href="<?= $controller->url_for("course/topics#{$topic->id}", ['open' => $topic->id]) ?>" class="title"> - <?= Icon::create('topic')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('topic')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($topic['title']) ?> </a> <? if ($has_access) : ?> <a href="#" onClick="STUDIP.Dates.removeTopicFromIcon.call(this); return false;"> - <?= Icon::create('trash')->asSvg(['class' => 'text-bottom'] + tooltip2(_('Thema entfernen'))) ?> + <?= Icon::create('trash')->asImg(['class' => 'text-bottom'] + tooltip2(_('Thema entfernen'))) ?> </a> <? endif ?> </li> diff --git a/app/views/course/dates/current_day_dates.php b/app/views/course/dates/current_day_dates.php index 38a1299..9a79b8b 100644 --- a/app/views/course/dates/current_day_dates.php +++ b/app/views/course/dates/current_day_dates.php @@ -12,7 +12,7 @@ <? foreach ($dates as $date): ?> <tr> <td class="date_name"> - <?= Icon::create('date')->asSvg(Icon::SIZE_INLINE, ['class' => 'text-bottom']) ?> + <?= Icon::create('date')->asImg(Icon::SIZE_INLINE, ['class' => 'text-bottom']) ?> <?= htmlReady($date->getFullName(CourseDate::FORMAT_VERBOSE)) ?> </td> <td> diff --git a/app/views/course/details/index.php b/app/views/course/details/index.php index d418997..934d251 100644 --- a/app/views/course/details/index.php +++ b/app/views/course/details/index.php @@ -340,7 +340,7 @@ <a class="module-info" href="<?= URLHelper::getLink($module['nav']->getUrl())?>"> <?= htmlReady($module['title']) ?> <? if ($module['nav']->getImage()) : ?> - <?= $module['nav']->getImage()->asSvg($module['nav']->getLinkAttributes()) ?> + <?= $module['nav']->getImage()->asImg($module['nav']->getLinkAttributes()) ?> <? endif ?> <span><?= htmlReady($module['nav']->getTitle())?></span> </a> diff --git a/app/views/course/ilias_interface/add_object.php b/app/views/course/ilias_interface/add_object.php index 6e015a7..ddb4fed 100644 --- a/app/views/course/ilias_interface/add_object.php +++ b/app/views/course/ilias_interface/add_object.php @@ -85,7 +85,7 @@ <? foreach ($ilias_modules as $module_id => $module) : ?> <tr> <td> - <?= Icon::create('learnmodule')->asSvg([ + <?= Icon::create('learnmodule')->asImg([ 'title' => $module->getModuleTypeName(), ]) ?> </td> diff --git a/app/views/course/management/index.php b/app/views/course/management/index.php index 06fabf7..c7ab4bf 100644 --- a/app/views/course/management/index.php +++ b/app/views/course/management/index.php @@ -5,7 +5,7 @@ <a href="<?= URLHelper::getLink($nav->getURL()) ?>"> <h3> <? if ($nav->getImage()): ?> - <?= $nav->getImage()->asSvg(false, $nav->getLinkAttributes()) ?> + <?= $nav->getImage()->asImg(false, $nav->getLinkAttributes()) ?> <? endif; ?> <?= htmlReady($nav->getTitle()) ?> </h3> diff --git a/app/views/course/statusgroups/_group.php b/app/views/course/statusgroups/_group.php index 3649e9b..8cc8a5a 100644 --- a/app/views/course/statusgroups/_group.php +++ b/app/views/course/statusgroups/_group.php @@ -20,7 +20,7 @@ <a class="no-contentbox-link" href="<?= $controller->url_for('course/statusgroups/groupinfo', $group->id) ?>" data-dialog="size=auto"> - <?= Icon::create('info-circle')->asSvg([ + <?= Icon::create('info-circle')->asImg([ 'title' => sprintf(_('Informationen zu %s'), $group->name) ]) ?> </a> @@ -137,7 +137,7 @@ 'course_id' => $course_id, 'default_subject' => $course_title.' ('.$group->name.')' ]) ?>" data-dialog="size=auto;"> - <?= Icon::create('mail')->asSvg(['title' => _('Nachricht an alle nicht zugeordneten Personen schicken')]) ?> + <?= Icon::create('mail')->asImg(['title' => _('Nachricht an alle nicht zugeordneten Personen schicken')]) ?> </a> </nav> <?php endif ?> diff --git a/app/views/course/studygroup/_members_gallery.php b/app/views/course/studygroup/_members_gallery.php index 0c98c26..52a81f9 100644 --- a/app/views/course/studygroup/_members_gallery.php +++ b/app/views/course/studygroup/_members_gallery.php @@ -15,7 +15,7 @@ <div> <a href="<?= $controller->link_for('messages/write', ['rec_uname' => $m['username']]) ?>" data-dialog="size=50%"> - <?= Icon::create('mail')->asSvg(['title' => _('Nachricht schreiben')]) ?> + <?= Icon::create('mail')->asImg(['title' => _('Nachricht schreiben')]) ?> </a> <? if ($GLOBALS['perm']->have_studip_perm('tutor', $sem_id)): ?> <?= $this->render_partial('course/studygroup/_members_options.php', compact('m')) ?> diff --git a/app/views/course/studygroup/_members_list.php b/app/views/course/studygroup/_members_list.php index a8cec1e..c1dbc26 100644 --- a/app/views/course/studygroup/_members_list.php +++ b/app/views/course/studygroup/_members_list.php @@ -51,7 +51,7 @@ <td class="actions"> <a href="<?= $controller->link_for('messages/write', ['rec_uname' => $m['username']]) ?>" data-dialog="size=50%"> - <?= Icon::create('mail')->asSvg(['title' => _('Nachricht schreiben')]) ?> + <?= Icon::create('mail')->asImg(['title' => _('Nachricht schreiben')]) ?> </a> <? if ($GLOBALS['perm']->have_studip_perm('tutor', $sem_id)) : ?> <?= $this->render_partial('course/studygroup/_members_options.php', compact('m')) ?> diff --git a/app/views/course/studygroup/_members_options.php b/app/views/course/studygroup/_members_options.php index bad7242..76b6dd8 100644 --- a/app/views/course/studygroup/_members_options.php +++ b/app/views/course/studygroup/_members_options.php @@ -1,18 +1,18 @@ <? if ($GLOBALS['perm']->have_studip_perm('dozent', $sem_id) && $GLOBALS['perm']->have_studip_perm('tutor', $sem_id, $m['user_id'])) : ?> <a href="<?= $controller->link_for('course/studygroup/edit_members/downgrade', $type, ['user' => $m['username']]) ?>" data-confirm="<?= _('Wollen Sie die Person wirklich runterstufen?') ?>"> - <?= Icon::create('arr_2down')->asSvg(['title' => _('Runterstufen')]) ?> + <?= Icon::create('arr_2down')->asImg(['title' => _('Runterstufen')]) ?> </a> <? endif ?> <? if ($GLOBALS['perm']->have_studip_perm('dozent', $sem_id) && !$GLOBALS['perm']->have_studip_perm('dozent', $sem_id, $m['user_id'])) : ?> <a href="<?= $controller->link_for('course/studygroup/edit_members/promote', $type, ['user' => $m['username']]) ?>" data-confirm="<?= _('Wollen Sie die Person wirklich hochstufen?') ?>"> - <?= Icon::create('arr_2up')->asSvg(['title' => _('Hochstufen')])?> + <?= Icon::create('arr_2up')->asImg(['title' => _('Hochstufen')])?> </a> <? endif ?> <? if ($m['user_id'] !== $GLOBALS['user']->id && $GLOBALS['perm']->have_studip_perm('dozent', $sem_id)): ?> <a href="<?= $controller->link_for('course/studygroup/edit_members/remove', ['user' => $m['username']]) ?>" data-confirm="<?= _('Möchten Sie die Person wirklich aus der Studiengruppe entfernen?') ?>"> - <?= Icon::create('trash')->asSvg(['title' => _('Entfernen')])?> + <?= Icon::create('trash')->asImg(['title' => _('Entfernen')])?> </a> <? endif; ?> diff --git a/app/views/course/studygroup/members.php b/app/views/course/studygroup/members.php index 060f339..503991d 100644 --- a/app/views/course/studygroup/members.php +++ b/app/views/course/studygroup/members.php @@ -88,11 +88,11 @@ </td> <td class="actions"> <a href="<?= $controller->edit_members('accept', ['user' => $p->username]) ?>"> - <?= Icon::create('accept')->asSvg(['title' => _('Eintragen')]) ?> + <?= Icon::create('accept')->asImg(['title' => _('Eintragen')]) ?> </a> <a href="<?= $controller->edit_members('deny', ['user' => $p->username]) ?>" data-confirm="<?= _('Wollen Sie die Mitgliedschaft wirklich ablehnen?') ?>"> - <?= Icon::create('trash')->asSvg(['title' => _('Mitgliedschaft ablehnen')]) ?> + <?= Icon::create('trash')->asImg(['title' => _('Mitgliedschaft ablehnen')]) ?> </a> </td> </tr> @@ -156,7 +156,7 @@ </td> <td class="actions"> <a href="<?= $controller->edit_members('cancelInvitation', ['user' => $p->user->username]) ?>" data-confirm="<?= _('Wollen Sie die Einladung wirklich löschen?') ?>"> - <?= Icon::create('trash')->asSvg(['title' => _('Einladung löschen')]) ?> + <?= Icon::create('trash')->asImg(['title' => _('Einladung löschen')]) ?> </a> </td> </tr> diff --git a/app/views/course/studygroup/widget.php b/app/views/course/studygroup/widget.php index cf0f787..7e68922 100644 --- a/app/views/course/studygroup/widget.php +++ b/app/views/course/studygroup/widget.php @@ -3,10 +3,10 @@ <h1> <? if ($course->isStudygroup()) : ?> - <?= Icon::create('seminar', Icon::ROLE_INFO)->asSvg(['class' => "text-bottom"]) ?> + <?= Icon::create('seminar', Icon::ROLE_INFO)->asImg(['class' => "text-bottom"]) ?> <?= _('Zugehörige Veranstaltung') ?> <? else : ?> - <?= Icon::create('studygroup', Icon::ROLE_INFO)->asSvg(['class' => "text-bottom"]) ?> + <?= Icon::create('studygroup', Icon::ROLE_INFO)->asImg(['class' => "text-bottom"]) ?> <?= _('Verknüpfte Studiengruppen') ?> <? endif ?> </h1> diff --git a/app/views/course/timesrooms/_cycleRow.php b/app/views/course/timesrooms/_cycleRow.php index c6495be..3e002f3 100644 --- a/app/views/course/timesrooms/_cycleRow.php +++ b/app/views/course/timesrooms/_cycleRow.php @@ -70,7 +70,7 @@ $is_exTermin = $termin instanceof CourseExDate; <span class="no-break"> <a href="<?= $room->getActionLink('booking_plan', ['defaultDate' => date('Y-m-d', $termin->date)]) ?>" data-dialog="size=big"> - <?= Icon::create('link-intern')->asImg(16, ['class' => 'text-bottom']) ?> + <?= Icon::create('link-intern')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($room->getFullName()) ?> </a> </span> diff --git a/app/views/course/timesrooms/_regularEvents.php b/app/views/course/timesrooms/_regularEvents.php index 0fd733a..62e59b2 100644 --- a/app/views/course/timesrooms/_regularEvents.php +++ b/app/views/course/timesrooms/_regularEvents.php @@ -42,7 +42,7 @@ tabindex="0" data-tooltip aria-label="<?= htmlReady($booking_status_message) ?>"> - <?= $booking_status_icon->asSvg(['class' => 'text-bottom']) ?> + <?= $booking_status_icon->asImg(['class' => 'text-bottom']) ?> <span class="tooltip-content"><?= $booking_status_message ?></span> </span> <a href="<?= ContentBoxHelper::href($metadate_id) ?>"> diff --git a/app/views/course/timesrooms/_roomRequest.php b/app/views/course/timesrooms/_roomRequest.php index 5902e5f..ffa72b0 100644 --- a/app/views/course/timesrooms/_roomRequest.php +++ b/app/views/course/timesrooms/_roomRequest.php @@ -59,7 +59,7 @@ <a class="load-in-new-row" href="<?= $controller->link_for('course/room_requests/info/' . $rr->id) ?>" aria-expanded="false"> - <?= Icon::create('info')->asSvg(['title' => _('Weitere Informationen einblenden')]) ?> + <?= Icon::create('info')->asImg(['title' => _('Weitere Informationen einblenden')]) ?> </a> <? $params = [] ?> <? $dialog = []; ?> diff --git a/app/views/course/topics/_dates.php b/app/views/course/topics/_dates.php index 4fc37f6..739b802 100644 --- a/app/views/course/topics/_dates.php +++ b/app/views/course/topics/_dates.php @@ -5,7 +5,7 @@ data-dialog="size=auto" style="white-space: nowrap" > - <?= Icon::create('date')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('date')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($date->getFullName()) ?> </a> </li> diff --git a/app/views/course/topics/_material.php b/app/views/course/topics/_material.php index 5e853ce..8f83a47 100644 --- a/app/views/course/topics/_material.php +++ b/app/views/course/topics/_material.php @@ -8,7 +8,7 @@ aria-label="<?= $folder_label ?>" title="<?= $folder_label ?>" > - <?= $folder->getTypedFolder()->getIcon('clickable')->asSvg(['class' => 'text-bottom']) ?> + <?= $folder->getTypedFolder()->getIcon('clickable')->asImg(['class' => 'text-bottom']) ?> <span class="<?= $always_show ? '' : 'responsive-hidden' ?>"> <?= _('Dateiordner') ?> </span> @@ -24,7 +24,7 @@ aria-label="<?= $ftopic_label ?>" title="<?= $ftopic_label ?>" > - <?= Icon::create('forum')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('forum')->asImg(['class' => 'text-bottom']) ?> <span class="<?= $always_show ? '' : 'responsive-hidden' ?>"> <?= _('Thema im Forum') ?> </span> diff --git a/app/views/course/topics/edit.php b/app/views/course/topics/edit.php index 88b5316..a6b897e 100644 --- a/app/views/course/topics/edit.php +++ b/app/views/course/topics/edit.php @@ -26,7 +26,7 @@ <label> <? $folder = $topic->folders->first() ?> <? if ($folder) : ?> - <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?> <?= _('Dateiordner vorhanden') ?> <? else : ?> <input type="checkbox" name="folder" id="topic_folder" value="1"> @@ -38,7 +38,7 @@ <? if ($forum_activated) : ?> <label> <? if ($topic->forum_thread_url) : ?> - <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('accept', Icon::ROLE_ACCEPT)->asImg(['class' => 'text-bottom']) ?> <?= _('Forenthema vorhanden') ?> <? else : ?> <input type="checkbox" name="forumthread" id="topic_forumthread" value="1"> @@ -52,14 +52,14 @@ <label> <input type="checkbox" name="date[<?= htmlReady($date->id) ?>]" value="1" class="text-bottom" <? if (in_array($date->id, $date_ids)) echo 'checked'; ?>> - <?= Icon::create('date', Icon::ROLE_INFO)->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('date', Icon::ROLE_INFO)->asImg(['class' => 'text-bottom']) ?> <?= floor($date['date'] / 86400) !== floor($date['end_time'] / 86400) ? date("d.m.Y, H:i", $date['date'])." - ".date("d.m.Y, H:i", $date['end_time']) : date("d.m.Y, H:i", $date['date'])." - ".date("H:i", $date['end_time']) ?> <? if (count($date->topics) > 0) : ?> ( <? foreach ($date->topics as $key => $localtopic) : ?> <a href="<?= $controller->index(['open' => $localtopic->id]) ?>"> - <?= Icon::create('topic')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('topic')->asImg(['class' => 'text-bottom']) ?> <?= htmlReady($localtopic->title) ?> </a> <? endforeach ?> diff --git a/app/views/course/topics/index.php b/app/views/course/topics/index.php index 29a9d98..1577a2d 100644 --- a/app/views/course/topics/index.php +++ b/app/views/course/topics/index.php @@ -48,7 +48,7 @@ use Studip\Button; <?= htmlReady($topic['title']) ?> </a> <? if ($topic->paper_related): ?> - <?= Icon::create('info-circle')->asSvg(array_merge( + <?= Icon::create('info-circle')->asImg(array_merge( tooltip2(_('Thema behandelt eine Hausarbeit oder ein Referat')) )) ?> <? endif ?> diff --git a/app/views/course/wiki/ask_deleting.php b/app/views/course/wiki/ask_deleting.php index 59d9145..915e689 100644 --- a/app/views/course/wiki/ask_deleting.php +++ b/app/views/course/wiki/ask_deleting.php @@ -15,7 +15,7 @@ data-confirm="<?= _('Wirklich die letzte Änderung löschen?') ?>" formaction="<?= $controller->deleteversionURL($page, ['redirect_to' => 'page']) ?>" > - <?= Icon::create('archive2')->asSvg(50) ?> + <?= Icon::create('archive2')->asImg(50) ?> <?= _('Nur die letzte Änderung löschen') ?> </button> </div> @@ -27,7 +27,7 @@ data-confirm="<?= _('Wollen Sie wirklich die komplette Seite löschen?') ?>" formaction="<?= $controller->deleteURL($page) ?>" > - <?= Icon::create('wiki')->asSvg(50) ?> + <?= Icon::create('wiki')->asImg(50) ?> <?= _('Ganze Wikiseite löschen') ?> </button> </div> diff --git a/app/views/course/wiki/blame.php b/app/views/course/wiki/blame.php index 933c425..6a06985 100644 --- a/app/views/course/wiki/blame.php +++ b/app/views/course/wiki/blame.php @@ -26,7 +26,7 @@ href="<?= $controller->versiondiff(!$version || is_a($version, WikiPage::class) ? $version : $version->page, is_a($version, WikiVersion::class) ? $version->id : null) ?>" data-dialog title="<?= _('Änderungen anzeigen') ?>"> - <?= Icon::create('log')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('log')->asImg(['class' => 'text-bottom']) ?> </a> <div class="content"> <?= wikiReady($collect) ?> diff --git a/app/views/course/wiki/history.php b/app/views/course/wiki/history.php index f581ce2..bf1d163 100644 --- a/app/views/course/wiki/history.php +++ b/app/views/course/wiki/history.php @@ -43,7 +43,7 @@ <td data-sort-value="<?= $page->chdate ?>"><?= $page->chdate > 0 ? date('d.m.Y H:i:s', $page->chdate) : _('unbekannt') ?></td> <td class="actions"> <a href="<?= $controller->versiondiff($page) ?>" data-dialog> - <?= Icon::create('log')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('log')->asImg(['class' => 'text-bottom']) ?> </a> </td> </tr> @@ -67,7 +67,7 @@ <td><?= $version->mkdate > 0 ? date('d.m.Y H:i:s', $version->mkdate) : _('unbekannt') ?></td> <td class="actions"> <a href="<?= $controller->versiondiff($page, $version->id) ?>" data-dialog> - <?= Icon::create('log')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('log')->asImg(['class' => 'text-bottom']) ?> </a> </td> </tr> diff --git a/app/views/course/wiki/import.php b/app/views/course/wiki/import.php index 7984dd3..7c602ef 100644 --- a/app/views/course/wiki/import.php +++ b/app/views/course/wiki/import.php @@ -29,14 +29,14 @@ <? if ($bad_course_search): ?> <a href="<?= $controller->import() ?>" data-dialog="1"> - <?= Icon::create('decline')->asSvg([ + <?= Icon::create('decline')->asImg([ 'class' => 'text-bottom', 'title' => _('Suche zurücksetzen'), 'onclick' => "STUDIP.QuickSearch.reset('wiki_import_form', 'selected_range_id');" ]) ?> </a> <? else : ?> - <?= Icon::create('search')->asSvg([ + <?= Icon::create('search')->asImg([ 'class' => 'text-bottom', 'title' => _('Suche starten'), 'onclick' => "jQuery(this).closest('form').submit();" diff --git a/app/views/course/wiki/newpages.php b/app/views/course/wiki/newpages.php index 8b2663a..e6b9893 100644 --- a/app/views/course/wiki/newpages.php +++ b/app/views/course/wiki/newpages.php @@ -102,7 +102,7 @@ <a href="<?= $controller->versiondiff($page, is_a($version, 'WikiVersion') ? $version->id : null) ?>" title="<?= _('Einzelne Änderung anzeigen') ?>" data-dialog> - <?= Icon::create('log')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('log')->asImg(['class' => 'text-bottom']) ?> </a> <? endif ?> <? endforeach ?> diff --git a/app/views/course/wiki/search.php b/app/views/course/wiki/search.php index 53f20d4..0cc030d 100644 --- a/app/views/course/wiki/search.php +++ b/app/views/course/wiki/search.php @@ -102,7 +102,7 @@ <tr> <td colspan="3"> <a href="<?= $controller->searchpage($page_id, ['search' => Request::get('search')]) ?>"> - <?= Icon::create('add')->asSvg(['class' => 'text-bottom']) ?> + <?= Icon::create('add')->asImg(['class' => 'text-bottom']) ?> <? if (count($pagedata['versions']) === 1) : ?> <?= _('Weiterer Treffer in einer älteren Version.') ?> <? else : ?> |
