Fix invisible not-banned text in some themes

This commit is contained in:
Michael Walker 2016-08-30 09:18:33 +01:00
parent 9bb9ee0cbe
commit ac31e745c1
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,6 @@
require_once 'inc/functions.php'; require_once 'inc/functions.php';
require_once 'inc/bans.php'; require_once 'inc/bans.php';
checkBan(); checkBan();
print "<!doctype html><html><head><meta charset='utf-8'><title>"._("Banned?")."</title></head><body>";
//If the user is not banned, show the "not banned" page. //If the user is not banned, show the "not banned" page.
die( die(
@ -13,6 +12,4 @@
'body' => Element('notbanned.html', array() 'body' => Element('notbanned.html', array()
)) ))
)); ));
print "</body></html>";
?> ?>

View File

@ -1,6 +1,7 @@
{% filter remove_whitespace %} {% filter remove_whitespace %}
{# Automatically removes unnecessary whitespace #} {# Automatically removes unnecessary whitespace #}
<div class="ban"> <div class="ban">
<h1>You are not banned! Well done on not being terrible!</h1> <h2>You are not banned!</h2>
<p class="reason">Well done on not being terrible!</p>
</div> </div>
{% endfilter %} {% endfilter %}