mirror of
https://github.com/moodle/moodle.git
synced 2025-02-01 21:54:04 +01:00
Fix styles when editing front page
This commit is contained in:
parent
c5e266d233
commit
7d89172f66
@ -1636,7 +1636,7 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $meta=
|
|||||||
if (substr($path, -1) == '/') {
|
if (substr($path, -1) == '/') {
|
||||||
$path .= 'index';
|
$path .= 'index';
|
||||||
}
|
}
|
||||||
if (empty($path)) {
|
if (empty($path) or $path = '/index') {
|
||||||
$pageid = 'site-index';
|
$pageid = 'site-index';
|
||||||
$pageclass = 'course course-'.SITEID;
|
$pageclass = 'course course-'.SITEID;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user