<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="EmailEdit.ascx.vb" Inherits="WebFoundations.WFWorkflow.UI.EmailEdit" %>
<%@ Register TagPrefix="wfhtml" Namespace="WebFoundations.WFWorkflow.Services.UI" Assembly="WebFoundations.WFWorkflow.Services" %>
<%@ Register TagPrefix="wff" Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" %>
<style>    
    .reToolZone {padding:0px !important;}
</style>
<table border="0" cellpadding="2" cellspacing="2" width="100%">
    <tr>
        <td>
            <div style="margin-bottom:5px;"><asp:Label ID="lbldestinatarios" runat="server" /></div>
            <div style="margin-bottom:5px;"><asp:TextBox ID="txtemail" runat="server" Width="95%" CssClass="input_geralModulo largDestinatario" MaxLength="100" /><span style="width:5%;text-align:center;margin-left:10px;"><asp:linkButton ID="btnAdd" CssClass="add-item" Width="20px" runat="server">&nbsp;</asp:linkButton></span></div>
            <div style="margin-bottom:5px;"><wff:SelectList id="selDestinatarios" sorted="true" runat="server" PanelsHeight="180"></wff:SelectList></div>
        </td>
    </tr>
    <tr>
        <td>
            <div style="margin-bottom:5px;"><a href=".recCopy" onclick="try{anchorToogleClick(this);}catch(error){};return false;" class="mod-email-dest">+ <asp:Label ID="lblDestinatariosCopy" runat="server" /></a></div>
            <div style="display: none;" id="tblSendCopy" runat="server" class="recCopy">
            <div style="margin-bottom:5px;"><asp:TextBox ID="txtEmailCopy" runat="server" Width="95%" CssClass="input_geralModulo largDestinatario" MaxLength="100" /><span style="width:5%;text-align:center;margin-left:10px;"><asp:linkButton ID="btnAddCopy" CssClass="add-item" Width="20px" runat="server">&nbsp;</asp:linkButton></span></div>
            <div style="margin-bottom:5px;"><wff:SelectList id="selDestCopy" sorted="true" runat="server" PanelsHeight="180"></wff:SelectList></div>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div style="margin-bottom:5px;"><a href=".recHiddenCopy" onclick="try{anchorToogleClick(this);}catch(error){};return false;" class="mod-email-dest">+ <asp:Label ID="lblDestinatariosHiddenCopy" runat="server" /></a></div>
            <div style="display: none;" id="tblSendHiddenCopy" runat="server" class="recHiddenCopy">
            <div style="margin-bottom:5px;"><asp:TextBox ID="txtEmailHiddenCopy" runat="server" Width="95%" CssClass="input_geralModulo largDestinatario" MaxLength="100" /><span style="width:5%;text-align:center;margin-left:10px;"><asp:linkButton ID="btnAddHidden" CssClass="add-item" Width="20px" runat="server">&nbsp;</asp:linkButton></span></div>
            <div style="margin-bottom:5px;"><wff:SelectList id="selHidCopy" sorted="true" runat="server" PanelsHeight="180"></wff:SelectList></div>
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <div style="margin-bottom:5px;"><asp:Label ID="lbltitulo" runat="server" /></div>
            <div style="margin-bottom:5px;"><asp:TextBox ID="txttitulo" runat="server" Width="100%" MaxLength="500" /></div>
        </td>
    </tr>
    <tr>
        <td>
            <div style="margin-bottom:5px;"><asp:Label ID="lbltexto" runat="server" /></div>
            <div style="margin-bottom:5px;"><asp:CheckBox ID="chkUsePlainText" AutoPostBack="true" runat="server" /></div>
        </td>
    </tr>
</table>
<asp:TextBox ID="txtPlainText" Width="100%" Height="400px" Visible="false" TextMode="MultiLine" runat="server" />
<wfhtml:ZuriHTMLEditor Width="100%" height="400px" runat="server" ID="HTMLContent" />