<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Password.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.User.Info.Password" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <pe:ExtendedSiteMapPath ID="YourPosition" SiteMapProvider="UserMapProvider" runat="server" />
    <form id="MainForm" runat="server">
    <asp:ScriptManager ID="ScriptManagePassword" runat="server" />
    <div class="model_info_one">
        <asp:Localize ID="Localize1" Text="<%$ Res: User_Info_Password_Localize1,修改密码 %>"
            runat="server" />
    </div>
    <div class="model_info_content">
        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table_style">
            <tr class="first">
                <td class="ok_tab" style="width: 40%;">
                    <asp:Localize ID="Localize3" Text="<%$ Res: User_Info_Password_Localize3,原 密 码： %>"
                        runat="server" />
                </td>
                <td>
                    <asp:TextBox ID="TxtOldPassword" runat="server" TextMode="Password" CssClass="inputxt" />
                    <pe:RequiredFieldValidator ID="ValrReason" ControlToValidate="TxtOldPassword" runat="server"
                        ErrorMessage="<%$ Res: User_Info_Password_ValrReason,原密码不能为空！ %>" />
                </td>
            </tr>
            <tr>
                <td class="ok_tab">
                    <asp:Localize ID="Localize4" Text="<%$ Res: User_Info_Password_Localize4,新 密 码： %>"
                        runat="server" />
                </td>
                <td>
                    <asp:TextBox ID="TxtPasswords" runat="server" TextMode="Password" MaxLength="20"
                        CssClass="inputxt" onkeyup="isSecurity(this.value);" onblur="Bardisplaynone();"
                        onfocus="Bardisplayshow();" />
                    <pe:RequiredFieldValidator ID="ValrPassword" ControlToValidate="TxtPasswords" runat="server"
                        ErrorMessage="<%$ Res: User_Info_Password_ValrPassword,新密码不能为空！ %>" Display="Dynamic" />
                    <asp:RegularExpressionValidator ID="RegularExpressionPassword" runat="server" ControlToValidate="TxtPasswords"
                        ErrorMessage="<%$ Res: User_Info_Password_RegularExpressionPassword,请输入新密码(至少6位)！ %>"
                        ValidationExpression="^.{6,}$" Display="Dynamic" />
                    <span id="BarBorder_TxtUserPassword"></span>
                </td>
            </tr>
            <tr>
                <td class="ok_tab">
                    <asp:Localize ID="Localize5" Text="<%$ Res: User_Info_Password_Localize5,确认密码： %>"
                        runat="server" />
                </td>
                <td>
                    <asp:TextBox ID="TxtConfirmPassword" runat="server" TextMode="Password" CssClass="inputxt"
                        MaxLength="20" />
                    <pe:RequiredFieldValidator ID="RequiredFieldValidatorTxtConfirmPassword" ControlToValidate="TxtConfirmPassword"
                        runat="server" Display="Dynamic" ErrorMessage="<%$ Res: User_Info_Password_RequiredFieldValidatorTxtConfirmPassword,确认密码不能为空！ %>" />
                    <asp:CompareValidator ID="CompareValPassword" runat="server" ErrorMessage="<%$ Res: User_Info_Password_ErrMsgPwd,确认密码与新密码不一致！ %>"
                        ControlToValidate="TxtConfirmPassword" ControlToCompare="TxtPasswords" Display="Dynamic"
                        Type="String"></asp:CompareValidator>
                </td>
            </tr>
        </table>
        <div class="ok_bottom">
            <pe:ExtendedButton ID="EBtnSubmit" Text="<%$ Res: User_Info_Password_EBtnSubmit,修改 %>"
                IsChecked="false" OnClick="EBtnSubmit_Click" runat="server" CssClass="submit_button" /></div>
    </div>
    </form>
</body>
</html>
