From d8772689b2efbc7998b80c1db3412ab9778cf048 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:15:30 +0000 Subject: [PATCH] MDL-19804 Converted all print_footer() calls --- mod/chat/gui_basic/index.php | 2 +- mod/chat/gui_header_js/chatinput.php | 2 +- mod/chat/gui_header_js/users.php | 2 +- mod/chat/gui_sockets/chatinput.php | 2 +- mod/chat/index.php | 2 +- mod/chat/report.php | 6 +++--- mod/chat/view.php | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/mod/chat/gui_basic/index.php b/mod/chat/gui_basic/index.php index b896c43366..aacf0a921f 100644 --- a/mod/chat/gui_basic/index.php +++ b/mod/chat/gui_basic/index.php @@ -170,7 +170,7 @@ echo ''; - print_footer('none'); + echo $OUTPUT->footer(); diff --git a/mod/chat/gui_header_js/chatinput.php b/mod/chat/gui_header_js/chatinput.php index 9e3a648e51..6db2e979a6 100644 --- a/mod/chat/gui_header_js/chatinput.php +++ b/mod/chat/gui_header_js/chatinput.php @@ -48,5 +48,5 @@ footer(); ?> diff --git a/mod/chat/gui_header_js/users.php b/mod/chat/gui_header_js/users.php index 18f2beb762..118b49f87a 100644 --- a/mod/chat/gui_header_js/users.php +++ b/mod/chat/gui_header_js/users.php @@ -99,7 +99,7 @@ } // added 2 s, xhtml strict complaints echo ''; - print_footer('empty'); + echo $OUTPUT->footer(); // // Support HTTP Keep-Alive by printing Content-Length diff --git a/mod/chat/gui_sockets/chatinput.php b/mod/chat/gui_sockets/chatinput.php index 71c9e28ea9..3efadb980f 100644 --- a/mod/chat/gui_sockets/chatinput.php +++ b/mod/chat/gui_sockets/chatinput.php @@ -36,5 +36,5 @@ footer(); ?> diff --git a/mod/chat/index.php b/mod/chat/index.php index 945ee8c42e..025318f7fd 100644 --- a/mod/chat/index.php +++ b/mod/chat/index.php @@ -85,6 +85,6 @@ /// Finish the page - print_footer($course); + echo $OUTPUT->footer(); ?> diff --git a/mod/chat/report.php b/mod/chat/report.php index 09fb2fcbc8..8861fdad7a 100644 --- a/mod/chat/report.php +++ b/mod/chat/report.php @@ -97,7 +97,7 @@ print_continue("report.php?id=$cm->id"); } - print_footer($course); + echo $OUTPUT->footer(); exit; } @@ -144,7 +144,7 @@ if (empty($messages)) { /// May have already got them above if (!$messages = $DB->get_records_select('chat_messages', "chatid = :chatid $groupselect", $params, "timestamp DESC")) { echo $OUTPUT->heading(get_string('nomessages', 'chat')); - print_footer($course); + echo $OUTPUT->footer(); exit; } } @@ -233,6 +233,6 @@ /// Finish the page - print_footer($course); + echo $OUTPUT->footer(); ?> diff --git a/mod/chat/view.php b/mod/chat/view.php index dfc82e273a..47d197ea34 100644 --- a/mod/chat/view.php +++ b/mod/chat/view.php @@ -52,7 +52,7 @@ notice_yesno(get_string('noguests', 'chat').'

'.get_string('liketologin'), get_login_url(), $CFG->wwwroot.'/course/view.php?id='.$course->id); - print_footer($course); + echo $OUTPUT->footer(); exit; } @@ -184,6 +184,6 @@ print_simple_box_end(); } - print_footer($course); + echo $OUTPUT->footer(); ?> -- 2.39.5