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

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

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

    <asp:Panel ID="pnlconfig" runat="server">
        <div class="fields">
            <label>
                <asp:Label ID="lblalias" runat="server" />
                <asp:TextBox ID="txtalias" runat="server" MaxLength="80" />
                <asp:RequiredFieldValidator ID="reqalias" Display="Dynamic" runat="server" ControlToValidate="txtalias" />
                <asp:RegularExpressionValidator ID="vlalias" Display="Dynamic" runat="server" ControlToValidate="txtalias" ValidationExpression="[a-z|A-Z][a-z|A-Z|0-9]*" />
            </label>
            <label>
                <asp:Label ID="lbltitle" runat="server" />
                <asp:TextBox ID="txttitle" runat="server" MaxLength="120" />
                <asp:RequiredFieldValidator ID="reqtitle" Display="Dynamic" runat="server" ControlToValidate="txttitle" />
            </label>
            <label>
                <asp:Label ID="lblkeywords" runat="server" />
                <cc1:TextArea ID="txtkeywords" runat="server" MaxLength="1000" />
            </label>
            <label>
                <asp:Label ID="lblmetatags" runat="server" />
                <cc1:TextArea ID="txtmetatags" runat="server" MaxLength="1000" />
            </label>
            <label>
                <asp:Label ID="lblreaders" runat="server" />
                <uc2:WFAccessList ID="readers" AnonymousValue="-6" runat="server" />
            </label>
            <label>
                <asp:Label ID="lbleditors" runat="server" />
                <uc1:AccessList ID="editors" AdmMode="true" runat="server" />
            </label>
            <label>
                <asp:CheckBox ID="chklocal" runat="server" CssClass="checkbox" />
            </label>
            <label id="copyoptions" runat="server">
                <asp:Label ID="lblcopy" runat="server" />
                <asp:CheckBox ID="chkstructure" runat="server" CssClass="checkbox" Checked="true" />
                <asp:CheckBox ID="chkcontent" runat="server" CssClass="checkbox" />
            </label>
            <label>
                <asp:Label ID="lblcreated" runat="server" />
            </label>
        </div>
        <section class="actions">
            <asp:Button ID="btnok" runat="server" CssClass="button" />
            <input id="btncancel" type="button" class="button" value="button" runat="server" />
        </section>
    </asp:Panel>
    <asp:Panel ID="pnlpreview" runat="server" Visible="false">
        <asp:HyperLink ID="lnkpreview" runat="server" Target="PREVIEW" />
        <input id="btncancel2" type="button" class="button" value="button" runat="server" />
    </asp:Panel>
    <cc1:TextBoxWatermarkExtender ID="aliaswatermark" WatermarkText="Sem espaços ou caracteres especiais" WatermarkCssClass="watermark" runat="server" TargetControlID="txtalias" />
</asp:Content>
