File: includes/mcp/mcp_ban.php
Unmodified
Added
Modified
Removed
Line 183 | Line 183 |
---|
'unban' => $ban))); } }
|
'unban' => $ban))); } }
|
}
// Ban length options $ban_end_text = array(0 => $user->lang['PERMANENT'], 30 => $user->lang['30_MINS'], 60 => $user->lang['1_HOUR'], 360 => $user->lang['6_HOURS'], 1440 => $user->lang['1_DAY'], 10080 => $user->lang['7_DAYS'], 20160 => $user->lang['2_WEEKS'], 40320 => $user->lang['1_MONTH'], -1 => $user->lang['UNTIL'] . ' -> ');
$ban_end_options = ''; foreach ($ban_end_text as $length => $text) { $ban_end_options .= '<option value="' . $length . '">' . $text . '</option>';
| |
}
// Define language vars
| }
// Define language vars
|
Line 218 | Line 209 |
---|
break; }
|
break; }
|
acp_ban::display_ban_options($mode);
| display_ban_end_options(); display_ban_options($mode);
|
$template->assign_vars(array( 'L_TITLE' => $this->page_title,
| $template->assign_vars(array( 'L_TITLE' => $this->page_title,
|