mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-9172 "Turn editing off" button disappear from category page
This commit is contained in:
parent
66c8048d55
commit
e4335c36db
1 changed files with 6 additions and 0 deletions
|
@ -315,6 +315,7 @@
|
|||
|
||||
echo '</table>';
|
||||
|
||||
echo '<div class="buttons">';
|
||||
/// Print link to create a new course
|
||||
if (has_capability('moodle/course:create', $context)) {
|
||||
unset($options);
|
||||
|
@ -324,6 +325,11 @@
|
|||
|
||||
print_single_button('pending.php',NULL, get_string('coursespending'), 'get');
|
||||
|
||||
// admin page does not allow custom buttons in the navigation bar
|
||||
echo '<div class="singlebutton">';
|
||||
echo update_categories_button();
|
||||
echo '</div></div>';
|
||||
|
||||
admin_externalpage_print_footer($adminroot);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue