Browse Source

Fix invisible not-banned text in some themes

main
Michael Walker 8 years ago
committed by -
parent
commit
29d0510432
  1. 4
      banned.php
  2. 4
      templates/not_banned.html

4
banned.php

@ -1,7 +1,6 @@
<?php <?php
require_once 'inc/bootstrap.php'; require_once 'inc/bootstrap.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(
@ -11,6 +10,5 @@
'nojavascript' => true, 'nojavascript' => true,
'body' => Element('not_banned.html', array() 'body' => Element('not_banned.html', array()
)) ))
)); ));
print "</body></html>";
?> ?>

4
templates/not_banned.html

@ -1,6 +1,6 @@
{% filter remove_whitespace %} {% filter remove_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 %}

Loading…
Cancel
Save