mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
Smaller text window for typing and safer display of first names
This commit is contained in:
parent
3cebccea7b
commit
8fc8e7ed84
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@
|
|||
|
||||
/// Then write it to our own screen immediately
|
||||
$time = userdate(time(), get_string('strftimemessage', 'chat'));
|
||||
$message = '<p><font size="-1"><b>'.$USER->firstname.' ['.$time.']</b>: '.$message.'</font></p>';
|
||||
$message = '<p><font size="-1"><b>'.addslashes($USER->firstname).' ['.$time.']</b>: '.$message.'</font></p>';
|
||||
|
||||
$script = "<script>\n";
|
||||
$script .= "parent.messages.document.write('$message\\n');\n";
|
||||
|
@ -172,7 +172,7 @@
|
|||
|
||||
$usehtmleditor = can_use_html_editor();
|
||||
$usehtmleditor = false; // REMOVE
|
||||
print_textarea($usehtmleditor, 5, 50, 450, 200, 'message', '');
|
||||
print_textarea($usehtmleditor, 5, 40, 450, 200, 'message', '');
|
||||
if ($usehtmleditor) {
|
||||
use_html_editor("message");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue