* escape article content again
 * restore home logo on maintenance page
This commit is contained in:
Sarjuuk
2017-02-18 01:22:39 +01:00
parent f1483f4595
commit 739e7bc81a
2 changed files with 2 additions and 2 deletions

View File

@@ -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' => []
);

View File

@@ -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>