From f8302e2d6915125e03ce88128959f1235218f6e0 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:20:19 +0000 Subject: [PATCH] MDL-19810 Converted all print_footer() calls --- mod/hotpot/index.php | 4 ++-- mod/hotpot/report.php | 6 +++--- mod/hotpot/review.php | 2 +- mod/hotpot/view.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mod/hotpot/index.php b/mod/hotpot/index.php index 1ffc70df1e1..c65ba1c9a93 100644 --- a/mod/hotpot/index.php +++ b/mod/hotpot/index.php @@ -127,7 +127,7 @@ ; print_simple_box_end(); - print_footer($course); + echo $OUTPUT->footer(); exit; } else { // regrade has been confirmed, so proceed @@ -402,5 +402,5 @@ print_table($table); // Finish the page - print_footer($course); + echo $OUTPUT->footer(); ?> diff --git a/mod/hotpot/report.php b/mod/hotpot/report.php index 18d6e40588b..f40641fcb3d 100644 --- a/mod/hotpot/report.php +++ b/mod/hotpot/report.php @@ -155,7 +155,7 @@ } if (empty($user_ids)) { echo $OUTPUT->heading(get_string('nousersyet')); - print_footer($course); + echo $OUTPUT->footer(); exit; } @@ -250,7 +250,7 @@ // stop now if no attempts were found if (empty($attempts)) { echo $OUTPUT->heading(get_string('noattemptstoshow','quiz')); - print_footer($course); + echo $OUTPUT->footer(); exit; } @@ -350,7 +350,7 @@ } if ($formdata['reportformat']=='htm') { - print_footer($course); + echo $OUTPUT->footer(); } ////////////////////////////////////////////// diff --git a/mod/hotpot/review.php b/mod/hotpot/review.php index dbcc299bf34..de6ab85fb97 100644 --- a/mod/hotpot/review.php +++ b/mod/hotpot/review.php @@ -83,7 +83,7 @@ hotpot_print_attempt_details($hotpot, $attempt); } hotpot_print_review_buttons($course, $hotpot, $attempt, $context); - print_footer($course); + echo $OUTPUT->footer(); /////////////////////////// // functions /////////////////////////// diff --git a/mod/hotpot/view.php b/mod/hotpot/view.php index c2e780b4add..2be69dc7069 100644 --- a/mod/hotpot/view.php +++ b/mod/hotpot/view.php @@ -85,7 +85,7 @@ print "\n"; print_simple_box_end(); print "\n"; - print_footer(); + echo $OUTPUT->footer(); exit; // check password } else if ($hotpot->password && strcmp($hotpot->password, $hppassword)) {