Permalink
Browse files

add page heading

  • Loading branch information...
1 parent d0f9f92 commit b3ddf59ab463c8a5fde931dfcf49b6270955694f Rossiani Wijaya committed May 27, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 course/category.php
View
@@ -163,9 +163,12 @@
admin_externalpage_setup('coursemgmt', '', $urlparams, $CFG->wwwroot . '/course/category.php');
$PAGE->set_context($context); // Ensure that we are actually showing blocks etc for the cat context
echo $OUTPUT->header();
- } else {
+ } else {
+ $PAGE->navbar->add($strcategories, new moodle_url('/course/index.php'));
+ $PAGE->navbar->add($category->name);
+ $PAGE->navbar->add($strcourses);
$PAGE->set_title("$site->shortname: $category->name");
- $PAGE->set_heading("$site->fullname: $strcourses");
+ $PAGE->set_heading($site->fullname);
$PAGE->set_button(print_course_search('', true, 'navbar'));
$PAGE->set_pagelayout('coursecategory');
echo $OUTPUT->header();

0 comments on commit b3ddf59

Please sign in to comment.