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"; $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 print <<<EOD
<!doctype html> <!doctype html>

View File

@ -125,7 +125,7 @@ class Layout
$withleft = "noleft"; $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 print <<<EOD
<!doctype html> <!doctype html>

View File

@ -45,7 +45,7 @@ class Layout
$wrapper = ' style="height: 3em; overflow: auto;"'; $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 print <<<EOD
<!doctype html> <!doctype html>

View File

@ -50,7 +50,7 @@ class Layout
$withleft = ""; $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 print <<<EOD
<!doctype html> <!doctype html>

View File

@ -82,7 +82,7 @@ class Layout
$main_block_html = "<article>{$main_block_html}</article>"; $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 print <<<EOD
<!doctype html> <!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 print <<<EOD
<!doctype html> <!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 print <<<EOD
<!doctype html> <!doctype html>