mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
'added the body class notloggedin to be able to style pages different before loggin'
This commit is contained in:
parent
ac39fae94d
commit
367e23c213
@ -2199,6 +2199,10 @@ function print_header ($title='', $heading='', $navigation='', $focus='',
|
||||
$pageclass .= ' course-'.SITEID;
|
||||
}
|
||||
|
||||
if (!isloggedin()) {
|
||||
$pageclass .= ' notloggedin';
|
||||
}
|
||||
|
||||
if (!empty($USER->editing)) {
|
||||
$pageclass .= ' editing';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user