enabled) { __("This page is restricted to authorized staff"); exit(); } $fields = array ( "delaccount" => array ("request", "string", ""), "newlogin" => array ("request", "string", ""), "newpass" => array ("request", "string", ""), ); getFields($fields); if ($delaccount) { // Delete an account if ($mail->del_slave_account($delaccount)) { $error=_("The requested account has been deleted. It is now denied."); } } if ($newlogin) { // Add an account if ($mail->add_slave_account($newlogin,$newpass)) { $error=_("The requested account address has been created. It is now allowed."); $newlogin='';$newpass=''; } } include_once("head.php"); ?>