mirror of
https://github.com/moodle/moodle.git
synced 2025-07-23 15:22:05 +02:00
MDL-9647 simplify dealing with headers/footers in admin sections; some more cleanup
fixed continue button in error() on admin page when link present
This commit is contained in:
@@ -181,9 +181,7 @@
|
||||
$userform->display();
|
||||
|
||||
/// and proper footer
|
||||
if ($user->id == -1 or ($user->id != $USER->id)) {
|
||||
admin_externalpage_print_footer();
|
||||
} else if (!empty($USER->newadminuser)) {
|
||||
if (!empty($USER->newadminuser)) {
|
||||
print_footer('none');
|
||||
} else {
|
||||
print_footer($course);
|
||||
|
Reference in New Issue
Block a user