mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
categories MDL-24936 Added turn editing on/off links to the category settings in the settings block
This commit is contained in:
parent
79b067e911
commit
1b32bc234a
2 changed files with 22 additions and 13 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue