<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/WFAdmin/ModalAdminPage.master" CodeBehind="Texto.aspx.vb" Inherits="WebFoundations.WFWorkflow.Modules.UI.Texto" %>
<%@ Register TagPrefix="wff" Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" %>
<%@ Register TagPrefix="wfhtml" Namespace="WebFoundations.WFWorkflow.Services.UI" Assembly="WebFoundations.WFWorkflow.Services" %>

<asp:Content ContentPlaceHolderID="TagHead" runat="server">
    <script type="text/javascript">
        RadEditorCommandList["WFValues"] = function (commandName, editor, oTool) {
            oValue = oTool.GetSelectedValue();
            editor.SetHtml(editor.GetHtml() + oValue);
        };
    </script>
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <h1>
    <asp:Label Text="" ID="lblModuleName" runat="server" /></h1>
    <div class="fields no-columns">
        <label>
            <asp:Label ID="lblnome" runat="server" />
            <asp:TextBox ID="txtnome" CssClass="input_geralModulo largMensagem" runat="server" MaxLength="50" />
            <asp:RequiredFieldValidator ID="obrnome" runat="server" Display="Dynamic" ControlToValidate="txtnome" />
        </label>
        <label>
            <asp:Label ID="lblMessageType" runat="server" />
            <asp:RadioButtonList ID="selMsgType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" AutoPostBack="true" CellPadding="4" />
        </label>
        <label>
            <wfhtml:ZuriHTMLEditor Width="99%" runat="server" ID="HTMLContent" />
            <asp:TextBox ID="txtMessage" Width="99%" TextMode="MultiLine" Rows="15" runat="server" />
        </label>
        <section class="actions">
            <asp:Button ID="btnok" runat="server" />
            <input id="btncancel" type="button" value="button" runat="server" />
        </section>
    </div>
</asp:Content>
