diff --git a/backup/backup.php b/backup/backup.php index 1078b767432..d0d36901c67 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -82,7 +82,7 @@ echo $OUTPUT->heading(get_string("nocoursesyet")); print_continue("$CFG->wwwroot/$CFG->admin/index.php"); } - print_footer(); + echo $OUTPUT->footer(); exit; } @@ -129,5 +129,5 @@ print_simple_box_end(); //Print footer - print_footer(); + echo $OUTPUT->footer(); ?> diff --git a/backup/restore.php b/backup/restore.php index e619679bd88..a2386a245aa 100644 --- a/backup/restore.php +++ b/backup/restore.php @@ -106,7 +106,7 @@ print_header("$site->shortname: $strcourserestore", $site->fullname, $navigation); echo $OUTPUT->heading(get_string("nofilesselected")); print_continue("$CFG->wwwroot/$CFG->admin/index.php"); - print_footer(); + echo $OUTPUT->footer(); exit; } @@ -115,7 +115,7 @@ print_header("$site->shortname: $strcourserestore", $site->fullname, $navigation); echo $OUTPUT->heading(get_string("restorecancelled")); print_continue("$CFG->wwwroot/course/view.php?id=".$id); - print_footer(); + echo $OUTPUT->footer(); exit; } @@ -174,6 +174,6 @@ print_simple_box_end(); //Print footer - print_footer(); + echo $OUTPUT->footer(); ?>