Skip to content

Commit

Permalink
TEMPLATES/IMAGES: adjust references to images. (#35768)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastocker committed Sep 26, 2023
1 parent 1f512f6 commit f3c42b5
Show file tree
Hide file tree
Showing 316 changed files with 1,555 additions and 1,587 deletions.
6 changes: 3 additions & 3 deletions Modules/Blog/Posting/class.ilBlogPostingGUI.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -18,6 +16,8 @@
*
*********************************************************************/

declare(strict_types=1);

use ILIAS\Blog\StandardGUIRequest;

/**
Expand Down Expand Up @@ -137,7 +137,7 @@ public function executeCommand(): string
$tpl->setTitle(ilObject::_lookupTitle($this->getBlogPosting()->getBlogId()) . ": " . // #15017
$posting->getTitle());
$tpl->setTitleIcon(
ilUtil::getImagePath("icon_blog.svg"),
ilUtil::getImagePath("standard/icon_blog.svg"),
$this->lng->txt("obj_blog")
); // #12879

Expand Down
6 changes: 3 additions & 3 deletions Modules/Blog/PrintView/class.BlogPrintViewProviderGUI.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -18,6 +16,8 @@
*
*********************************************************************/

declare(strict_types=1);

namespace ILIAS\Blog;

use ILIAS\COPage;
Expand Down Expand Up @@ -127,7 +127,7 @@ public function getSelectionForm(): ?ilPropertyFormGUI
0,
false,
false,
\ilUtil::getImagePath("icon_pg.svg"),
\ilUtil::getImagePath("standard/icon_pg.svg"),
$lng->txt("blog_posting")
);
}
Expand Down
8 changes: 4 additions & 4 deletions Modules/Blog/classes/class.ilObjBlogGUI.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<?php

declare(strict_types=1);

/**
* This file is part of ILIAS, a powerful learning management system
* published by ILIAS open source e-Learning e.V.
Expand All @@ -18,6 +16,8 @@
*
*********************************************************************/

declare(strict_types=1);

use ILIAS\GlobalScreen\ScreenContext\ContextServices;
use ILIAS\Blog\StandardGUIRequest;

Expand Down Expand Up @@ -2467,7 +2467,7 @@ protected function initHeaderAction(

$lg->addHeaderIcon(
"not_icon",
ilUtil::getImagePath("notification_on.svg"),
ilUtil::getImagePath("media/notification_on.svg"),
$this->lng->txt("blog_notification_activated")
);
} else {
Expand All @@ -2478,7 +2478,7 @@ protected function initHeaderAction(

$lg->addHeaderIcon(
"not_icon",
ilUtil::getImagePath("notification_off.svg"),
ilUtil::getImagePath("media/notification_off.svg"),
$this->lng->txt("blog_notification_deactivated")
);
}
Expand Down
4 changes: 2 additions & 2 deletions Modules/BookingManager/classes/class.ilObjBookingPoolGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ protected function initHeaderAction(?string $sub_type = null, ?int $sub_id = nul
)) {
$lg->addHeaderIcon(
"not_icon",
ilUtil::getImagePath("notification_off.svg"),
ilUtil::getImagePath("media/notification_off.svg"),
$lng->txt("noti_notification_deactivated")
);

Expand All @@ -701,7 +701,7 @@ protected function initHeaderAction(?string $sub_type = null, ?int $sub_id = nul
} else {
$lg->addHeaderIcon(
"not_icon",
ilUtil::getImagePath("notification_on.svg"),
ilUtil::getImagePath("media/notification_on.svg"),
$lng->txt("noti_notification_activated")
);

Expand Down
2 changes: 1 addition & 1 deletion Modules/Category/classes/class.ilObjCategoryGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ public function assignRolesObject(): void
$table = new ilCategoryAssignRoleTableGUI($this, "assignRoles");
$tmp_obj = ilObjectFactory::getInstanceByObjId($this->cat_request->getObjId());
$title = $this->lng->txt('role_assignment') . ' (' . $tmp_obj->getFullname() . ')';
$table->setTitle($title, "icon_role.svg", $this->lng->txt("role_assignment"));
$table->setTitle($title, "standard/icon_role.svg", $this->lng->txt("role_assignment"));
$table->setData($f_result);
$this->tpl->setContent($table->getHTML());
}
Expand Down
2 changes: 1 addition & 1 deletion Modules/Chatroom/classes/class.ilChatroom.php
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ public function sendInvitationNotification(
$notification->setShortDescriptionVar('chat_invitation_short', $bodyParams, 'chatroom');
$notification->setLongDescriptionVar('chat_invitation_long', $bodyParams, 'chatroom');
$notification->setLinks($links);
$notification->setIconPath('templates/default/images/icon_chtr.svg');
$notification->setIconPath('templates/default/images/standard/icon_chtr.svg');
$notification->setValidForSeconds(ilNotificationConfig::TTL_LONG);
$notification->setVisibleForSeconds(ilNotificationConfig::DEFAULT_TTS);
$notification->setIdentification(new NotificationIdentification(
Expand Down
4 changes: 2 additions & 2 deletions Modules/Chatroom/classes/gui/class.ilChatroomViewGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private function showRoom(ilChatroom $room, ilChatroomUser $chat_user): void
$initial->users = $room->getConnectedUsers();
$initial->redirect_url = $this->ilCtrl->getLinkTarget($this->gui, 'view-lostConnection', '', false);
$initial->profile_image_url = $this->ilCtrl->getLinkTarget($this->gui, 'view-getUserProfileImages', '', true);
$initial->no_profile_image_url = ilUtil::getImagePath('no_photo_xxsmall.jpg');
$initial->no_profile_image_url = ilUtil::getImagePath('placeholder/no_photo_xxsmall.jpg');
$initial->subdirectory = $settings->getSubDirectory();

$initial->userinfo = [
Expand Down Expand Up @@ -359,7 +359,7 @@ protected function renderLanguageVariables(ilTemplate $roomTpl): void
$roomTpl->setVariable('LBL_USER_IN_ROOM', $this->ilLng->txt('user_in_room'));
$roomTpl->setVariable('LBL_USER_IN_ILIAS', $this->ilLng->txt('user_in_ilias'));
$roomTpl->setVariable('LBL_NO_USER', $this->ilLng->txt('msg_no_search_result'));
$roomTpl->setVariable('LOADING_IMAGE', ilUtil::getImagePath('loader.svg'));
$roomTpl->setVariable('LOADING_IMAGE', ilUtil::getImagePath('media/loader.svg'));
}

protected function renderRightUsersBlock(ilTemplate $roomTpl): void
Expand Down
Loading

0 comments on commit f3c42b5

Please sign in to comment.