roles MDL-20686 Provided a convenient breadcrumb link back to the category from the category role assignment screen

This commit is contained in:
Andrew Davis 2009-11-20 01:59:46 +00:00
parent 6b2226c96c
commit 616fb016a2

View file

@ -75,7 +75,7 @@ if ($currenttab != 'update') {
$PAGE->navbar->add($strcategories, new moodle_url($CFG->wwwroot.'/course/index.php'), navigation_node::TYPE_SETTING); $PAGE->navbar->add($strcategories, new moodle_url($CFG->wwwroot.'/course/index.php'), navigation_node::TYPE_SETTING);
$PAGE->navbar->add($category->name, new moodle_url($CFG->wwwroot.'/course/category.php', array('id'=>$category->id)), navigation_node::TYPE_SETTING); $PAGE->navbar->add($category->name, new moodle_url($CFG->wwwroot.'/course/category.php', array('id'=>$category->id)), navigation_node::TYPE_SETTING);
$PAGE->navbar->add(get_string("roles"), null, navigation_node::TYPE_SETTING); $PAGE->navbar->add(get_string("roles"));
$PAGE->set_title($title); $PAGE->set_title($title);
$PAGE->set_heading("$SITE->fullname: $strcourses"); $PAGE->set_heading("$SITE->fullname: $strcourses");
echo $OUTPUT->header(); echo $OUTPUT->header();