mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Header and footer need to come from current_theme Always
This commit is contained in:
parent
55fcc21e4d
commit
560811bbc9
@ -1732,7 +1732,7 @@ function print_header ($title='', $heading='', $navigation='', $focus='', $meta=
|
||||
|
||||
$bodytags .= ' class="'.$pageclass.'" id="'.$pageid.'"';
|
||||
|
||||
include ($CFG->themedir. $CFG->theme .'/header.html');
|
||||
include ($CFG->themedir.current_theme().'/header.html');
|
||||
|
||||
if (!empty($CFG->messaging)) {
|
||||
echo message_popup_window();
|
||||
@ -1843,7 +1843,7 @@ function print_footer($course=NULL, $usercourse=NULL) {
|
||||
|
||||
/// Include the actual footer file
|
||||
|
||||
include ($CFG->themedir.$CFG->theme.'/footer.html');
|
||||
include ($CFG->themedir.current_theme().'/footer.html');
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user