This commit is contained in:
Shish 2019-12-16 00:02:34 +00:00
parent 86d4f2eb82
commit 5d559dc654
7 changed files with 7 additions and 7 deletions

View file

@ -125,7 +125,7 @@ class Layout
$withleft = "noleft";
}
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>

View file

@ -125,7 +125,7 @@ class Layout
$withleft = "noleft";
}
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>

View file

@ -45,7 +45,7 @@ class Layout
$wrapper = ' style="height: 3em; overflow: auto;"';
}
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>

View file

@ -50,7 +50,7 @@ class Layout
$withleft = "";
}
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>

View file

@ -82,7 +82,7 @@ class Layout
$main_block_html = "<article>{$main_block_html}</article>";
}
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>

View file

@ -92,7 +92,7 @@ class Layout
}
*/
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>

View file

@ -54,7 +54,7 @@ class Layout
}
*/
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $flash)))."</b>" : "";
$flash_html = $page->flash ? "<b id='flash'>".nl2br(html_escape(implode("\n", $page->flash)))."</b>" : "";
print <<<EOD
<!doctype html>