Fix display of text colour in session messages
This commit is contained in:
committed by
Alexander Nicolaysen Sørnes
parent
f84c811569
commit
8501de46ac
@@ -273,8 +273,8 @@ function dumpmsgbuffer()
|
||||
foreach ($GLOBALS['session']->msg as $msg)
|
||||
{
|
||||
if ($msg['color'] == "red")
|
||||
$msg['color'] = "{$msg['color']};text-decoration:blink";
|
||||
echo "<div align=\"center\" class=\"session_note\" style=\"font-color:{$msg['color']};\"> {$msg['msg']} </div>";
|
||||
$msg['color'] = "{$msg['color']}; text-decoration: blink;";
|
||||
echo "<div align=\"center\" class=\"session_note\" style=\"color: {$msg['color']};\"> {$msg['msg']} </div>";
|
||||
}
|
||||
echo html_frame_end(" ");
|
||||
echo "<br>\n";
|
||||
|
||||
Reference in New Issue
Block a user