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)
|
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(" ");
|
echo html_frame_end(" ");
|
||||||
echo "<br>\n";
|
echo "<br>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user