mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Need to rename variables in footer nav menu .... urgh, not pretty but works
This commit is contained in:
parent
e14496ec4f
commit
f940ee41b8
@ -1796,12 +1796,13 @@ function print_footer($course=NULL, $usercourse=NULL) {
|
||||
}
|
||||
|
||||
/// Set up some other navigation links (passed from print_header by ugly hack)
|
||||
$menu = isset($THEME->menu) ? $THEME->menu : '';
|
||||
$menu = isset($THEME->menu) ? str_replace('navmenu', 'navmenufooter', $THEME->menu) : '';
|
||||
$title = isset($THEME->title) ? $THEME->title : '';
|
||||
$button = isset($THEME->button) ? $THEME->button : '';
|
||||
$heading = isset($THEME->heading) ? $THEME->heading : '';
|
||||
$navigation = isset($THEME->navigation) ? $THEME->navigation : '';
|
||||
|
||||
|
||||
/// Set the user link if necessary
|
||||
if (!$usercourse and is_object($course)) {
|
||||
$usercourse = $course;
|
||||
|
Loading…
x
Reference in New Issue
Block a user