enabled) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); echo $msg->msg_html_all(); exit(); } $fields = array ( "delaccount" => array ("request", "string", ""), "newlogin" => array ("post", "string", ""), "newpass" => array ("post", "string", ""), ); getFields($fields); if ($delaccount) { // Delete an account if ($mail->del_slave_account($delaccount)) { $msg->raise("INFO", "admin", _("The requested account has been deleted. It is now denied.")); } } if ($newlogin) { // Add an account if ($mail->add_slave_account($newlogin,$newpass)) { $msg->raise("INFO", "admin", _("The requested account address has been created. It is now allowed.")); $newlogin='';$newpass=''; } } include_once("head.php"); $c=$admin->listPasswordPolicies(); $passwd_classcount = $c['adm']['classcount']; ?>