mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-42434 mod_chat: add again the usingchat help icon
In Moodle 2.4 the help icon displayed in the chat window was removed. It has been added to gui_ajax and gui_basic in order to help users.
This commit is contained in:
parent
a0fc902eb1
commit
522b89ce54
@ -97,13 +97,15 @@ echo $OUTPUT->box(html_writer::tag('h2', get_string('messages', 'chat'), array(
|
||||
'<ul id="messages-list"></ul>', '', 'chat-messages');
|
||||
$table = new html_table();
|
||||
$table->data = array(
|
||||
array('<div class="form-inline"><label class="accesshide" for="input-message">'.get_string('entermessage', 'chat').' </label>'.
|
||||
array('<div class="form-inline"><div class="d-flex"><label class="accesshide" for="input-message">'.
|
||||
get_string('entermessage', 'chat').' </label>'.
|
||||
'<span class="form-group"><input type="text" disabled="true" class="form-control" ' .
|
||||
'id="input-message" value="Loading..." size="48" /></span>'.
|
||||
'<span class="form-group"><input type="button" id="button-send" class="btn btn-secondary mx-1" ' .
|
||||
'value="'.get_string('send', 'chat').'" /></span> <span class="form-group"><a id="choosetheme" href="###">'.
|
||||
'value="'.get_string('send', 'chat').'" />' .$OUTPUT->help_icon('usingchat', 'chat'). '</span></div>' .
|
||||
' <div class="form-group d-flex ml-auto"><a id="choosetheme" href="###">'.
|
||||
get_string('themes').
|
||||
' » </a></span></div>'));
|
||||
' » </a></div></div>'));
|
||||
echo $OUTPUT->box(html_writer::tag('h2', get_string('composemessage', 'chat'), array('class' => 'accesshide')) .
|
||||
html_writer::table($table), '', 'chat-input-area');
|
||||
echo $OUTPUT->box('', '', 'chat-notify');
|
||||
|
@ -149,7 +149,9 @@ echo $OUTPUT->box_end();
|
||||
echo '<div id="send">';
|
||||
echo '<form id="editing" method="post" action="index.php">';
|
||||
|
||||
echo '<h2><label for="message">'.get_string('sendmessage', 'message').'</label></h2>';
|
||||
echo '<h2><label for="message">' . get_string('sendmessage', 'message');
|
||||
echo $OUTPUT->help_icon('usingchat', 'chat');
|
||||
echo '</label></h2>';
|
||||
echo '<div class="mb-1">';
|
||||
echo '<input type="text" id="message" class="form-control" name="message" value="'.s($refreshedmessage, true).'" size="60" />';
|
||||
echo '</div><div class="mb-1">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user