Fix display of text colour in session messages

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-04-22 20:29:42 +02:00
committed by Alexander Nicolaysen Sørnes
parent f84c811569
commit 8501de46ac

View File

@@ -273,8 +273,8 @@ function dumpmsgbuffer()
foreach ($GLOBALS['session']->msg as $msg) foreach ($GLOBALS['session']->msg as $msg)
{ {
if ($msg['color'] == "red") if ($msg['color'] == "red")
$msg['color'] = "{$msg['color']};text-decoration:blink"; $msg['color'] = "{$msg['color']}; text-decoration: blink;";
echo "<div align=\"center\" class=\"session_note\" style=\"font-color:{$msg['color']};\"> {$msg['msg']} </div>"; echo "<div align=\"center\" class=\"session_note\" style=\"color: {$msg['color']};\"> {$msg['msg']} </div>";
} }
echo html_frame_end("&nbsp;"); echo html_frame_end("&nbsp;");
echo "<br>\n"; echo "<br>\n";