Messaging MDL-17581 Various fixes to use the new fields names

This commit is contained in:
moodler 2009-01-19 04:35:09 +00:00
parent 9133d4ad58
commit 3d14359585
2 changed files with 13 additions and 17 deletions

View file

@ -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";
?>
?>