diff --git a/question/addquestion.php b/question/addquestion.php index 95402597fd8..cdba0607ecc 100644 --- a/question/addquestion.php +++ b/question/addquestion.php @@ -100,5 +100,5 @@ print_box_start('generalbox boxwidthnormal boxaligncenter', 'chooseqtypebox'); print_choose_qtype_to_add_form($hiddenparams); print_box_end(); -print_footer($COURSE); -?> \ No newline at end of file +echo $OUTPUT->footer(); +?> diff --git a/question/category.php b/question/category.php index e999edd9d69..345a7addb10 100644 --- a/question/category.php +++ b/question/category.php @@ -127,5 +127,5 @@ // display the user interface $qcobject->display_user_interface(); } - print_footer($COURSE); + echo $OUTPUT->footer(); ?> diff --git a/question/contextmove.php b/question/contextmove.php index fcae76c0beb..f742b2db2fb 100644 --- a/question/contextmove.php +++ b/question/contextmove.php @@ -240,5 +240,5 @@ print_box(get_string('movingcategorynofiles', 'question', $cattomove), 'boxwidthnarrow boxaligncenter generalbox'); } $contextmoveform->display(); - print_footer($COURSE); + echo $OUTPUT->footer(); ?> diff --git a/question/contextmoveq.php b/question/contextmoveq.php index ae2c01af349..f2fa3fefe90 100644 --- a/question/contextmoveq.php +++ b/question/contextmoveq.php @@ -240,5 +240,5 @@ if (count($urls)){ print_box(get_string('movingquestionsnofiles', 'question', $questionsstr), 'boxwidthnarrow boxaligncenter generalbox'); } $contextmoveform->display(); -print_footer($COURSE); +echo $OUTPUT->footer(); ?> diff --git a/question/edit.php b/question/edit.php index 1c891a45d8b..0b8b731c4ee 100644 --- a/question/edit.php +++ b/question/edit.php @@ -77,5 +77,5 @@ $pagevars['cat'], $pagevars['recurse'], $pagevars['showhidden'], $pagevars['showquestiontext']); echo "\n"; - print_footer($COURSE); + echo $OUTPUT->footer(); ?> diff --git a/question/export.php b/question/export.php index 3ad786f4151..8d0f70e8ddc 100644 --- a/question/export.php +++ b/question/export.php @@ -123,7 +123,7 @@ } print_continue('edit.php?' . $thispageurl->get_query_string()); - print_footer($COURSE); + echo $OUTPUT->footer(); exit; } @@ -132,5 +132,5 @@ $export_form->display(); - print_footer($COURSE); + echo $OUTPUT->footer(); ?> diff --git a/question/import.php b/question/import.php index 67c265a58cb..7009f710694 100644 --- a/question/import.php +++ b/question/import.php @@ -152,7 +152,7 @@ echo "