mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Always allow configuration of ban times/messages
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
* Ban List Management
|
* Ban List Management
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_admin/banlist.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_admin/banlist.php,v $
|
||||||
* $Revision: 1.14 $
|
* $Revision: 1.15 $
|
||||||
* $Date: 2009-01-09 17:25:50 $
|
* $Date: 2009-06-11 20:42:32 $
|
||||||
* $Author: secretr $
|
* $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -359,12 +359,6 @@ switch($action)
|
|||||||
$pref['ban_durations'] = array_fill(0, BAN_REASON_COUNT - 1, 0);
|
$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 .= "
|
$text .= "
|
||||||
<form method='post' action='".e_SELF.'?'.e_QUERY."' id='ban_options'>
|
<form method='post' action='".e_SELF.'?'.e_QUERY."' id='ban_options'>
|
||||||
<fieldset id='core-banlist-times'>
|
<fieldset id='core-banlist-times'>
|
||||||
@@ -408,7 +402,6 @@ switch($action)
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
";
|
";
|
||||||
}
|
|
||||||
|
|
||||||
$e107->ns->tablerender(BANLAN_77, $emessage->render().$text);
|
$e107->ns->tablerender(BANLAN_77, $emessage->render().$text);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user