From f940ee41b843f36aa2342d2bbb5649152afc2f23 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 26 Mar 2005 07:26:27 +0000 Subject: [PATCH] Need to rename variables in footer nav menu .... urgh, not pretty but works --- lib/weblib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 3f50f4bd69d..c6c1fe18a9a 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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;