From 4c1935a6b6ec8d8cb95c6b5af3399927d30fbe66 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 27 Jul 2011 13:40:27 +1000 Subject: per-board bans --- inc/mod.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'inc/mod.php') diff --git a/inc/mod.php b/inc/mod.php index 0887cd07..8691317b 100644 --- a/inc/mod.php +++ b/inc/mod.php @@ -174,6 +174,23 @@ function form_newBan($ip=null, $reason='', $continue=false, $delete=false, $board=false, $allow_public = false) { global $config, $mod; + + $boards = listBoards(); + $__boards = '
  • '; + foreach($boards as &$_board) { + $__boards .= '
  • ' . + '' . + '' . + '
  • '; + } + return '
    New ban' . '
    ' . ($continue ? '' : '') . @@ -214,6 +231,12 @@ '' . ' (eg. "2d1h30m" or "2 days")' . '' . + + '' . + 'Board' . + '
      ' . $__boards . '' . + '' . + '' . '' . '' . -- cgit v1.3