mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Added button to turn editing off again ... ugly but ...
This commit is contained in:
parent
c9f8e57f4a
commit
7dfa686dbd
@ -106,6 +106,11 @@
|
||||
"<a href=\"index.php\">$strcategories</a> -> $category->name", "", "", true, $navbaritem);
|
||||
}
|
||||
|
||||
/// Print button to turn editing off
|
||||
if ($adminediting) {
|
||||
echo '<div class="categoryediting button" align="right">'.update_category_button($category->id).'</div>';
|
||||
}
|
||||
|
||||
/// Print link to roles
|
||||
echo '<div class="rolelink" align="right"><a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?contextid='.
|
||||
$context->id.'">'.get_string('assignroles','role').'</a></div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user