Need to rename variables in footer nav menu .... urgh, not pretty but works

This commit is contained in:
moodler 2005-03-26 07:26:27 +00:00
parent e14496ec4f
commit f940ee41b8

View File

@ -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;