From 2311afc2a0ebbd995616f92ff57db58445df69f0 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 9 Aug 2007 13:30:10 +0000 Subject: [PATCH] Merged MDL-10771 from 18 stable --- mod/chat/view.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mod/chat/view.php b/mod/chat/view.php index 2a3d854cab..99d4d26b5c 100644 --- a/mod/chat/view.php +++ b/mod/chat/view.php @@ -117,14 +117,18 @@ $chattarget = "/mod/chat/gui_$CFG->chat_method/index.php?id=$chat->id$groupparam"; } + echo '

'; link_to_popup_window ($chattarget, - "chat$course->id$chat->id$groupparam", "

$strenterchat

", 500, 700, get_string('modulename', 'chat')); + "chat$course->id$chat->id$groupparam", "$strenterchat", 500, 700, get_string('modulename', 'chat')); + echo '

'; // if user is using screen reader, then there is no need to display this link again if ($CFG->chat_method == 'header_js' && empty($USER->screenreader)) { // show frame/js-less alternative + echo '

('; link_to_popup_window ("/mod/chat/gui_basic/index.php?id=$chat->id$groupparam", - "chat$course->id$chat->id$groupparam", '

('.get_string('noframesjs', 'message').')

', 500, 700, get_string('modulename', 'chat')); + "chat$course->id$chat->id$groupparam", get_string('noframesjs', 'message'), 500, 700, get_string('modulename', 'chat')); + echo ')

'; } print_box_end(); -- 2.39.5