Skip to content
GitLab
Explore
Sign in
ilias-core
ILIAS
Compare revisions
a76cfa7324b29841c89df2fe8e0954fc7a7666c2 to ecd459203e4c736488dbf05b886e2094aad58ba8
Commits on Source (3)
ComponentsRevision: amend JS/CSS files
· 380af793
Nils Haagen
authored
Apr 25, 2024
380af793
ComponentsRevision: adjust image-pathes
· 137f957b
Nils Haagen
authored
Apr 26, 2024
137f957b
ComponentsRevision: move resources of examples to assets
· ecd45920
Nils Haagen
authored
Apr 26, 2024
ecd45920
Hide whitespace changes
Inline
Side-by-side
components/ILIAS/AuthShibboleth/classes/Config/class.ilShibbolethSettings.php
View file @
ecd45920
...
...
@@ -29,7 +29,7 @@ class ilShibbolethSettings
{
private
const
PREFIX
=
'shib_'
;
private
const
DEFAULT_IDP_LIST
=
"urn:mace:organization1:providerID, Example Organization 1
\n
urn: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
);
...
...
components/ILIAS/Block/resources/ilblockcallback.js
View file @
ecd45920
...
...
@@ -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
);
...
...
components/ILIAS/COPage/css/content_base.css
View file @
ecd45920
...
...
@@ -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
{
...
...
components/ILIAS/COPage/xsl/page.xsl
View file @
ecd45920
...
...
@@ -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>
...
...
components/ILIAS/Calendar/classes/Agenda/class.ilCalendarAgendaListGUI.php
View file @
ecd45920
...
...
@@ -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.
...
...
components/ILIAS/Chatroom/classes/class.ilChatroom.php
View file @
ecd45920
...
...
@@ -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
(
...
...
components/ILIAS/Chatroom/resources/chatroom.css
View file @
ecd45920
...
...
@@ -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
;
}
...
...
components/ILIAS/Chatroom/resources/chatroom.js
View file @
ecd45920
...
...
@@ -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
)
{
...
...
components/ILIAS/Contact/BuddySystem/classes/class.ilBuddySystemNotification.php
View file @
ecd45920
...
...
@@ -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
,
...
...
components/ILIAS/Container/resources/ilClassification.js
View file @
ecd45920
...
...
@@ -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
)
{
...
...
components/ILIAS/LearningSequence/classes/Player/class.ilLSTOCGUI.php
View file @
ecd45920
...
...
@@ -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"
];
/**
...
...
components/ILIAS/LearningSequence/classes/class.ilLearningSequenceAppEventListener.php
View file @
ecd45920
...
...
@@ -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'
]]);
}
}
...
...
components/ILIAS/OrgUnit/classes/Positions/UserAssignment/class.ilOrgUnitUserAssignmentGUI.php
View file @
ecd45920
...
...
@@ -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
),
];
...
...
components/ILIAS/Portfolio/resources/ilPortfolio.js
View file @
ecd45920
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
...
...
components/ILIAS/Portfolio/templates/default/tpl.pc_my_courses.html
View file @
ecd45920
...
...
@@ -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>
...
...
components/ILIAS/ResourceStorage/classes/Resources/UI/RevisionToComponent.php
View file @
ecd45920
...
...
@@ -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
...
...
components/ILIAS/Scorm2004/templates/default/tpl.scorm2004.player.html
View file @
ecd45920
...
...
@@ -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"
>
...
...
components/ILIAS/Scorm2004/templates/xsl/sco.xsl
View file @
ecd45920
...
...
@@ -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>
...
...
components/ILIAS/ScormAicc/templates/default/tpl.sahs_pres_frameset_js.html
View file @
ecd45920
...
...
@@ -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>
...
...
components/ILIAS/ScormAicc/templates/default/tpl.sahs_pres_frameset_js_debug.html
View file @
ecd45920
...
...
@@ -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>
...
...
Prev
1
2
3
4
5
6
Next