Hotfix flash message
maybe other issues not sure
This commit is contained in:
parent
6fb43eab19
commit
4af1199ff3
@ -95,11 +95,10 @@ class Layout {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$flash = get_prefixed_cookie("flash_message");
|
$flash = $page->get_cookie("flash_message");
|
||||||
$flash_html = "";
|
$flash_html = "";
|
||||||
if($flash) {
|
if($flash) {
|
||||||
$flash_html = "<b id='flash'>".nl2br(html_escape($flash))." <a href='#' onclick=\"\$('#flash').hide(); return false;\">[X]</a></b>";
|
$flash_html = "<b id='flash'>".nl2br(html_escape($flash))." <a href='#' onclick=\"\$('#flash').hide(); return false;\">[X]</a></b>";
|
||||||
set_prefixed_cookie("flash_message", "", -1, "/");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
print <<<EOD
|
print <<<EOD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user