enabled) { __("This page is restricted to authorized staff"); exit(); } $fields = array ( "delip" => array ("request", "string", ""), "newip" => array ("request", "string", ""), "newclass" => array ("request", "string", "32"), ); getFields($fields); if ($delip) { // Delete an ip address/class if ($dom->del_slave_ip($delip)) { $error=_("The requested ip address has been deleted. It will be denied in one hour."); } } if ($newip) { // Add an ip address/class if ($dom->add_slave_ip($newip,$newclass)) { $error=_("The requested ip address has been added to the list. It will be allowed in one hour."); unset($newip); unset($newclass); } } include_once("head.php"); ?>
$error"; } $c=$dom->enum_slave_ip(); if (is_array($c)) { ?>
" /> |