Skip to content

Commit 1b19308

Browse files
authored
fix(display): Do not print unblock infos if block still active #1012 (#1013)
1 parent d1a0357 commit 1b19308

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

web/themes/default/page_comms.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@
192192
<td width="20%" height="16" class="listtable_1">Block length</td>
193193
<td height="16" class="listtable_1">{$ban.banlength}</td>
194194
</tr>
195-
{if isset($ban.unbanned)}
195+
{if isset($ban.unbanned) && ($ban.unbanned == true)}
196196
<tr align="left">
197197
<td width="20%" height="16" class="listtable_1">Unblock reason</td>
198198
<td height="16" class="listtable_1">

web/themes/default/theme.conf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
define('theme_author', "IceMan, SourceBans++ Dev Team");
3030

3131
// Set the version of the theme here
32-
define('theme_version', "1.5.5-dev");
32+
define('theme_version', "1.8.0-dev");
3333

3434
// Set the link of the theme here
35-
define('theme_link', "https://sbpp.sarabveer.me/");
35+
define('theme_link', "https://github.com/sbpp/sourcebans-pp");
3636

3737
// Set the screenshot filename for your theme (must be inside your theme folder)
3838
// Must be: 250px wide X 170px High

0 commit comments

Comments
 (0)