diff options
| author | Michael Walker <mike@barrucadu.co.uk> | 2016-08-30 09:18:33 +0100 |
|---|---|---|
| committer | Michael Walker <mike@barrucadu.co.uk> | 2016-08-30 09:18:33 +0100 |
| commit | ac31e745c13e5343ebd58cb498fe9a561fa3069e (patch) | |
| tree | 5f0396986faff393c528537104d1075e8d303926 | |
| parent | 9bb9ee0cbe7e84d67a8a198756014eb9232a4b2b (diff) | |
Fix invisible not-banned text in some themes
| -rw-r--r-- | banned.php | 3 | ||||
| -rw-r--r-- | templates/notbanned.html | 3 |
2 files changed, 2 insertions, 4 deletions
@@ -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>"; ?> 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 #} <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 %} |
