<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="AreaEdit.aspx.vb" Inherits="WebFoundations.WFPortal.UI.AreaEdit" %>

<%@ Register Src="../../WFControls/WFAccessList.ascx" TagName="WFAccessList" TagPrefix="uc1" %>
<%@ Register Assembly="WebFoundations.ServerControls" Namespace="WebFoundations.ServerControls" TagPrefix="cc1" %>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

    <div class="fields">
        <label>
            <asp:Label ID="lblportaltitle" runat="server" />
            <asp:Label ID="lblportal" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblname" runat="server" />
            <asp:TextBox ID="txtname" runat="server" MaxLength="50" />
            <asp:RequiredFieldValidator ID="reqname" Display="Dynamic" runat="server" ControlToValidate="txtname" />
        </label>
        <label>
            <asp:Label ID="lblfolder" runat="server" />
            <asp:TextBox ID="txtfolder" runat="server" MaxLength="50" />
            <asp:RegularExpressionValidator ID="valfolder" runat="server" Display="Dynamic"
                ControlToValidate="txtfolder" ValidationExpression="[a-zA-Z0-9]*[a-zA-Z0-9\/]" />
        </label>
        <label>
            <asp:Label ID="lbladmin" runat="server" />
            <cc1:GroupPicker ID="grpadmin" RemoveGroups="-6;-5;-4;-3;-2" runat="server" AddSelect="False" />
        </label>
        <label>
            <asp:Label ID="lblreaders" runat="server" />
            <uc1:WFAccessList ID="listaacesso" EnableRole="true" EnableRoleGroup="true" runat="server" />
        </label>
        <label>
            <asp:Label ID="lbltemplate" runat="server" />
            <asp:DropDownList ID="lstpagetemplates" runat="server" />
        </label>
        <label>
            <asp:Label ID="lblmenu" runat="server" />
            <asp:DropDownList ID="lstmenu" runat="server" />
        </label>
    </div>

    <section class="actions">
        <asp:Button ID="btnok" runat="server" CssClass="button" />
        <input id="btncancel" type="button" value="button" class="button" runat="server" />
    </section>
</asp:Content>
