From 418f5484ed87540e30e7fea1ade0adf562c5853c Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 8 Nov 2019 18:54:32 +0000 Subject: [PATCH] show types --- ext/ipban/theme.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ext/ipban/theme.php b/ext/ipban/theme.php index 186dc69b..36a95d05 100644 --- a/ext/ipban/theme.php +++ b/ext/ipban/theme.php @@ -18,14 +18,14 @@ class IPBanTheme extends Themelet $h_bans = ""; $prefix = ($database->get_driver_name() == DatabaseDriver::SQLITE ? "bans." : ""); foreach ($bans as $ban) { - $end_human = $ban['expires']; $h_bans .= " {$ban[$prefix.'ip']} {$ban[$prefix.'reason']} {$ban['banner_name']} ".substr($ban[$prefix.'added'], 0, 10)." - {$end_human} + ".substr($ban[$prefix.'expires'], 0, 10)." + {$ban['mode']} ".make_form(make_link("ip_ban/remove"))." @@ -38,7 +38,7 @@ class IPBanTheme extends Themelet $html = " Show All

- + $h_bans ".make_form(make_link("ip_ban/add"))." @@ -47,6 +47,7 @@ class IPBanTheme extends Themelet +
IPReasonByFromUntilAction
IPReasonByFromUntilTypeAction
{$user->name}