MDL-20447 - add page heading

This commit is contained in:
Rossiani Wijaya
2010-05-27 09:55:39 +00:00
parent b3ddf59ab4
commit fb66c52e06
+2 -2
View File
@@ -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();