enabled) { __("This page is restricted to authorized staff"); exit(); } if($_POST["action"] == "add") { $type = $_POST['type']; if($quota->addtype($type)) { $error=_("Account type"). " \"$type\" "._("added"); } else { $error=_("Account type"). " \"$type\" "._("could not be added"); } include("adm_defquotas.php"); } else if($_POST["action"] == "delete") { if($_POST["del_confirm"] == "y"){ if($_POST['type']) { if($quota->deltype($_POST['type'])) { $error=_("Account type"). " \"$type\" "._("deleted"); } else { $error=_("Account type"). " \"$type\" "._("could not be deleted"); } } include("adm_defquotas.php"); }else{ include("head.php"); ?>