Skip to content
Commits on Source (3)
......@@ -29,7 +29,7 @@ class ilShibbolethSettings
{
private const PREFIX = 'shib_';
private const DEFAULT_IDP_LIST = "urn:mace:organization1:providerID, Example Organization 1\nurn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/SWITCHaai";
private const DEFAULT_LOGIN_BUTTON = "templates/default/images/auth/shib_login_button.svg";
private const DEFAULT_LOGIN_BUTTON = "assets/images/auth/shib_login_button.svg";
private const DEFAULT_ORGANISATION_SELECTION = "external_wayf";
protected ilSetting $settings;
......@@ -75,7 +75,7 @@ class ilShibbolethSettings
{
$filtered_data = array_filter(
$this->settings->getAll(),
static fn ($value, string $key): bool => strpos($key, self::PREFIX) === 0,
static fn($value, string $key): bool => strpos($key, self::PREFIX) === 0,
ARRAY_FILTER_USE_BOTH
);
......
......@@ -55,7 +55,7 @@ function ilBlockJSHandler(block_id, sUrl) {
obj = document.getElementById(`${block_id}_loader`);
if (obj) {
const loadergif = document.createElement('img');
loadergif.src = './templates/default/images/media/loader.svg';
loadergif.src = './assets/images/media/loader.svg';
loadergif.border = 0;
$(loadergif).css('position', 'absolute');
obj.appendChild(loadergif);
......
......@@ -8,7 +8,7 @@ div.ilc_QuestionPlaceHolder
font-size: 10px;
border-color: #D0D0FF;
border-style: solid;
background-image: url(../../../templates/default/images/placeholder/question_placeholder.png);
background-image: url(../../../assets/images/placeholder/question_placeholder.png);
font-weight: bold;
}
......@@ -22,7 +22,7 @@ div.ilc_MediaPlaceHolder
border-style: solid;
min-height:100px;
font-weight: bold;
background-image: url(../../../templates/default/images/placeholder/media_placeholder.png);
background-image: url(../../../assets/images/placeholder/media_placeholder.png);
}
div.ilc_TextPlaceHolder,
......@@ -35,7 +35,7 @@ div.ilc_VerificationPlaceHolder /* no custom image yet */
border-color: #D0D0FF;
border-style: solid;
font-weight: bold;
background-image: url(../../../templates/default/images/placeholder/text_placeholder.png);
background-image: url(../../../assets/images/placeholder/text_placeholder.png);
}
.il-copg-cell-selected {
......
......@@ -4087,7 +4087,7 @@
<xsl:template match="Curriculum">
<xsl:if test="$mode = 'edit'">
<div class="copg-content-placeholder-lso-curriculum">
<img class="icon pewl medium" src="./templates/default/images/page_editor/icon_pewl.svg" alt="curriculum" />
<img class="icon pewl medium" src="./assets/images/page_editor/icon_pewl.svg" alt="curriculum" />
<div>Curriculum</div>
</div>
</xsl:if>
......
......@@ -277,9 +277,9 @@ class ilCalendarAgendaListGUI extends ilCalendarViewGUI
$cal_agenda_per = $this->initCalendarPeriodFromRequest();
if ($cal_agenda_per > 0) {
$images[$cal_agenda_per] = "<img src='./templates/default/images/standard/icon_checked.svg' alt='Month'>";
$images[$cal_agenda_per] = "<img src='./assets/images/standard/icon_checked.svg' alt='Month'>";
} else {
$images[$this->period] = "<img src='./templates/default/images/standard/icon_checked.svg' alt='Month'>";
$images[$this->period] = "<img src='./assets/images/standard/icon_checked.svg' alt='Month'>";
}
#21479 Set seed if the view does not contain any event.
......
......@@ -662,7 +662,7 @@ class ilChatroom
$notification->setShortDescriptionVar('chat_invitation_short', $bodyParams, 'chatroom');
$notification->setLongDescriptionVar('chat_invitation_long', $bodyParams, 'chatroom');
$notification->setLinks($links);
$notification->setIconPath('templates/default/images/standard/icon_chtr.svg');
$notification->setIconPath('assets/images/standard/icon_chtr.svg');
$notification->setValidForSeconds(ilNotificationConfig::TTL_LONG);
$notification->setVisibleForSeconds(ilNotificationConfig::DEFAULT_TTS);
$notification->setIdentification(new NotificationIdentification(
......
......@@ -168,7 +168,7 @@ h2.current_room_title {
}
.invite_user_line {
background-image: url(../../../../templates/default/images/standard/icon_usr.svg);
background-image: url(../../../../assets/images/standard/icon_usr.svg);
background-position: left center;
background-repeat: no-repeat;
}
......
......@@ -16,8 +16,8 @@
(function ($) {
const iconsByType = {
user: 'templates/default/images/standard/icon_usr.svg',
room: 'templates/default/images/standard/icon_chtr.svg',
user: 'assets/images/standard/icon_usr.svg',
room: 'assets/images/standard/icon_chtr.svg',
};
const inArray = function (ar, value) {
......
......@@ -112,7 +112,7 @@ class ilBuddySystemNotification
$notification->setLinks($links);
$notification->setValidForSeconds(ilNotificationConfig::TTL_LONG);
$notification->setVisibleForSeconds(ilNotificationConfig::DEFAULT_TTS);
$notification->setIconPath('templates/default/images/standard/icon_usr.svg');
$notification->setIconPath('assets/images/standard/icon_usr.svg');
$notification->setHandlerParam('mail.sender', (string) ANONYMOUS_USER_ID);
$notification->setIdentification(new NotificationIdentification(
ContactNotificationProvider::NOTIFICATION_TYPE,
......
......@@ -75,7 +75,7 @@ il.Classification = {
loader(element_id) {
const loadergif = document.createElement('img');
loadergif.src = './templates/default/images/media/loader.svg';
loadergif.src = './assets/images/media/loader.svg';
loadergif.style.position = 'absolute';
const el = document.getElementById(element_id);
if (el) {
......
......@@ -29,10 +29,10 @@ class ilLSTOCGUI extends ilExplorerBaseGUI
* @deprecated will be deleted with R8
*/
public const NODE_ICONS = [
TOCBuilder::LP_NOT_STARTED => "./templates/default/images/scorm/not_attempted.svg",
TOCBuilder::LP_IN_PROGRESS => "./templates/default/images/scorm/incomplete.svg",
TOCBuilder::LP_COMPLETED => "./templates/default/images/scorm/completed.svg",
TOCBuilder::LP_FAILED => "./templates/default/images/scorm/failed.svg"
TOCBuilder::LP_NOT_STARTED => "./assets/images/scorm/not_attempted.svg",
TOCBuilder::LP_IN_PROGRESS => "./assets/images/scorm/incomplete.svg",
TOCBuilder::LP_COMPLETED => "./assets/images/scorm/completed.svg",
TOCBuilder::LP_FAILED => "./assets/images/scorm/failed.svg"
];
/**
......
......@@ -91,7 +91,7 @@ class ilLearningSequenceAppEventListener
$notification->setTitleVar($lng->txt('lso_toast_completed_title'));
$notification->setShortDescriptionVar($lng->txt('lso_toast_completed_desc'));
$notification->setLongDescriptionVar($lng->txt('lso_toast_completed_desc'));
$notification->setIconPath('templates/default/images/standard/icon_lso.svg');
$notification->setIconPath('assets/images/standard/icon_lso.svg');
$notification->notifyByUsers([$parameter['usr_id']]);
}
}
......
......@@ -164,7 +164,7 @@ class ilOrgUnitUserAssignmentGUI extends BaseCommands
{
list($position_id, $usr_id) = $this->getPositionAndUserIdFromTableQuery();
$id = implode('_', [(string)$position_id, (string)$usr_id]);
$id = implode('_', [(string) $position_id, (string) $usr_id]);
$usr_name = ilObjUser::_lookupLogin($usr_id);
$pos_name = $this->positionRepo->getSingle($position_id, 'id')->getTitle();
......@@ -241,8 +241,8 @@ class ilOrgUnitUserAssignmentGUI extends BaseCommands
'lastname' => $this->ui_factory->table()->column()->text($this->lng->txt("lastname")),
'active' => $this->ui_factory->table()->column()->boolean(
$this->lng->txt("active"),
$this->ui_factory->symbol()->icon()->custom('templates/default/images/standard/icon_ok.svg', '', 'small'),
$this->ui_factory->symbol()->icon()->custom('templates/default/images/standard/icon_not_ok.svg', '', 'small')
$this->ui_factory->symbol()->icon()->custom('assets/images/standard/icon_ok.svg', '', 'small'),
$this->ui_factory->symbol()->icon()->custom('assets/images/standard/icon_not_ok.svg', '', 'small')
)->withIsOptional(true, false),
];
......
ilPortfolio = {
img_closed: 'templates/default/images/nav/tree_col.svg',
img_open: 'templates/default/images/nav/tree_exp.svg',
img_closed: 'assets/images/nav/tree_col.svg',
img_open: 'assets/images/nav/tree_exp.svg',
init() {
$('a.ilPCMyCoursesToggle').on('click', function (e) {
// #15509
......
......@@ -13,7 +13,7 @@
<!-- BEGIN path_bl -->
<div class="ilPCMyCoursesPath">{PATH}</div>
<!-- END path_bl -->
<a class="{TOGGLE_CLASS}" href="#"{NO_TOGGLE}><img class="course-list-tree-icon" src="templates/default/images/nav/tree_col.svg" /></a>
<a class="{TOGGLE_CLASS}" href="#"{NO_TOGGLE}><img class="course-list-tree-icon" src="assets/images/nav/tree_col.svg" /></a>
<img src="{CRS_ICON_URL}" alt="{CRS_ICON_ALT}" title="{CRS_ICON_ALT}" class="ilIcon"/>
<!-- BEGIN course_link_bl -->
<a href="{COURSE_LINK_URL}">{COURSE_LINK_TITLE}</a>
......
......@@ -120,7 +120,7 @@ class RevisionToComponent extends BaseToComponent implements ToComponent
protected function getPlaceholderImage(): string
{
return './templates/default/images/placeholder/file_placeholder.svg';
return './assets/images/placeholder/file_placeholder.svg';
}
public function getImportantProperties(): array
......
......@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" id="scormplayer">
<head>
<title>{DOC_TITLE}</title>
<link rel="icon" href="./templates/default/images/logo/favicon.ico" type="image/x-icon" />
<link rel="icon" href="./assets/images/logo/favicon.ico" type="image/x-icon" />
<meta name="viewport" content="user-scalable=yes, initial-scale=1.0, width=device-width">
<meta name="apple-mobile-web-app-capable" content="yes">
......
......@@ -227,7 +227,7 @@
<xsl:attribute name="onMouseOut">doMouseOut(this.id, 'il_droparea');</xsl:attribute>
<xsl:attribute name="onClick"> doMouseClick(event, 'TARGET' + '<xsl:value-of
select="@HierId"/>'); </xsl:attribute>
<img src="./templates/default/images/scorm/empty.png" border="0" width="8" height="8"/>
<img src="./assets/images/scorm/empty.png" border="0" width="8" height="8"/>
</div>
</xsl:template>
......
......@@ -3,7 +3,7 @@
<head>
<title>ILIAS: {TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" href="./templates/default/images/logo/favicon.ico" type="image/x-icon" />
<link rel="icon" href="./assets/images/logo/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="{API_LINK}"></script>
<meta name="viewport" content="user-scalable=yes, initial-scale=1.0, width=device-width">
</head>
......
......@@ -3,7 +3,7 @@
<head>
<title>ILIAS: {TITLE}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="./templates/default/images/logo/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./assets/images/logo/favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="{API_LINK}"></script>
<meta name="viewport" content="user-scalable=yes, initial-scale=1.0, width=device-width">
</head>
......