]> git.mjollnir.org Git - moodle.git/commitdiff
roles MDL-20686 Provided a convenient breadcrumb link back to the category from the...
authorAndrew Davis <andrew@affinitysoftware.net>
Fri, 20 Nov 2009 01:59:46 +0000 (01:59 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Fri, 20 Nov 2009 01:59:46 +0000 (01:59 +0000)
admin/roles/tabs.php

index 929f453087670a5bbdbf39606d719210ab0f9bf9..d97d39a455ecb43544b92d14628700614c0b70fa 100755 (executable)
@@ -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($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_heading("$SITE->fullname: $strcourses");
             echo $OUTPUT->header();