From 58c0e651225314c5a947e87ff5e26805e41cb436 Mon Sep 17 00:00:00 2001 From: Rushaway Date: Thu, 14 Nov 2024 16:00:32 +0100 Subject: [PATCH] fix(display): Do not print unblock infos if block still active #1012 --- web/themes/default/page_comms.tpl | 2 +- web/themes/default/theme.conf.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/themes/default/page_comms.tpl b/web/themes/default/page_comms.tpl index 6f2ad0f4a..039e3aba2 100644 --- a/web/themes/default/page_comms.tpl +++ b/web/themes/default/page_comms.tpl @@ -192,7 +192,7 @@ Block length {$ban.banlength} - {if isset($ban.unbanned)} + {if isset($ban.unbanned) && ($ban.unbanned == true)} Unblock reason diff --git a/web/themes/default/theme.conf.php b/web/themes/default/theme.conf.php index 0ebfde8ab..b7619a6b9 100644 --- a/web/themes/default/theme.conf.php +++ b/web/themes/default/theme.conf.php @@ -29,10 +29,10 @@ define('theme_author', "IceMan, SourceBans++ Dev Team"); // Set the version of the theme here -define('theme_version', "1.5.5-dev"); +define('theme_version', "1.8.0-dev"); // Set the link of the theme here -define('theme_link', "https://sbpp.sarabveer.me/"); +define('theme_link', "https://github.com/sbpp/sourcebans-pp"); // Set the screenshot filename for your theme (must be inside your theme folder) // Must be: 250px wide X 170px High