From 2af6a7e57bf14362c531f728ce1f44d80a534457 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:11:55 +0000 Subject: [PATCH] MDL-19795 Converted all print_footer() calls --- enrol/authorize/enrol.php | 4 ++-- enrol/authorize/locallib.php | 6 +++--- enrol/authorize/uploadcsv.php | 2 +- enrol/imsenterprise/importnow.php | 2 +- enrol/manual/enrol.php | 4 ++-- enrol/paypal/enrol.php | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/enrol/authorize/enrol.php b/enrol/authorize/enrol.php index 8f7f5bf2ce..6e73035772 100755 --- a/enrol/authorize/enrol.php +++ b/enrol/authorize/enrol.php @@ -107,7 +107,7 @@ class enrolment_plugin_authorize include($CFG->dirroot.'/enrol/manual/enrol.html'); } - print_footer(); + echo $OUTPUT->footer(); } @@ -322,7 +322,7 @@ class enrolment_plugin_authorize print_single_button("$CFG->wwwroot/course/view.php", array('id'=>$course->id), $course->fullname); echo ''; $OUTPUT->box_end(); - print_footer($course); + echo $OUTPUT->footer(); exit; // break; } } diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 95ba7bbf9c..866cdfbbec 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -208,7 +208,7 @@ function authorize_print_orders($courseid, $userid) { } $table->print_html(); - print_footer(); + echo $OUTPUT->footer(); } /** @@ -218,7 +218,7 @@ function authorize_print_orders($courseid, $userid) { */ function authorize_print_order($orderid) { - global $CFG, $USER, $DB; + global $CFG, $USER, $DB, $OUTPUT; global $strs, $authstrs; $do = optional_param('do', '', PARAM_ALPHA); @@ -505,7 +505,7 @@ function authorize_print_order($orderid) } } - print_footer(); + echo $OUTPUT->footer(); } /** diff --git a/enrol/authorize/uploadcsv.php b/enrol/authorize/uploadcsv.php index e37a76d195..6677bf9947 100644 --- a/enrol/authorize/uploadcsv.php +++ b/enrol/authorize/uploadcsv.php @@ -48,7 +48,7 @@ echo '
'; /// Print footer - print_footer(); + echo $OUTPUT->footer(); ?> //error_reporting(E_ALL); $enrol->cron(); ?>footer(); exit; ?> diff --git a/enrol/manual/enrol.php b/enrol/manual/enrol.php index 5d2f06307d..fcf320b8e0 100644 --- a/enrol/manual/enrol.php +++ b/enrol/manual/enrol.php @@ -73,7 +73,7 @@ function print_entry($course) { echo '
'; notice_yesno(get_string('enrolmentconfirmation'), "enrol.php?id=$course->id&confirm=1", "enrol.php?id=$course->id&cancel=1"); - print_footer(); + echo $OUTPUT->footer(); exit; } else if (!empty($_GET['confirm'])) { @@ -117,7 +117,7 @@ function print_entry($course) { include("$CFG->dirroot/enrol/manual/enrol.html"); - print_footer(); + echo $OUTPUT->footer(); } diff --git a/enrol/paypal/enrol.php b/enrol/paypal/enrol.php index be97315781..3812ef8eaf 100644 --- a/enrol/paypal/enrol.php +++ b/enrol/paypal/enrol.php @@ -75,7 +75,7 @@ function print_entry($course) { include($CFG->dirroot.'/enrol/manual/enrol.html'); } - print_footer(); + echo $OUTPUT->footer(); } } // end of function print_entry() -- 2.39.5