Browse Source

Fix invisible not-banned text in some themes

pull/40/head
Michael Walker 8 years ago
parent
commit
ac31e745c1
  1. 3
      banned.php
  2. 3
      templates/notbanned.html

3
banned.php

@ -2,7 +2,6 @@
require_once 'inc/functions.php';
require_once 'inc/bans.php';
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.
die(
@ -13,6 +12,4 @@
'body' => Element('notbanned.html', array()
))
));
print "</body></html>";
?>

3
templates/notbanned.html

@ -1,6 +1,7 @@
{% filter remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
<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>
{% endfilter %}

Loading…
Cancel
Save