<%@ Page Language="C#" MasterPageFile="~/User/UserCenter/UserView.Master" AutoEventWireup="true" Codebehind="UserPasswordEdit.aspx.cs" Inherits="PPFOR.User.UserCenter.UserPasswordEdit" Title="编辑Email" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PPFOR_userViewContent" runat="server">   
    <div class="tableco">
        <h1><%=languageMessage.GetMessage("userPwdEdit", "修改密码")%></h1> 
        <form id="form1" runat="server">        
           <table width="100%" cellpadding="5px" cellspacing="3px" border="0" > 
            <tr>
                <th style="width:15%"><%=languageMessage.GetMessage("userOldPwd", "原密码：")%></th>
                <td align="left">
                    <asp:TextBox ID="PPFOR_oldMemberPassword" runat="server" TextMode="Password" Maxlength="20" Width="150px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" SetFocusOnError="true" ValidationExpression="^[^\u4e00-\u9fa5]{6,20}$" Display="Dynamic" ControlToValidate="PPFOR_oldMemberPassword"><br /><%=languageMessage.GetMessage("userOldPwdForamtError", "原密码长度必须在6-20个字符之间，原密码不能使用中文字符")%></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="PPFOR_oldMemberPassword" Display="Dynamic" SetFocusOnError="true"><br /><%=languageMessage.GetMessage("userOldPwdEmptyError","原密码不能为空")%></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <th><%=languageMessage.GetMessage("userNewPwd", "新密码：")%></th>
                <td align="left">
                    <asp:TextBox ID="PPFOR_memberPassword" runat="server" TextMode="Password" Maxlength="20" Width="150px"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" SetFocusOnError="true" ValidationExpression="^[^\u4e00-\u9fa5]{6,20}$" Display="Dynamic" ControlToValidate="PPFOR_memberPassword"><br /><%=languageMessage.GetMessage("userNewPwdForamtError", "新密码长度必须在6-20个字符之间，新密码不能使用中文字符")%></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="PPFOR_memberPassword" Display="Dynamic" SetFocusOnError="true"><br /><%=languageMessage.GetMessage("userNewPwdEmptyError","新密码不能为空")%></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
              <th><%=languageMessage.GetMessage("userCfmNewPwd", "确认新密码：")%></th>
              <td align="left"><asp:TextBox ID="PPFOR_confirmMemberPassword" runat="server" TextMode="Password" Maxlength="20" Width="150px"></asp:TextBox>
                  <asp:CompareValidator ID="CompareValidator1" ControlToCompare="PPFOR_confirmMemberPassword" ControlToValidate="PPFOR_memberPassword" runat="server" SetFocusOnError="true" Display="Dynamic"><br /><%=languageMessage.GetMessage("userNewPwdsNoSame", "两次新密码输入不一致")%></asp:CompareValidator>              
              </td>
            </tr>          
            <tr>
                <th>&nbsp;</th>
                <td align="left">
                    <asp:Button ID="PPFOR_updatePassword" runat="server" CssClass="blueinput" OnClick="PPFOR_updatePasswordClick" />
                    <input type="reset" class="blueinput" id="reset1" value="<%=languageMessage.GetMessage("userResetButton", "重置")%>"/>
                </td>
            </tr>         
            </table>    
        </form>
    </div>
  </asp:Content>
         
