Index: lams_admin/web/user.jsp =================================================================== diff -u -r272a5fe75b49cae88a8c873605bc6a72bfbe79ee -r0b49c9f384aaecbe0be8348da04441ac31af30c1 --- lams_admin/web/user.jsp (.../user.jsp) (revision 272a5fe75b49cae88a8c873605bc6a72bfbe79ee) +++ lams_admin/web/user.jsp (.../user.jsp) (revision 0b49c9f384aaecbe0be8348da04441ac31af30c1) @@ -3,26 +3,12 @@ <%@ page import="org.lamsfoundation.lams.util.Configuration"%> <%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys"%> <%@ page import="org.apache.struts.action.ActionMessages"%> -<%@ taglib uri="tags-lams" prefix="lams"%> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-fmt" prefix="fmt"%> -<%@ taglib uri="tags-function" prefix="fn"%> -<%@ taglib uri="tags-html" prefix="html"%> -<%@ taglib uri="tags-bean" prefix="bean"%> -<%@ taglib uri="tags-logic" prefix="logic"%> -<%@ taglib uri="tags-tiles" prefix="tiles"%> -<%@ taglib uri="tags-html-el" prefix="html-el"%> -<%@ taglib uri="tags-bean-el" prefix="bean-el"%> -<%@ taglib uri="tags-logic-el" prefix="logic-el"%> - - - - + + + + <%=Configuration.get(ConfigurationKeys.PASSWORD_POLICY_MINIMUM_CHARACTERS)%> <%=Configuration.get(ConfigurationKeys.PASSWORD_POLICY_UPPERCASE)%> @@ -52,17 +38,16 @@ }); $(function() { - // Setup form validation - $("#userPass") + $("#UserForm") .validate( { debug : true, errorClass : 'help-block', // validation rules rules : { password : { - required : true, + required: true, minlength : , maxlength : 25, charactersAllowed : true, @@ -82,7 +67,7 @@ charactersAllowed : " ` ~ ! @ # $ % ^ & * ( ) _ - + = { } [ ] \ | : ; \" ' < > , . ? /", pwcheck : "" }, - password2 : { + password2: { equalTo : "" }, }, @@ -94,13 +79,6 @@ }); - $(document).ready( - function() { - //update dialog's height and title - updateMyProfileDialogSettings( - '', - '430'); - }); @@ -109,6 +87,7 @@ + @@ -145,40 +124,36 @@
- - - - - + + - +
: -
    -
  • - -
  • + + + : +
      +
    • + +
    • - -
    • -
      + +
    • +
      - -
    • -
      + +
    • +
      - -
    • -
      + +
    • +
      -
    -
*: