<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="hMailServer5_EditList.ascx.cs" Inherits="SolidCP.Portal.ProviderControls.hMailServer5_EditList" %>
<%@ Register TagPrefix="dnc" TagName="EditItemsList" Src="../MailEditItems.ascx" %>
<%@ Register Src="../UserControls/EmailControl.ascx" TagName="EmailControl" TagPrefix="uc2" %>
<%@ Register TagPrefix="scp" TagName="CollapsiblePanel" Src="../UserControls/CollapsiblePanel.ascx" %>


<table cellSpacing="0" cellPadding="3" width="100%">
	<tr>
		<td>&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td class="SubHead">
		    <asp:Label ID="lblPostingMode" runat="server" meta:resourcekey="lblPostingMode" Text="Posting mode:"></asp:Label>
		</td>
		<td class="normal">
			<asp:DropDownList id="ddlPostingMode" runat="server" resourcekey="ddlPostingMode" CssClass="form-control" Width="150px" AutoPostBack="True" OnSelectedIndexChanged="ddlPostingMode_SelectedIndexChanged">
				<asp:ListItem Value="MembersCanPost">MemberShip</asp:ListItem>
				<asp:ListItem Value="AnyoneCanPost">Public</asp:ListItem>
                <asp:ListItem Value="ModeratorCanPost">Announcements</asp:ListItem>
			</asp:DropDownList>
		</td>
	<tr>
            <td class="SubHead">
                    <asp:Label ID="lblEmail" runat="server" meta:resourcekey="lblEmail" Text="Announcements E-mail:" Visible = "false"></asp:Label>
                </td>
                <td class="NormalBold">
                    <uc2:EmailControl id="txtEmailAnnouncements" runat="server" Visible = "false">
                    </uc2:EmailControl>
                </td>
        </tr>
	</tr>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td class="SubHead" vAlign="top">
		    <asp:Label ID="lblMembers" runat="server" meta:resourcekey="lblMembers" Text="Mailing list members:"></asp:Label>
		</td>
		<td vAlign="top">
			<dnc:EditItemsList id="mailEditItems" runat="server"></dnc:EditItemsList>
		</td>
	</tr>
</table>
<scp:collapsiblepanel id="Security" runat="server" targetcontrolid="pSecurity"
    meta:resourcekey="Security" Text="Security"></scp:collapsiblepanel>
<asp:Panel runat="server" ID="pSecurity">
        <asp:CheckBox runat="server" ID="cbSMTPAuthentication"/>
        <asp:Label ID="Label1" runat="server" meta:resourcekey="lblSMTPAuthentication" Text="Require SMTP Authentication"/>
</asp:Panel>