diff --git a/mod/chat/gui_ajax/index.php b/mod/chat/gui_ajax/index.php index ee389bcc5b8..b79e07151b0 100644 --- a/mod/chat/gui_ajax/index.php +++ b/mod/chat/gui_ajax/index.php @@ -77,7 +77,7 @@ echo $OUTPUT->box('', '', 'chat-options'); echo $OUTPUT->box('', '', 'chat-messages'); $table = new html_table(); $table->data = array( - array(' » '.get_string('themes').' » ') + array(' » '.get_string('themes').' » ') ); echo $OUTPUT->box(html_writer::table($table), '', 'chat-input-area'); echo $OUTPUT->box('', '', 'chat-notify'); diff --git a/mod/chat/gui_header_js/chatinput.php b/mod/chat/gui_header_js/chatinput.php index 9431417954d..d480fe1a35d 100644 --- a/mod/chat/gui_header_js/chatinput.php +++ b/mod/chat/gui_header_js/chatinput.php @@ -44,6 +44,7 @@ $PAGE->set_cacheable(false); echo $OUTPUT->header(); echo html_writer::start_tag('form', array('action'=>'../empty.php', 'method'=>'post', 'target'=>'empty', 'id'=>'inputForm', 'style'=>'margin:0')); +echo html_writer::label(get_string('entermessage', 'chat'), 'input_chat_message', false, array('class' => 'accesshide')); echo html_writer::empty_tag('input', array('type'=>'text', 'id'=>'input_chat_message', 'name'=>'chat_message', 'size'=>'50', 'value'=>'')); echo html_writer::empty_tag('input', array('type'=>'checkbox', 'id'=>'auto', 'checked'=>'checked', 'value'=>'')); echo html_writer::tag('label', get_string('autoscroll', 'chat'), array('for'=>'auto')); diff --git a/mod/chat/gui_sockets/chatinput.php b/mod/chat/gui_sockets/chatinput.php index fe369b5cd67..237f4886f62 100644 --- a/mod/chat/gui_sockets/chatinput.php +++ b/mod/chat/gui_sockets/chatinput.php @@ -28,6 +28,7 @@ echo $OUTPUT->header();
+ help_icon('usingchat', 'chat'); ?>
diff --git a/mod/chat/lang/en/chat.php b/mod/chat/lang/en/chat.php index efd50fd71e9..bd5ee733fd9 100644 --- a/mod/chat/lang/en/chat.php +++ b/mod/chat/lang/en/chat.php @@ -59,6 +59,7 @@ $string['chat:readlog'] = 'Read chat logs'; $string['chatreport'] = 'Chat sessions'; $string['chat:talk'] = 'Talk in a chat'; $string['chattime'] = 'Next chat time'; +$string['entermessage'] = "Enter your message"; $string['idle'] = 'Idle'; $string['inputarea'] = 'Input area'; $string['invalidid'] = 'Could not find that chat room!';