';
echo print_user_picture($user->id, SITEID, $user->picture, 48, true, true, 'userwindow');
@@ -155,12 +155,7 @@
echo '
';
+ echo '
';
+ echo '
';
+ echo '
';
+ echo '
';
+ echo '
';
echo '
';
echo '
';
echo '
'.get_string('newonlymsg', 'message').' ';
@@ -207,8 +207,6 @@
}
$printmessage = format_text($message->message, $message->format, $options, 0);
- $printmessage = str_replace("\r", ' ', $printmessage);
- $printmessage = str_replace("\n", ' ', $printmessage);
$printmessage = '
'.$fullname.' '.
'['.$time.'] : '.
''.$printmessage.'
';
@@ -227,8 +225,6 @@
$time = userdate($message->timecreated, get_string('strftimedaytime'));
$printmessage = format_text($message->message, $message->format, $options, 0);
- $printmessage = str_replace("\r", ' ', $printmessage);
- $printmessage = str_replace("\n", ' ', $printmessage);
$printmessage = '
'.$mefullname.' '.
'['.$time.'] : '.
''.$printmessage.'
';
@@ -247,8 +243,6 @@
$time = userdate($message->timecreated, get_string('strftimedaytime'));
$printmessage = format_text($message->message, $message->format, $options, 0);
- $printmessage = str_replace("\r", ' ', $printmessage);
- $printmessage = str_replace("\n", ' ', $printmessage);
$printmessage = '
'.$userfullname.' '.
'['.$time.'] : '.
''.$printmessage.'
';
diff --git a/mod/chat/gui_basic/index.php b/mod/chat/gui_basic/index.php
index e72aaacfbc..89210c8e60 100644
--- a/mod/chat/gui_basic/index.php
+++ b/mod/chat/gui_basic/index.php
@@ -95,7 +95,7 @@
}
- print_header("$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname");
+ print_header("$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname", '', '', 'message');
echo '
';
echo '
'.get_string('participants').' ';
@@ -115,17 +115,17 @@
}
echo '';
echo '