<%@ Page Language="C#" EnableTheming="false"  Title="Subtext - Blog管理 - 修改密码" MasterPageFile="~/HostAdmin/HostAdminTemplate.Master" Codebehind="ChangePassword.aspx.cs" AutoEventWireup="True" Inherits="Subtext.Web.HostAdmin.ChangePassword" %>

<asp:Content id="sectionTitle" ContentPlaceHolderID="MPSectionTitle" runat="server">Subtext - Blog管理 - 修改Blog密码</asp:Content>
<asp:Content id="sidebar" ContentPlaceHolderID="MPSideBar" runat="server"></asp:Content>
<asp:Content id="passwordChangeForm" ContentPlaceHolderID="MPContent" runat="server">
	<p>Use this page to change the HostAdmin password..</p>
	
	<div class="form">
		<p>
			<asp:Label id="lblSuccess" runat="server" CssClass="success" Visible="False" Text="Password Changed!" />
			<asp:ValidationSummary id="validationSummary" runat="server"></asp:ValidationSummary>
		</p>
		<p>
			<label for="txtCurrentPassword">
				<asp:RequiredFieldValidator id="vldCurrentPassword" runat="server" 
					Text="*" 
					ControlToValidate="txtCurrentPassword"></asp:RequiredFieldValidator> 
				<asp:CustomValidator id="vldCurrent" runat="server" ControlToValidate="txtCurrentPassword" Display="None"
					ErrorMessage="The Current Password is not correct.">*</asp:CustomValidator>
				旧密码:
			</label> 
			<asp:TextBox id="txtCurrentPassword" runat="server" TextMode="Password"  />
		</p>
		<p>
			<label for="txtNewPassword">
				<asp:RequiredFieldValidator id="vldNewPassword" runat="server" 
					Text="*" 
					ControlToValidate="txtNewPassword"></asp:RequiredFieldValidator> 
				新密码:
			</label>
			<asp:TextBox id="txtNewPassword" TextMode="Password" runat="server" />
		</p>
		<p>
			<label for="txtConfirmPassword">
				<asp:RequiredFieldValidator id="vldConfirmPassword" runat="server" 
					Text="*" 
					ControlToValidate="txtConfirmPassword"></asp:RequiredFieldValidator> 
				<asp:CompareValidator id="vldComparePasswords" runat="server" 
					ErrorMessage="The Passwords do not match."
					ControlToValidate="txtConfirmPassword" 
					ControlToCompare="txtNewPassword" 
					Display="None">*</asp:CompareValidator>
				确认密码:
			</label>
			<asp:TextBox id="txtConfirmPassword" TextMode="Password" runat="server" />
		</p>
		<p class="clear">
			<asp:Button id="btnSave" runat="server" Text="确定" onclick="btnSave_Click"></asp:Button>
		</p>
	</div>
</asp:Content>