".BANLAN_5.":
".BANLAN_13."
|
".$frm->text('ban_ip', $e107->ipDecode($banlist_ip), 200)."
{$rdns_warn}
|
";
if(($action == 'add') || ($action == 'whadd') || ($banlist_bantype <= 1) || ($banlist_bantype >= BAN_TYPE_WHITELIST))
{ // Its a manual or unknown entry - only allow edit of reason on those
$text .= "
".BANLAN_7.": |
".$frm->textarea('ban_reason', $banlist_reason, 4, 50)."
|
";
}
elseif($action == 'edit')
{
$text .= "
".BANLAN_7.": |
{$banlist_reason} |
";
}
if($action == 'edit')
{
$text .= "
".BANLAN_28.": |
".constant('BANLAN_10'.$banlist_bantype)." - ".constant('BANLAN_11'.$banlist_bantype)." |
";
}
$text .= "
".BANLAN_19.": |
".$frm->textarea('ban_notes', $banlist_notes, 4, 50)."
|
";
if($action == 'edit' || $action == 'add')
{
$inhelp = (($action == 'edit') ? ''.BANLAN_26.($banlist_banexpires ? strftime(BAN_TIME_FORMAT, $banlist_banexpires) : BANLAN_21).'
' : '');
$text .= "
".BANLAN_18.": |
".ban_time_dropdown().$inhelp." |
";
}
$text .= "