1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Always allow configuration of ban times/messages

This commit is contained in:
e107steved
2009-06-11 20:42:32 +00:00
parent 26100f4078
commit 24d7565064

View File

@@ -9,9 +9,9 @@
* Ban List Management
*
* $Source: /cvs_backup/e107_0.8/e107_admin/banlist.php,v $
* $Revision: 1.14 $
* $Date: 2009-01-09 17:25:50 $
* $Author: secretr $
* $Revision: 1.15 $
* $Date: 2009-06-11 20:42:32 $
* $Author: e107steved $
*
*/
@@ -359,12 +359,6 @@ switch($action)
$pref['ban_durations'] = array_fill(0, BAN_REASON_COUNT - 1, 0);
}
if(!$ban_total = $sql->db_Select("banlist", "*", "ORDER BY banlist_ip", "nowhere"))
{
$text .= "<div class='center'>".BANLAN_2."</div>";
}
else
{
$text .= "
<form method='post' action='".e_SELF.'?'.e_QUERY."' id='ban_options'>
<fieldset id='core-banlist-times'>
@@ -408,7 +402,6 @@ switch($action)
</fieldset>
</form>
";
}
$e107->ns->tablerender(BANLAN_77, $emessage->render().$text);
break;