array ("post", "string", ""), "dir" => array ("post", "string", ""), "newpass" => array ("post", "string", ""), "newpassconf" => array ("post", "string", ""), ); getFields($fields); if ($newpass != $newpassconf) { $msg->raise("Error", "hta", _("Passwords do not match")); include("hta_edituser.php"); exit(); } if ($hta->change_pass($user,$newpass,$dir)) { $msg->raise("Ok", "hta", _("The password of the user %s has been successfully changed"), $user); $is_include=true; include_once("hta_edit.php"); } else { include("hta_edituser.php"); } ?>