Location: PHPKode > scripts > WebsiteMemberManager > members-section/html-members/password_change.html
<?php
$theme= new jQueryTheme();
$jquery_dir = $theme->getURL(); 
?>
<script src="<?php echo $jquery_dir; ?>plugins/jquery.validate.js" type="text/javascript"></script>
<script src="<?php echo $jquery_dir; ?>plugins/jquery.validation.functions.js" type="text/javascript"></script>
<script>
            jQuery(function(){
                jQuery("#existing_password").validate({
                    expression: "if (VAL) return true; else return false;",
                    message: "Password blank!"
                });
                jQuery("#new_password").validate({
                    expression: "if (VAL) return true; else return false;",
                    message: "Password blank!"
                });
                jQuery("#new_password2").validate({
                    expression: "if ((VAL == jQuery('#new_password').val())) return true; else return false;",
                    message: "Confirm NEW password does not match"
                });
		});
</script>
<style type="text/css">
<!--
.style2 {color: #DF8600}
-->
</style>

<br />
<div style="padding-left:3%;">
<div id="layer" style="padding:4px; width:96%; " class="ui-widget-content ui-corner-all"><form method="POST" action="password_change" name="AF" id="AF">
  <input type="hidden" name="save" value="1"><div align="center"><center><table border="0" width="70%" cellpadding="2" >
    <tr>
      <td align="center">
	  <div class="ui-widget-content ui-corner-all">
	  To change the <strong>password</strong> enter a new password below and again to confirm, you will also have to enter the existing password for confirmation.</div>      </td>
    </tr>
  </table>
  </center></div>
<div style="padding-left:25%; width:60%;">  <br />

<fieldset class="ui-widget-content ui-corner-all" >
<legend class="ui-widget-header ui-corner-all">Password change</legend>  <br /><br />
  <table width="592" border="0" cellspacing="1">
    <tr align="center">
      <td align="right"><strong>Enter a NEW password: </strong></td>
      <td align="left"><strong>
        <input name="new_password" id="new_password" size="12" type="password" />
      </strong></td>
    </tr>
    <tr align="center">
      <td align="right"><strong>CONFIRM NEW password: </strong></td>
      <td align="left"><strong>
        <input name="new_password2"  id="new_password2" size="12" type="password" />
      </strong></td>
    </tr>
    <tr align="center">
      <td height="66" align="right"><strong><br />
        <br />
        Please enter your <span class="style2">EXISTING Password:</span></strong></td>
      <td align="left"><br />
          <br />
          <input name="existing_password" id="existing_password" size="12" type="password" /></td>
    </tr>
    <tr align="center">
      <td width="51%" align="right">&nbsp;</td>
      <td width="49%" align="left"><em>The existing password is required for confirmation<br />
        <br />
      </em></td>
    </tr>
    <tr align="center">
      <td colspan="2"><div align="center"><center>
	  
	  <div class="button"><button>Save</button>
<a href="#" onclick="location.href='./'">Cancel</a></div></td>
    </tr>
  </table>
</fieldset></div>
</form>
</div></div>

Return current item: WebsiteMemberManager