<%@ Page language="c#" Codebehind="UserAdd.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Membership.UserAdd" MasterPageFile="~/ControlPanel/Masters/MembershipAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<cp:resourcecontrol id="Resourcecontrol1" runat="server" resourcename="CP_Membership_UserAdd_Title"></cp:resourcecontrol>
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="CreateMember" />
	<div class="FixedWidthContainer">
		<TABLE cellSpacing="0" cellPadding="2" width="100%" border="0">
			<TR>
				<TD align="left">
					<DIV class="CommonFormFieldName">
						<strong><cp:resourcecontrol id="Resourcecontrol2" runat="server" resourcename="CP_Membership_UserAdd_UserName" /></strong>
						<br />
                        <cp:resourcecontrol runat="server" resourcename="CP_Membership_UserAdd_UserName_Desc" />							
					</DIV>
					<DIV class="CommonFormField">
						<asp:textbox id="username" runat="server" columns="40" maxlength="64"></asp:textbox>
						<asp:regularexpressionvalidator id="usernameRegExValidator" runat="server" controltovalidate="Username"
							enableclientscript="false">*</asp:regularexpressionvalidator>
						<asp:requiredfieldvalidator id="usernameValidator" runat="server" controltovalidate="Username"
							enableclientscript="false">*</asp:requiredfieldvalidator>
						<asp:requiredfieldvalidator id="placeHolderValidator" runat="server" controltovalidate="Username"
							enableclientscript="false">*</asp:requiredfieldvalidator>
						<asp:customvalidator id="usernameLengthValidator" runat="server" controltovalidate="Username" enableclientscript="false">*</asp:customvalidator></DIV>
				</TD>
			</TR>
			<TR>
				<TD align="left">
					<DIV class="CommonFormFieldName">
						<strong><cp:resourcecontrol id="Resourcecontrol3" runat="server" resourcename="CP_Membership_UserAdd_Password" /></strong>
						<br />
						<cp:resourcecontrol runat="server" resourcename="CP_Membership_UserAdd_Password_Desc" />
					</DIV>
					<DIV class="CommonFormField">
						<asp:textbox id="password" runat="server" columns="40" maxlength="64" textmode="Password"></asp:textbox>
						<asp:requiredfieldvalidator id="passwordValidator" runat="server" controltovalidate="Password">*</asp:requiredfieldvalidator>
						<asp:regularexpressionvalidator id="passwordRegExValidator" runat="server" controltovalidate="Password"
							enableclientscript="false">*</asp:regularexpressionvalidator>
						<asp:customvalidator id="passwordContentValidator" runat="server" controltovalidate="Password"
							enableclientscript="false" display="Dynamic">*</asp:customvalidator></DIV>
				</TD>
			</TR>
			<TR>
				<TD align="left">
					<DIV class="CommonFormFieldName">
						<cp:resourcecontrol id="Resourcecontrol4" runat="server" resourcename="CP_Membership_UserAdd_ReEnterPassword"></cp:resourcecontrol></DIV>
					<DIV class="CommonFormField">
						<asp:textbox id="password2" runat="server" columns="40" maxlength="64" textmode="Password"></asp:textbox>
						<asp:requiredfieldvalidator id="password2Validator" runat="server" controltovalidate="Password2">*</asp:requiredfieldvalidator>
						<asp:comparevalidator id="comparePassword" runat="server" controltovalidate="Password2"
							controltocompare="Password">*</asp:comparevalidator></DIV>
				</TD>
			</TR>
			<TR>
				<TD align="left">
					<DIV class="CommonFormFieldName">
						<strong><cp:resourcecontrol id="Resourcecontrol5" runat="server" resourcename="CP_Membership_UserAdd_Email" /></strong>
						<br />
						<cp:resourcecontrol runat="server" resourcename="CP_Membership_UserAdd_Email_Desc" />
					</DIV>
					<DIV class="CommonFormField">
						<asp:textbox id="email" runat="server" columns="40" maxlength="128"></asp:textbox>
						<asp:requiredfieldvalidator id="emailValidator" runat="server" controltovalidate="Email">*</asp:requiredfieldvalidator>
						<asp:regularexpressionvalidator id="emailRegExValidator" runat="server" controltovalidate="Email"
							validationexpression="^\s*\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*\s*$">*</asp:regularexpressionvalidator></DIV>
				</TD>
			</TR>
			<TR>
				<TD>
					<DIV class="CommonFormFieldName">
						<strong><cp:resourcecontrol id="Resourcecontrol8" runat="server" resourcename="CP_Membership_UserAdd_TimeZone" /></strong>
						<br />
                        <cp:resourcecontrol runat="Server" resourcename="CP_Membership_UserAdd_TimeZone_Desc" />
					</DIV>
					<DIV class="CommonFormField">
						<cp:timezonedropdownlist id="timezone" runat="server"></cp:timezonedropdownlist></DIV>
				</TD>
			</TR>
			<TR>
				<TD class="CommonFormFieldDescription" align="left">
					<asp:validationsummary id="validationSummary" runat="server"></asp:validationsummary></TD>
			</TR>
		</TABLE>
	</DIV>
	<p class="PanelSaveButton DetailsFixedWidth">
	    <cp:resourcebutton id="createButton" runat="server" resourcename="CP_Membership_UserAdd_CreateAccountButton" />
    </p>
</asp:Content>