From 08da9f257ff4efc98dd058e81984ac9bd6e46639 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Mon, 9 Mar 2026 09:18:53 +0100 Subject: deprecate asSvg in favor of asImg, fixes #6330 Closes #6330 Merge request studip/studip!4802 --- app/controllers/admin/courses.php | 4 +- app/controllers/course/members.php | 2 +- app/controllers/course/room_requests.php | 4 +- app/controllers/materialien/files.php | 2 +- app/controllers/messages.php | 6 +-- app/controllers/oer/admin.php | 4 +- app/views/admin/autoinsert/index.php | 2 +- app/views/admin/banner/index.php | 8 ++-- .../admin/configuration/edit_configuration.php | 4 +- app/views/admin/configuration/table-row.php | 4 +- app/views/admin/course_wizard_steps/edit.php | 2 +- app/views/admin/course_wizard_steps/index.php | 2 +- app/views/admin/courseplanning/nonconform.php | 2 +- app/views/admin/cronjobs/logs/index.php | 10 ++--- app/views/admin/cronjobs/schedules/index.php | 12 ++--- app/views/admin/cronjobs/tasks/index.php | 8 ++-- app/views/admin/datafields/index.php | 22 ++++----- app/views/admin/domain/index.php | 4 +- app/views/admin/holidays/index.php | 2 +- app/views/admin/ilias_interface/edit_server.php | 2 +- app/views/admin/ilias_interface/index.php | 4 +- app/views/admin/licenses/index.php | 2 +- app/views/admin/lockrules/index.php | 2 +- app/views/admin/login_style/newpic.php | 2 +- app/views/admin/overlapping/conflicts.php | 2 +- app/views/admin/overlapping/courses.php | 2 +- app/views/admin/plugin/index.php | 2 +- app/views/admin/role/assign_role.php | 2 +- app/views/admin/role/index.php | 4 +- app/views/admin/sem_classes/_sem_type.php | 4 +- app/views/admin/sem_classes/details.php | 8 ++-- app/views/admin/sem_classes/overview.php | 2 +- app/views/admin/specification/index.php | 4 +- app/views/admin/user/_results.php | 2 +- app/views/admin/user/activities.php | 2 +- app/views/admin/user/edit.php | 4 +- app/views/admission/courseset/index.php | 8 ++-- app/views/admission/courseset/institutes.php | 4 +- app/views/admission/ruleadministration/index.php | 4 +- app/views/blubber/compose.php | 14 +++--- app/views/blubber/private_to_studygroup.php | 6 +-- app/views/calendar/calendar/share_select.php | 4 +- app/views/calendar/contentbox/_termin.php | 12 ++--- app/views/calendar/contentbox/display.php | 6 +-- app/views/calendar/date/_add_edit_form.php | 2 +- app/views/calendar/schedule/course_info.php | 4 +- app/views/consultation/overview/booked.php | 2 +- app/views/consultation/overview/index.php | 6 +-- app/views/consultation/overview/ungrouped.php | 6 +-- app/views/contents/overview/index.php | 2 +- app/views/course/basicdata/view.php | 8 ++-- app/views/course/contentmodules/info.php | 2 +- app/views/course/dates/_date_row-exdate.php | 2 +- app/views/course/dates/_date_row.php | 4 +- app/views/course/dates/_topic_li.php | 4 +- app/views/course/dates/current_day_dates.php | 2 +- app/views/course/details/index.php | 2 +- app/views/course/ilias_interface/add_object.php | 2 +- app/views/course/management/index.php | 2 +- app/views/course/statusgroups/_group.php | 4 +- app/views/course/studygroup/_members_gallery.php | 2 +- app/views/course/studygroup/_members_list.php | 2 +- app/views/course/studygroup/_members_options.php | 6 +-- app/views/course/studygroup/members.php | 6 +-- app/views/course/studygroup/widget.php | 4 +- app/views/course/timesrooms/_cycleRow.php | 2 +- app/views/course/timesrooms/_regularEvents.php | 2 +- app/views/course/timesrooms/_roomRequest.php | 2 +- app/views/course/topics/_dates.php | 2 +- app/views/course/topics/_material.php | 4 +- app/views/course/topics/edit.php | 8 ++-- app/views/course/topics/index.php | 2 +- app/views/course/wiki/ask_deleting.php | 4 +- app/views/course/wiki/blame.php | 2 +- app/views/course/wiki/history.php | 4 +- app/views/course/wiki/import.php | 4 +- app/views/course/wiki/newpages.php | 2 +- app/views/course/wiki/search.php | 2 +- app/views/event_log/show.php | 2 +- app/views/fachabschluss/abschluesse/details.php | 2 +- app/views/fachabschluss/abschluesse/index.php | 4 +- app/views/fachabschluss/faecher/details.php | 2 +- .../fachabschluss/faecher/details_fachbereich.php | 2 +- app/views/fachabschluss/faecher/fach.php | 2 +- app/views/fachabschluss/faecher/index.php | 4 +- app/views/fachabschluss/kategorien/index.php | 4 +- app/views/file/_terms_of_use_select.php | 6 +-- app/views/file/add_files_window.php | 18 ++++---- app/views/file/add_from_library.php | 6 +-- app/views/file/choose_file.php | 10 ++--- app/views/file/choose_file_from_course.php | 2 +- app/views/file/choose_folder.php | 10 ++--- app/views/file/new_edit_folder_form.php | 6 +-- app/views/file/oer_post_upload.php | 18 ++++---- app/views/file/suggest_oer.php | 2 +- app/views/file/unzipquestion.php | 2 +- app/views/file/upload_window.php | 6 +-- app/views/files/_fileref_tr.php | 6 +-- app/views/files/configure.php | 2 +- app/views/files_dashboard/_input-group-search.php | 2 +- app/views/files_dashboard/_search_tr.php | 8 ++-- app/views/help_content/admin_overview.php | 4 +- app/views/institute/extern/new.php | 2 +- app/views/login/index.php | 4 +- app/views/lti/_link_user_info.php | 4 +- app/views/lti/_tool_info.php | 6 +-- app/views/lvgruppen/lvgruppen/details.php | 4 +- app/views/materialien/files/add_dokument.php | 12 ++--- app/views/materialien/files/index.php | 4 +- app/views/messages/_message_row.php | 4 +- app/views/messages/overview.php | 10 ++--- app/views/messages/write.php | 18 ++++---- app/views/module/module/modul.php | 8 ++-- app/views/module/module/module.php | 4 +- app/views/module/module/modulteil.php | 2 +- app/views/multipersonsearch/js_form.php | 4 +- app/views/my_courses/_deputy_bosses.php | 6 +-- app/views/my_courses/archive.php | 14 +++--- app/views/my_courses/waiting_list.php | 6 +-- app/views/my_ilias_accounts/my_courses.php | 6 +-- app/views/my_institutes/index.php | 4 +- app/views/my_studygroups/_course.php | 8 ++-- app/views/news/display.php | 10 ++--- app/views/oer/admin/hosts.php | 10 ++--- app/views/oer/embed/_link.php | 2 +- app/views/oer/embed/standard.php | 2 +- app/views/oer/market/_details_file.php | 4 +- app/views/oer/market/_material_short.php | 2 +- app/views/oer/market/add_to_course.php | 2 +- .../oer/market/add_to_course_select_class.php | 2 +- app/views/oer/market/details.php | 24 +++++----- app/views/oer/market/discussion.php | 2 +- app/views/oer/mymaterial/_material_list.php | 22 ++++----- app/views/oer/mymaterial/edit.php | 4 +- app/views/privacy/landing.php | 2 +- app/views/profile_modules/index.php | 2 +- app/views/public_courses/index.php | 2 +- .../_answer_description_container.php | 2 +- .../questionnaire/_overview_questionnaire.php | 2 +- app/views/questionnaire/_question.php | 8 ++-- app/views/questionnaire/_widget_questionnaire.php | 2 +- app/views/questionnaire/add_to_context.php | 4 +- app/views/questionnaire/context.php | 8 ++-- .../automated_data/_evaluation_part.php | 2 +- .../question_types/likert/likert_evaluation.php | 2 +- .../rangescale/rangescale_evaluation.php | 2 +- .../question_types/vote/vote_evaluation.php | 2 +- app/views/questionnaire/widget.php | 8 ++-- app/views/resources/_common/_resource_tr.php | 2 +- app/views/resources/admin/properties.php | 2 +- app/views/resources/admin/user_permissions.php | 10 ++--- app/views/resources/booking/_add_edit_form.php | 12 ++--- app/views/resources/booking/index.php | 4 +- app/views/resources/building/index.php | 4 +- app/views/resources/category/_add_edit_form.php | 2 +- app/views/resources/category/details.php | 2 +- app/views/resources/location/index.php | 2 +- app/views/resources/messages/index.php | 4 +- .../resource/_standard_properties_display_part.php | 4 +- app/views/resources/resource/files.php | 2 +- app/views/resources/room_request/overview.php | 2 +- app/views/resources/room_request/resolve.php | 2 +- .../resources/room_request/resolve_room_tr.php | 16 +++---- app/views/room_management/overview/index.php | 2 +- .../room_management/planning/copy_bookings.php | 2 +- app/views/score/index.php | 10 ++--- app/views/search/globalsearch/index.php | 8 ++-- app/views/search/module/_drill_down_list.php | 4 +- app/views/search/module/_modul.php | 2 +- app/views/search/stgtable/index.php | 2 +- app/views/search/studiengaenge/mehrfach.php | 4 +- app/views/settings/categories.php | 10 ++--- app/views/settings/messaging.php | 2 +- app/views/settings/statusgruppen/index.php | 8 ++-- app/views/settings/statusgruppen/modify.php | 4 +- .../settings/statusgruppen/modify_institute.php | 2 +- app/views/settings/userdomains.php | 2 +- app/views/shared/filter.php | 2 +- app/views/shared/form_dokumente.php | 6 +-- app/views/shared/info_search.php | 2 +- app/views/shared/language_chooser.php | 2 +- app/views/shared/version/_versionmodule.php | 2 +- app/views/siteinfo/markup/uniContact.php | 2 +- app/views/start/_widget.php | 6 +-- .../studiengaenge/fachbereichestgteile/index.php | 2 +- app/views/studiengaenge/faecher/index.php | 2 +- app/views/studiengaenge/informationen/degree.php | 2 +- app/views/studiengaenge/informationen/index.php | 2 +- .../studiengaenge/stgteilbezeichnungen/index.php | 2 +- .../studiengaenge/aufbaustg_table.php | 2 +- .../studiengaenge/studiengaenge/studiengaenge.php | 2 +- .../studiengaenge/studiengaenge/studiengang.php | 4 +- .../studiengangteile/details_grouped.php | 2 +- .../studiengaenge/studiengangteile/stgteil.php | 2 +- .../studiengaenge/versionen/details_abschnitt.php | 4 +- app/views/studiengaenge/versionen/modulteile.php | 2 +- app/views/studiengaenge/versionen/versionen.php | 4 +- app/views/userfilter/filter/configure.php | 2 +- app/views/vips/exam_mode/index.php | 2 +- app/views/vips/exercises/ClozeTask/correct.php | 8 ++-- app/views/vips/exercises/ClozeTask/print.php | 6 +-- app/views/vips/exercises/MatchingTask/correct.php | 8 ++-- app/views/vips/exercises/MatchingTask/print.php | 8 ++-- .../vips/exercises/MatrixChoiceTask/correct.php | 4 +- .../vips/exercises/MatrixChoiceTask/print.php | 4 +- .../vips/exercises/MultipleChoiceTask/correct.php | 4 +- .../vips/exercises/MultipleChoiceTask/print.php | 4 +- app/views/vips/exercises/SequenceTask/correct.php | 8 ++-- app/views/vips/exercises/SequenceTask/print.php | 8 ++-- .../vips/exercises/SingleChoiceTask/correct.php | 4 +- .../vips/exercises/SingleChoiceTask/print.php | 4 +- app/views/vips/exercises/TextLineTask/correct.php | 8 ++-- app/views/vips/exercises/TextLineTask/print.php | 6 +-- app/views/vips/exercises/TextTask/correct.php | 2 +- app/views/vips/exercises/TextTask/solve.php | 2 +- app/views/vips/sheets/add_exercise_dialog.php | 2 +- app/views/vips/sheets/content_bar_icons.php | 8 ++-- app/views/vips/sheets/copy_assignment_dialog.php | 2 +- app/views/vips/sheets/copy_exercise_dialog.php | 2 +- app/views/vips/sheets/edit_assignment.php | 8 ++-- app/views/vips/sheets/edit_exercise.php | 6 +-- app/views/vips/sheets/show_assignment.php | 8 ++-- app/views/vips/sheets/show_exercise_link.php | 2 +- app/views/vips/solutions/assignment_solutions.php | 8 ++-- app/views/vips/solutions/assignments_list.php | 4 +- app/views/vips/solutions/edit_solution.php | 18 ++++---- app/views/vips/solutions/feedback_files_table.php | 2 +- .../solutions/student_assignment_solutions.php | 4 +- .../coursememberadmission/templates/info.php | 2 +- lib/classes/Icon.php | 52 ++++++++++++++-------- lib/classes/forms/Link.php | 2 +- lib/classes/globalsearch/GlobalSearchCourses.php | 6 +-- .../globalsearch/GlobalSearchStudygroups.php | 6 +-- .../sidebar/CourseManagementSelectWidget.php | 2 +- lib/classes/sidebar/LinkElement.php | 4 +- lib/ilias_interface/IliasModule.php | 2 +- lib/models/OERReview.php | 10 ++--- .../resources/ResourcePropertyDefinition.php | 2 +- lib/navigation/Navigation.php | 2 +- lib/statusgruppe.inc.php | 2 +- templates/admin/topLinks.php | 6 +-- templates/blubber/coursegroup_context.php | 2 +- templates/blubber/disable-notifications.php | 4 +- templates/blubber/global_context.php | 4 +- templates/blubber/private_context.php | 8 ++-- templates/blubber/public_context.php | 2 +- templates/contact/header-groups.php | 2 +- templates/contentbar/contentbar.php | 4 +- templates/forms/form.php | 2 +- templates/header-navigation-item.php | 2 +- templates/header.php | 10 ++--- templates/helpbar/helpbar.php | 12 ++--- templates/layouts/base.php | 4 +- templates/login/_header_contrast.php | 4 +- templates/mail/notification_html.php | 2 +- templates/multipersonsearch/link.php | 2 +- templates/online/user.php | 10 ++--- templates/personal_notifications/notification.php | 2 +- templates/shared/action-menu-single.php | 4 +- templates/shared/action-menu.php | 4 +- templates/shared/content_box.php | 2 +- templates/shared/index_box.php | 2 +- templates/sidebar/resource-tree-widget.php | 4 +- templates/sidebar/room-clipboard-item.php | 4 +- .../sidebar/room-search-criteria-templates.php | 8 ++-- templates/sidebar/room-search-tree-widget.php | 4 +- templates/start/contents.php | 2 +- templates/tabs.php | 6 +-- templates/toc/_toc-item-list.php | 2 +- templates/toc/generic-toc-list.php | 2 +- templates/userfilter/display.php | 2 +- 271 files changed, 653 insertions(+), 639 deletions(-) diff --git a/app/controllers/admin/courses.php b/app/controllers/admin/courses.php index 38ce72b..69d9ab3 100644 --- a/app/controllers/admin/courses.php +++ b/app/controllers/admin/courses.php @@ -640,7 +640,7 @@ class Admin_CoursesController extends AuthenticatedController $d['name'] = '' . htmlReady($course->name) .' ' - .' ' + .' ' .(!$course->visible ? _('(versteckt)') : ''); } if (in_array('number', $activated_fields)) { @@ -710,7 +710,7 @@ class Admin_CoursesController extends AuthenticatedController foreach ($icons as $icon) { $d['contents'] .= '
  • getTitle() ? ' title="'.htmlReady($icon->getTitle()).'"' : '') .'> - '. $icon->getImage()->asSvg() .' + '. $icon->getImage()->asImg() .'
  • '; } diff --git a/app/controllers/course/members.php b/app/controllers/course/members.php index 5b07644..64bfb57 100644 --- a/app/controllers/course/members.php +++ b/app/controllers/course/members.php @@ -208,7 +208,7 @@ class Course_MembersController extends AuthenticatedController $results = SimpleCollection::createFromArray($members)->pluck('email'); if (!empty($results)) { - return sprintf('%s', htmlReady(join(',', $results)), Icon::create('mail', attributes: ['title' => sprintf('E-Mail an alle %s versenden',$textStatus)])->asSvg()); + return sprintf('%s', htmlReady(join(',', $results)), Icon::create('mail', attributes: ['title' => sprintf('E-Mail an alle %s versenden',$textStatus)])->asImg()); } else { return null; } diff --git a/app/controllers/course/room_requests.php b/app/controllers/course/room_requests.php index c3680bc..2f177e0 100644 --- a/app/controllers/course/room_requests.php +++ b/app/controllers/course/room_requests.php @@ -632,7 +632,7 @@ class Course_RoomRequestsController extends AuthenticatedController } if ($request_dates_booked === 0) { $this->available_room_icons[$room->id] = - Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asSvg( + Icon::create('check-circle', Icon::ROLE_STATUS_GREEN)->asImg( [ 'class' => 'text-bottom', 'title' => _('freier Raum') @@ -640,7 +640,7 @@ class Course_RoomRequestsController extends AuthenticatedController ); $available_rooms[] = $room; } elseif ($request_dates_booked < $request_time_intervals) { - $this->available_room_icons[$room->id] = Icon::create('exclaim-circle', Icon::ROLE_STATUS_YELLOW)->asSvg([ + $this->available_room_icons[$room->id] = Icon::create('exclaim-circle', Icon::ROLE_STATUS_YELLOW)->asImg([ 'class' => 'text-bottom', 'title' => _('teilweise belegter Raum') ]); diff --git a/app/controllers/materialien/files.php b/app/controllers/materialien/files.php index 57aed1b..a8d4823 100644 --- a/app/controllers/materialien/files.php +++ b/app/controllers/materialien/files.php @@ -424,7 +424,7 @@ class Materialien_FilesController extends MVVController } $output['document_id'] = $file->id; - $output['icon'] = $file->getIcon(Icon::ROLE_CLICKABLE)->asSvg(['class' => 'text-bottom']); + $output['icon'] = $file->getIcon(Icon::ROLE_CLICKABLE)->asImg(['class' => 'text-bottom']); $this->render_json($output); } diff --git a/app/controllers/messages.php b/app/controllers/messages.php index 3c374b2..1922e8c 100644 --- a/app/controllers/messages.php +++ b/app/controllers/messages.php @@ -198,7 +198,7 @@ class MessagesController extends AuthenticatedController { if ($this->default_message->attachment_folder) { foreach ($this->default_message->attachment_folder->getTypedFolder()->getFiles() as $filetype) { $this->default_attachments[] = [ - 'icon' => $filetype->getIcon('info')->asSvg(['class' => 'text-bottom']), + 'icon' => $filetype->getIcon('info')->asImg(['class' => 'text-bottom']), 'name' => $filetype->getFilename(), 'document_id' => $filetype->getId(), 'size' => $filetype->getSize() @@ -507,7 +507,7 @@ class MessagesController extends AuthenticatedController { if ($new_attachment_file_ref->store()) { $icon = FileManager::getIconForFileRef($new_attachment_file_ref); $this->default_attachments[] = [ - 'icon' => $icon->asSvg(['class' => 'text-bottom']), + 'icon' => $icon->asImg(['class' => 'text-bottom']), 'name' => $new_attachment_file_ref->name, 'document_id' => $new_attachment_file_ref->id, 'size' => relsize($new_attachment_file_ref->size, false) @@ -876,7 +876,7 @@ class MessagesController extends AuthenticatedController { $output['document_id'] = $uploaded['files'][0]->getId(); - $output['icon'] = $uploaded['files'][0]->getIcon(Icon::ROLE_CLICKABLE)->asSvg(['class' => 'text-bottom']); + $output['icon'] = $uploaded['files'][0]->getIcon(Icon::ROLE_CLICKABLE)->asImg(['class' => 'text-bottom']); $this->render_json($output); } diff --git a/app/controllers/oer/admin.php b/app/controllers/oer/admin.php index 3404e54..625c203 100644 --- a/app/controllers/oer/admin.php +++ b/app/controllers/oer/admin.php @@ -129,7 +129,7 @@ class Oer_AdminController extends AuthenticatedController } $this->render_text(( - Icon::create("checkbox-".(Request::int("active") ? "" : "un")."checked")->asSvg() + Icon::create("checkbox-".(Request::int("active") ? "" : "un")."checked")->asImg() )); } @@ -144,7 +144,7 @@ class Oer_AdminController extends AuthenticatedController } $this->render_text(( - Icon::create('checkbox-'.(Request::int('active') ? '' : 'un').'checked')->asSvg() + Icon::create('checkbox-'.(Request::int('active') ? '' : 'un').'checked')->asImg() )); } diff --git a/app/views/admin/autoinsert/index.php b/app/views/admin/autoinsert/index.php index 5773537..33dfdcf 100644 --- a/app/views/admin/autoinsert/index.php +++ b/app/views/admin/autoinsert/index.php @@ -93,7 +93,7 @@ render_partial("admin/autoinsert/_status.php", ['status' => 'autor', 'auto_sem' => $auto_sem, 'domains' => $userdomains]) ?> - asSvg([ + asImg([ 'title' => _('Veranstaltung entfernen'), 'class' => 'text-top', ]) ?> diff --git a/app/views/admin/banner/index.php b/app/views/admin/banner/index.php index 620f7a5..11f9d8e 100644 --- a/app/views/admin/banner/index.php +++ b/app/views/admin/banner/index.php @@ -61,16 +61,16 @@ priority ?> (getViewProbability() ?>) - asSvg(['title' => _('Eigenschaften')]) ?> + asImg(['title' => _('Eigenschaften')]) ?> - asSvg(['title' => _('Banner bearbeiten')]) ?> + asImg(['title' => _('Banner bearbeiten')]) ?> - asSvg(['title' => _('Klicks/Views zurücksetzen')]) ?> + asImg(['title' => _('Klicks/Views zurücksetzen')]) ?> - asSvg(['title' => _('Banner löschen')]) ?> + asImg(['title' => _('Banner löschen')]) ?> diff --git a/app/views/admin/configuration/edit_configuration.php b/app/views/admin/configuration/edit_configuration.php index aad38b2..e7bbe64 100644 --- a/app/views/admin/configuration/edit_configuration.php +++ b/app/views/admin/configuration/edit_configuration.php @@ -29,9 +29,9 @@ - asSvg(['title' => _('Ja')]) ?> + asImg(['title' => _('Ja')]) ?> - asSvg(['title' => _('Nein')]) ?> + asImg(['title' => _('Nein')]) ?> - - diff --git a/app/views/admin/configuration/table-row.php b/app/views/admin/configuration/table-row.php index 3f7ae89..a0725a5 100644 --- a/app/views/admin/configuration/table-row.php +++ b/app/views/admin/configuration/table-row.php @@ -37,10 +37,10 @@ fromEnv($field)): ?> - asSvg(['title' => _('Konfigurationsparameter bearbeiten')]) ?> + asImg(['title' => _('Konfigurationsparameter bearbeiten')]) ?> - asSvg([ + asImg([ 'title' => _('Wert wurde über eine Umgebungsvariable gesetzt und kann an dieser Stelle nicht verändert werden.'), ]) ?> diff --git a/app/views/admin/course_wizard_steps/edit.php b/app/views/admin/course_wizard_steps/edit.php index f25005c..067ff2e 100644 --- a/app/views/admin/course_wizard_steps/edit.php +++ b/app/views/admin/course_wizard_steps/edit.php @@ -25,7 +25,7 @@
  • - asSvg(['class' => "text-bottom"]) ?> + asImg(['class' => "text-bottom"]) ?>
  • diff --git a/app/views/admin/course_wizard_steps/index.php b/app/views/admin/course_wizard_steps/index.php index d57d7ea..b951e21 100644 --- a/app/views/admin/course_wizard_steps/index.php +++ b/app/views/admin/course_wizard_steps/index.php @@ -15,7 +15,7 @@ - asSvg(tooltip2(_('Neuen Schritt hinzufügen'))) ?> + asImg(tooltip2(_('Neuen Schritt hinzufügen'))) ?> diff --git a/app/views/admin/courseplanning/nonconform.php b/app/views/admin/courseplanning/nonconform.php index 2ddda05..08a128a 100644 --- a/app/views/admin/courseplanning/nonconform.php +++ b/app/views/admin/courseplanning/nonconform.php @@ -23,7 +23,7 @@ - asSvg(['class' => 'text-bottom']) ?> + asImg(['class' => 'text-bottom']) ?> diff --git a/app/views/admin/cronjobs/logs/index.php b/app/views/admin/cronjobs/logs/index.php index b1f0195..d76e153 100644 --- a/app/views/admin/cronjobs/logs/index.php +++ b/app/views/admin/cronjobs/logs/index.php @@ -114,19 +114,19 @@ use Studip\Button, Studip\LinkButton; schedule->title ?: $log->schedule->task->name) ?> duration == -1): ?> - asSvg(['title' => _('Läuft noch')]) ?> + asImg(['title' => _('Läuft noch')]) ?> exception === null): ?> - asSvg(['title' => _('Ja')]) ?> + asImg(['title' => _('Ja')]) ?> - asSvg(['title' => _('Nein')]) ?> + asImg(['title' => _('Nein')]) ?> - asSvg(['title' => _('Logeintrag anzeigen')]) ?> + asImg(['title' => _('Logeintrag anzeigen')]) ?> - asSvg(['title' => _('Logeintrag löschen')]) ?> + asImg(['title' => _('Logeintrag löschen')]) ?> diff --git a/app/views/admin/cronjobs/schedules/index.php b/app/views/admin/cronjobs/schedules/index.php index 1872ff6..12180a6 100644 --- a/app/views/admin/cronjobs/schedules/index.php +++ b/app/views/admin/cronjobs/schedules/index.php @@ -97,29 +97,29 @@ use Studip\Button, Studip\LinkButton; task->active): ?> - asSvg(['title' => _('Cronjob kann nicht aktiviert werden, da die zugehörige ' . 'Aufgabe deaktiviert ist.')]) ?> + asImg(['title' => _('Cronjob kann nicht aktiviert werden, da die zugehörige ' . 'Aufgabe deaktiviert ist.')]) ?> active): ?> - asSvg(['title' => _('Cronjob deaktivieren')]) ?> + asImg(['title' => _('Cronjob deaktivieren')]) ?> - asSvg(['title' => _('Cronjob aktivieren')]) ?> + asImg(['title' => _('Cronjob aktivieren')]) ?> render_partial('admin/cronjobs/schedules/periodic-schedule', $schedule->toArray() + ['display' => 'table-cells']) ?> - asSvg(['title' => _('Cronjob anzeigen')]) ?> + asImg(['title' => _('Cronjob anzeigen')]) ?> - asSvg(['title' => _('Cronjob bearbeiten')]) ?> + asImg(['title' => _('Cronjob bearbeiten')]) ?> - asSvg(['title' => _('Log anzeigen')]) ?> + asImg(['title' => _('Log anzeigen')]) ?> asInput([ 'data-confirm' => _('Wollen Sie den ausgewählten Cronjob wirklich löschen?'), diff --git a/app/views/admin/cronjobs/tasks/index.php b/app/views/admin/cronjobs/tasks/index.php index ab510b0..9f2602d 100644 --- a/app/views/admin/cronjobs/tasks/index.php +++ b/app/views/admin/cronjobs/tasks/index.php @@ -50,22 +50,22 @@ use Studip\Button; active): ?> - asSvg(['title' => _('Aufgabe deaktivieren')]) ?> + asImg(['title' => _('Aufgabe deaktivieren')]) ?> - asSvg(['title' => _('Aufgabe aktivieren')]) ?> + asImg(['title' => _('Aufgabe aktivieren')]) ?> valid): ?> - asSvg(['title' => _('Aufgabe ausführen')]) ?> + asImg(['title' => _('Aufgabe ausführen')]) ?> - asSvg(['title' => _('Log anzeigen')]) ?> + asImg(['title' => _('Log anzeigen')]) ?> asInput([ 'data-confirm' => _('Wollen Sie die ausgewählte Aufgabe wirklich löschen?'), diff --git a/app/views/admin/datafields/index.php b/app/views/admin/datafields/index.php index 5441e24..0e01920 100644 --- a/app/views/admin/datafields/index.php +++ b/app/views/admin/datafields/index.php @@ -89,7 +89,7 @@ type, words('selectbox selectboxmultiple radio combo'))): ?> - asSvg(['class'=> 'text-top', 'title' => 'Einträge bearbeiten']) ?> + asImg(['class' => 'text-top', 'title' => 'Einträge bearbeiten']) ?> type) ?> @@ -131,31 +131,31 @@ system): ?> - _('Ja')])->asSvg() ?> + _('Ja')])->asImg() ?> - _('Nein')])->asSvg() ?> + _('Nein')])->asImg() ?> is_userfilter): ?> - _('Ja')])->asSvg() ?> + _('Ja')])->asImg() ?> - _('Nein')])->asSvg() ?> + _('Nein')])->asImg() ?> is_required): ?> - _('Ja')])->asSvg() ?> + _('Ja')])->asImg() ?> - _('Nein')])->asSvg() ?> + _('Nein')])->asImg() ?> description)): ?> - _('Ja')])->asSvg() ?> + _('Ja')])->asImg() ?> - _('Nein')])->asSvg() ?> + _('Nein')])->asImg() ?> @@ -165,10 +165,10 @@ - asSvg(['title' => 'Datenfeld ändern']) ?> + asImg(['title' => 'Datenfeld ändern']) ?> - asSvg(['title' => 'Datenfeld löschen']) ?> + asImg(['title' => 'Datenfeld löschen']) ?> diff --git a/app/views/admin/domain/index.php b/app/views/admin/domain/index.php index 74c6a2b..4b709d7 100644 --- a/app/views/admin/domain/index.php +++ b/app/views/admin/domain/index.php @@ -38,7 +38,7 @@ countCourses() ?> id}") ?>" data-dialog="size=auto"> - asSvg(tooltip2(_('bearbeiten'))) ?> + asImg(tooltip2(_('bearbeiten'))) ?> countUsers() === 0): ?> asInput(tooltip2(_('löschen')) + [ @@ -47,7 +47,7 @@ 'data-confirm' => _('Wollen Sie die Nutzerdomäne wirklich löschen?') ]) ?> - asSvg(['title' => _('Domänen, denen noch Personen zugewiesen sind, können nicht gelöscht werden.')]) ?> + asImg(['title' => _('Domänen, denen noch Personen zugewiesen sind, können nicht gelöscht werden.')]) ?> diff --git a/app/views/admin/holidays/index.php b/app/views/admin/holidays/index.php index 4c523d3..98aa72e 100644 --- a/app/views/admin/holidays/index.php +++ b/app/views/admin/holidays/index.php @@ -58,7 +58,7 @@ - asSvg(['title' => _('Ferienangaben bearbeiten')]) ?> + asImg(['title' => _('Ferienangaben bearbeiten')]) ?> asInput([ 'title' => _('Ferien löschen'), diff --git a/app/views/admin/ilias_interface/edit_server.php b/app/views/admin/ilias_interface/edit_server.php index f9757df..4bb163a 100644 --- a/app/views/admin/ilias_interface/edit_server.php +++ b/app/views/admin/ilias_interface/edit_server.php @@ -84,7 +84,7 @@
    - asSvg(['title' => _('Wählen Sie hier ein Authentifizierungsplugin, damit neu angelegte ILIAS-Accounts den entsprechenden Authentifizierungsmodus erhalten, wenn dieser Modus auch für den vorhandenen Stud.IP-Account gilt. Andernfalls erhalten alle ILIAS-Accounts den default-Modus')]);?> + asImg(['title' => _('Wählen Sie hier ein Authentifizierungsplugin, damit neu angelegte ILIAS-Accounts den entsprechenden Authentifizierungsmodus erhalten, wenn dieser Modus auch für den vorhandenen Stud.IP-Account gilt. Andernfalls erhalten alle ILIAS-Accounts den default-Modus')]);?>
    diff --git a/app/views/admin/ilias_interface/index.php b/app/views/admin/ilias_interface/index.php index fce9464..00e4f36 100644 --- a/app/views/admin/ilias_interface/index.php +++ b/app/views/admin/ilias_interface/index.php @@ -11,7 +11,7 @@ - asSvg(tooltip2(_('Neue ILIAS-Installation hinzufügen'))) ?> + asImg(tooltip2(_('Neue ILIAS-Installation hinzufügen'))) ?> @@ -44,7 +44,7 @@ } ?> - asSvg(['title' => $text]) ?> + asImg(['title' => $text]) ?> diff --git a/app/views/admin/licenses/index.php b/app/views/admin/licenses/index.php index e6d162d..8814461 100644 --- a/app/views/admin/licenses/index.php +++ b/app/views/admin/licenses/index.php @@ -34,7 +34,7 @@ $license['identifier']]) ?>" data-dialog> - asSvg(['class' => "text-bottom"]) ?> + asImg(['class' => "text-bottom"]) ?>
    - asSvg(['title' => _('Diese Regel bearbeiten')]) ?> + asImg(['title' => _('Diese Regel bearbeiten')]) ?> - asSvg(['class' => 'text-bottom upload']) ?> + asImg(['class' => 'text-bottom upload']) ?>