categories MDL-24936 Added turn editing on/off links to the category settings in the settings block

This commit is contained in:
Sam Hemelryk 2010-11-22 05:31:46 +00:00
parent 79b067e911
commit 1b32bc234a
2 changed files with 22 additions and 13 deletions

View file

@ -173,12 +173,6 @@
echo $OUTPUT->header();
}
/// Print link to roles
if (has_capability('moodle/role:assign', $context)) {
echo '<div class="rolelink"><a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?contextid='.
$context->id.'">'.get_string('assignroles','role').'</a></div>';
}
/// Print the category selector
$displaylist = array();
$notused = array();