From: nicolasconnault Date: Thu, 6 Aug 2009 14:23:49 +0000 (+0000) Subject: MDL-19794 Converted all print_footer() calls X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d880e0f5e293035e9c0b5369ef9eac88b9a10215;p=moodle.git MDL-19794 Converted all print_footer() calls --- diff --git a/course/index.php b/course/index.php index 219a2711ba..9c6ca4695a 100644 --- a/course/index.php +++ b/course/index.php @@ -85,7 +85,7 @@ } print_course_request_buttons($systemcontext); echo ''; - print_footer(); + echo $OUTPUT->footer(); exit; } /// Everything else is editing on mode. @@ -114,7 +114,7 @@ admin_externalpage_print_header(); echo $OUTPUT->heading($heading); $mform->display(); - admin_externalpage_print_footer(); + echo $OUTPUT->footer(); exit(); } @@ -140,7 +140,7 @@ print_continue('index.php'); - admin_externalpage_print_footer(); + echo $OUTPUT->footer(); die; } @@ -256,7 +256,7 @@ print_course_request_buttons($systemcontext); echo ''; - admin_externalpage_print_footer(); + echo $OUTPUT->footer(); function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $up=false, $down=false) { /// Recursive function to print all the categories ready for editing diff --git a/course/pending.php b/course/pending.php index 3dcf75b653..4162a8204f 100644 --- a/course/pending.php +++ b/course/pending.php @@ -147,7 +147,7 @@ /// Display the form for giving a reason for rejecting the request. admin_externalpage_print_header($rejectform->focus()); $rejectform->display(); - admin_externalpage_print_footer(); + echo $OUTPUT->footer(); exit; } @@ -209,5 +209,5 @@ /// Finish off the page. print_single_button($CFG->wwwroot . '/course/index.php', array(), get_string('backtocourselisting')); - admin_externalpage_print_footer(); + echo $OUTPUT->footer(); ?>