From 0f4e7a3a93dab8456bc3dbf329becc464f824c4a Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:20:08 +0000 Subject: [PATCH] MDL-19805 Converted all print_footer() calls --- mod/choice/index.php | 2 +- mod/choice/report.php | 4 ++-- mod/choice/view.php | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/choice/index.php b/mod/choice/index.php index 3f6f29f684..ab6525a778 100644 --- a/mod/choice/index.php +++ b/mod/choice/index.php @@ -94,6 +94,6 @@ echo "
"; print_table($table); - print_footer($course); + echo $OUTPUT->footer(); ?> diff --git a/mod/choice/report.php b/mod/choice/report.php index 33e6f611f5..62bba24710 100644 --- a/mod/choice/report.php +++ b/mod/choice/report.php @@ -223,6 +223,6 @@ echo ""; } - print_footer($course); + echo $OUTPUT->footer(); -?> \ No newline at end of file +?> diff --git a/mod/choice/view.php b/mod/choice/view.php index cf494ce5b4..e97dfbb381 100644 --- a/mod/choice/view.php +++ b/mod/choice/view.php @@ -96,7 +96,7 @@ if ($choice->timeclose !=0) { if ($choice->timeopen > $timenow ) { print_simple_box(get_string("notopenyet", "choice", userdate($choice->timeopen)), "center"); - print_footer($course); + echo $OUTPUT->footer(); exit; } else if ($timenow > $choice->timeclose) { print_simple_box(get_string("expired", "choice", userdate($choice->timeclose)), "center"); @@ -156,9 +156,9 @@ print_simple_box(get_string('noresultsviewable', 'choice'), 'center'); } - print_footer($course); + echo $OUTPUT->footer(); /// Mark as viewed $completion=new completion_info($course); $completion->set_module_viewed($cm); -?> \ No newline at end of file +?> -- 2.39.5