enabled) { __("This page is restricted to authorized staff"); exit(); } $fields = array ( "edit" => array ("request", "string", ""), "doedit" => array ("post", "string", ""), "minsize" => array ("post", "integer", "0"), "maxsize" => array ("post", "integer", "64"), "classcount" => array ("post", "integer", "0"), "allowlogin" => array ("post", "integer", "0"), ); getFields($fields); include_once("head.php"); ?>
"; print_r($c); echo ""; if (isset($doedit) && $doedit) { if (!$c[$doedit]) { echo "
"._("Policy not found")."
"; } else { // Change it ;) if ($admin->editPolicy($doedit,$minsize,$maxsize,$classcount,$allowlogin)) { echo ""._("Policy changed")."
"; unset($edit); $c=$admin->listPasswordPolicies(); } else { echo ""._("Cannot edit the policy, an error occurred")."
"; } } } if (!empty($edit)) { if (!$c[$edit]) { echo ""._("Policy not found")."
"; } else { ?>
1. Low-case letters (a-z)
2. Upper-case letters (A-Z)
3. Figures (0-9)
4. Ascii symbols (!\"#$%&'()*+,-./:;<=>?@[\\]^_`)
5. Non-Ascii symbols (accents...)"); ?>