From: moodler Date: Fri, 22 Aug 2003 12:26:36 +0000 (+0000) Subject: More tweaks to fix on/off button for admins o ncourse listings X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9b16d1eada7dca3d85e591ab4b23c5868e254778;p=moodle.git More tweaks to fix on/off button for admins o ncourse listings --- diff --git a/course/category.php b/course/category.php index db2fe1525e..c15781886b 100644 --- a/course/category.php +++ b/course/category.php @@ -69,7 +69,7 @@ print_header("$site->shortname: $category->name", "$site->fullname", "admin/index.php\">$stradministration -> ". "$strcategories -> $category->name", - "", "", true, $updatebutton); + "", "", true, $navbaritem); } else { print_header("$site->shortname: $category->name", "$site->fullname", "$strcourses -> $category->name", "", "", true, $navbaritem); @@ -269,8 +269,8 @@ echo ""; echo "id\">$course->fullname"; if ($creatorediting) { - echo ""; if ($adminediting) { + echo ""; echo "wwwroot/course/teacher.php?id=$course->id\"> "; echo "id\">wwwroot/course/category.php\">". + } + return "
wwwroot/course/category.php\">". "". "". "
";