enabled) { $msg->raise("ERROR", "admin", _("This page is restricted to authorized staff")); echo $msg->msg_html_all(); exit(); } $fields = array ( "uid" => array ("post", "integer", "0"), ); getFields($fields); if (!$uid) die('UID Error'); $mem->su($uid); $qlist=$quota->qlist(); reset($qlist); while (list($key,$val)=each($qlist)) { $var="q_".$key; $quota->setquota($key,$_REQUEST[$var]); } $mem->unsu(); if (!$msg->has_msgs("ERROR")) $msg->raise("INFO", "admin", _("The quotas has been successfully edited")); include("adm_list.php"); exit; ?>