mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Messaging MDL-17581 Various fixes to use the new fields names
This commit is contained in:
parent
9133d4ad58
commit
3d14359585
2 changed files with 13 additions and 17 deletions
|
@ -57,11 +57,7 @@
|
|||
$options = new object();
|
||||
$options->para = false;
|
||||
$options->newlines = true;
|
||||
if ($message->format == FORMAT_HTML){
|
||||
$printmessage = format_text($message->fullmessagehtml, $message->format, $options, 0);
|
||||
} else{
|
||||
$printmessage = format_text($message->fullmessage, $message->format, $options, 0);
|
||||
}
|
||||
$printmessage = format_text($message->fullmessage, $message->fullmessageformat, $options, 0);
|
||||
$printmessage = '<div class="message other"><span class="author">'.s($userfullname).'</span> '.
|
||||
'<span class="time">['.$time.']</span>: '.
|
||||
'<span class="content">'.$printmessage.'</span></div>';
|
||||
|
@ -133,4 +129,4 @@
|
|||
"refresh.php?id=$userid&name=" . urlencode($userfullname) . "&wait=$wait"));
|
||||
echo '</body>'."\n";
|
||||
echo '</html>'."\n";
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue