diff --git a/contrib/ipban/theme.php b/contrib/ipban/theme.php
index 6108e2bf..d5382f7c 100644
--- a/contrib/ipban/theme.php
+++ b/contrib/ipban/theme.php
@@ -22,27 +22,22 @@ class IPBanTheme extends Themelet {
$oe = ($n++ % 2 == 0) ? "even" : "odd";
$h_bans .= "
- {$ban[$prefix.'ip']} |
+ {$ban[$prefix.'ip']} |
{$ban[$prefix.'reason']} |
{$ban['banner_name']} |
{$end_human} |
-
- ".make_form(make_link("ip_ban/remove"))."
+ ".make_form(make_link("ip_ban/remove"))."
+ |
-
|
+
";
}
$html = "
-
Show All
-
+
IP | Reason | By | Until | Action |
$h_bans
diff --git a/lib/shimmie.js b/lib/shimmie.js
index c063ffe1..7ebfe6e3 100644
--- a/lib/shimmie.js
+++ b/lib/shimmie.js
@@ -39,6 +39,8 @@ $(document).ready(function() {
selectFirst: false
});
+ $("TABLE.sortable").tablesorter();
+
var sections=get_sections();
for(var i=0;i