From fb66c52e0647a275186a35a92bae2ec0081eb0bc Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Thu, 27 May 2010 09:55:39 +0000 Subject: [PATCH] MDL-20447 - add page heading --- course/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/index.php b/course/index.php index 115502d492a..2354eb6ba4e 100644 --- a/course/index.php +++ b/course/index.php @@ -79,7 +79,7 @@ if (!$adminediting) { $PAGE->navbar->add($strcategories); $PAGE->set_title("$site->shortname: $strcategories"); - $PAGE->set_heading($strcourses); + $PAGE->set_heading($COURSE->fullname); $PAGE->set_button(update_category_button()); echo $OUTPUT->header(); echo $OUTPUT->heading($strcategories); @@ -91,7 +91,7 @@ if (!$adminediting) { } else { $PAGE->navbar->add($strfulllistofcourses); $PAGE->set_title("$site->shortname: $strfulllistofcourses"); - $PAGE->set_heading($strfulllistofcourses); + $PAGE->set_heading($COURSE->fullname); $PAGE->set_button(update_category_button()); echo $OUTPUT->header(); echo $OUTPUT->skip_link_target();