<%@ Page Language="C#" MasterPageFile="~/Admin/MainPage.Master" AutoEventWireup="true" CodeBehind="administrator_modifyPwd.aspx.cs" Inherits="PPFOR.Admin.SysInfo.administrator_modifyPwd" Title="修改管理员密码" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PPFOR_mainContent" runat="server">
<form action="administrator_modifyPwd.aspx" method="post" id="form1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="fortable">
    <thead>        
        <tr>
          <td colspan="2" align="center">修改管理员密码</td>
        </tr>
    </thead>        
        <tr>
          <td align="right" style="width:15%">新密码：</td>
          <td><asp:TextBox ID="PPFOR_adminPassword" runat="server" TextMode="Password" Maxlength="20" AutoCompleteType="none" Width="150px"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" SetFocusOnError="true" ValidationExpression="^[^\u4e00-\u9fa5]{6,20}$" Display="Dynamic" ControlToValidate="PPFOR_adminPassword"><br />管理员密码长度必须在6-20个字符之间，密码不能使用中文字符</asp:RegularExpressionValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="PPFOR_adminPassword" runat="server" Display="Dynamic" SetFocusOnError="true">管理员密码不能为空</asp:RequiredFieldValidator>
          </td>
        </tr>
        <tr>
          <td align="right">确认密码：</td>
          <td><asp:TextBox ID="PPFOR_confirmAdminPassword" runat="server" TextMode="Password" Maxlength="20" AutoCompleteType="none" Width="150px"></asp:TextBox>
              <asp:CompareValidator ID="CompareValidator1" ControlToCompare="PPFOR_adminPassword" ControlToValidate="PPFOR_confirmAdminPassword" runat="server" SetFocusOnError="true" Display="Dynamic"><br />两次密码输入不一致</asp:CompareValidator>
          </td>
        </tr>        
        <tr>
            <td colspan="2" align="center" valign="middle" style="height:50px; display:none;">
                <asp:Button ID="PPFOR_updatePwd" CssClass="inputbutton" runat="server" Text="提交" OnClick="PPFOR_updatePwdClick"/>
                <input name="reset" type="reset" id="reset1" class="inputbutton" onmouseover="this.className='inputbutton_hover'" onmouseout="this.className='inputbutton'" value="重置" />
                <script type="text/javascript">
                    addButtonArray("<%= PPFOR_updatePwd.ClientID %>","reset1");
                </script>
            </td>
        </tr>
      </table>
      <br />
</form>
</asp:Content>
