From c15fa88fb8da20575cf08baad1bf8a4247a981b0 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Mon, 10 Aug 2009 04:58:40 +0000 Subject: [PATCH] MDL-19804 Converted print_box* to $OUTPUT->box* --- mod/chat/view.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mod/chat/view.php b/mod/chat/view.php index 47d197ea34a..ee617f6e06d 100644 --- a/mod/chat/view.php +++ b/mod/chat/view.php @@ -113,13 +113,13 @@ if (has_capability('mod/chat:chat',$context)) { /// Print the main part of the page - print_box_start('generalbox', 'enterlink'); + echo $OUTPUT->box_start('generalbox', 'enterlink'); // users with screenreader set, will only see 1 link, to the manual refresh page // for better accessibility if (!empty($USER->screenreader)) { $chattarget = "/mod/chat/gui_basic/index.php?id=$chat->id$groupparam"; } else { - $chattarget = "/mod/chat/gui_$CFG->chat_method/index.php?id=$chat->id$groupparam"; + $chattarget = "/mod/chat/gui_$CFG->chat_method/index.php?id=$chat->id$groupparam"; } echo '

'; @@ -143,12 +143,12 @@ echo ')

'; } - print_box_end(); + echo $OUTPUT->box_end(); } else { - print_box_start('generalbox', 'notallowenter'); + echo $OUTPUT->box_start('generalbox', 'notallowenter'); echo '

'.get_string('notallowenter', 'chat').'

'; - print_box_end(); + echo $OUTPUT->box_end(); } if ($chat->chattime and $chat->schedule) { // A chat is scheduled @@ -158,7 +158,7 @@ } if ($chat->intro) { - print_box(format_module_intro('chat', $chat, $cm->id), 'generalbox', 'intro'); + echo $OUTPUT->box(format_module_intro('chat', $chat, $cm->id), 'generalbox', 'intro'); } chat_delete_old_users();