From 43aff3e8749be39eeca39d5a039580508381156b Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Wed, 21 May 2008 12:46:00 +0000 Subject: [PATCH] MDL-14916: Tidy up notices --- course/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/course/index.php b/course/index.php index f73cb0581..c1543ec3e 100644 --- a/course/index.php +++ b/course/index.php @@ -422,13 +422,14 @@ function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $ function print_category_edit_header() { global $CFG; + global $SITE; if (has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM))) { require_once($CFG->libdir.'/adminlib.php'); admin_externalpage_setup('coursemgmt'); admin_externalpage_print_header(); } else { - print_header("$site->shortname: $strcategories", get_string('courses'), + print_header("$SITE->shortname:". get_string('categories'), get_string('courses'), build_navigation(array(array('name'=>get_string('categories'),'link'=>'','type'=>'misc'))), '', '', true, update_categories_button()); } } -- 2.11.4.GIT