mirror of
https://github.com/moodle/moodle.git
synced 2025-07-23 23:31:58 +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();
|
$userform->display();
|
||||||
|
|
||||||
/// and proper footer
|
/// and proper footer
|
||||||
if ($user->id == -1 or ($user->id != $USER->id)) {
|
if (!empty($USER->newadminuser)) {
|
||||||
admin_externalpage_print_footer();
|
|
||||||
} else if (!empty($USER->newadminuser)) {
|
|
||||||
print_footer('none');
|
print_footer('none');
|
||||||
} else {
|
} else {
|
||||||
print_footer($course);
|
print_footer($course);
|
||||||
|
Reference in New Issue
Block a user