From ac31e745c13e5343ebd58cb498fe9a561fa3069e Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Tue, 30 Aug 2016 09:18:33 +0100 Subject: [PATCH] Fix invisible not-banned text in some themes --- banned.php | 3 --- templates/notbanned.html | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/banned.php b/banned.php index 93e8929e..a38b87c4 100644 --- a/banned.php +++ b/banned.php @@ -2,7 +2,6 @@ require_once 'inc/functions.php'; require_once 'inc/bans.php'; checkBan(); - print ""._("Banned?").""; //If the user is not banned, show the "not banned" page. die( @@ -13,6 +12,4 @@ 'body' => Element('notbanned.html', array() )) )); - - print ""; ?> diff --git a/templates/notbanned.html b/templates/notbanned.html index 41d81db0..6654b6d6 100644 --- a/templates/notbanned.html +++ b/templates/notbanned.html @@ -1,6 +1,7 @@ {% filter remove_whitespace %} {# Automatically removes unnecessary whitespace #}
-

You are not banned! Well done on not being terrible!

+

You are not banned!

+

Well done on not being terrible!

{% endfilter %}