mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Articles
* escape article content again * restore home logo on maintenance page
This commit is contained in:
@@ -332,7 +332,7 @@ class GenericPage
|
||||
(new Markup($text))->parseGlobalsFromText($this->jsgBuffer);
|
||||
|
||||
$this->article = array(
|
||||
'text' => Util::defStatic($article['article']),
|
||||
'text' => Util::jsEscape(Util::defStatic($article['article'])),
|
||||
'params' => []
|
||||
);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<style type="text/css">
|
||||
body { text-align: center; font-family: Arial; background-color: black; color: white }
|
||||
.maintenance { background: url(<?php echo STATIC_URL; ?>/images/logos/logo.png) no-repeat center top; width: 900px; margin: 40px auto; text-align: center; padding-top: 70px; }
|
||||
.maintenance { background: url(<?php echo STATIC_URL; ?>/images/logos/home.png) no-repeat center top; width: 900px; margin: 40px auto; text-align: center; padding-top: 70px; }
|
||||
.maintenance div { color: #00DD00; font-weight: bold; padding: 20px }
|
||||
.maintenance p { background: url(<?php echo STATIC_URL; ?>/images/maintenance/brbgnomes.jpg) no-repeat center bottom; padding-bottom: 300px }
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user