<%@ Import namespace="CommunityServer.Components"%>
<%@ Control Language="c#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>


<div class="CommonContentArea">
<CS:AdPart runat = "Server" contentname="StandardTop" ID="Adpart1">
	<CS:Ads Zone="StandardTop" runat="server" id="Ads1" />
</CS:AdPart>
<h2 class="CommonTitle"><cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_Title" /></h2>
<div class="CommonContent">
<div class="CommonDescription"><cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_Description" /></div>

<cs:StatusMessage runat="server" id="StatusMessage" Visible="false" />

<asp:Repeater ID="ForumGroupRepeater" Runat="server">
	<ItemTemplate>
		<div class="CommonListArea">
		<div class="CommonListTitle"><asp:HyperLink Runat="server" ID="ForumGroupName" /></div>
		<cs:RepeaterPlusNone ID="ForumRepeater" Runat="server">
			<HeaderTemplate>
				<table cellpadding="0" cellspacing="0" border="0" width="100%">
				<thead>
					<tr>
						<th class="CommonListHeaderLeftMost"><cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_List_Forum"/></th>
						<th class="CommonListHeader" runat="server" Visible="<%# CSContext.Current.SiteSettings.EnableMailGateway  %>"><cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_List_BidirectionalAddress" /></th>
						<th class="CommonListHeader"><cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_List_Subscribe"/></th>
					</tr>
				</thead>
			</HeaderTemplate>
			<ItemTemplate>
				<tr>
					<td width="60%" class="CommonListCellLeftMost">
						<table cellpadding="0" cellspacing="0" border="0">
						<tr><td>
							<asp:Label ID="Indentation" Runat="server">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</asp:Label>
						</td><td>
							<asp:HyperLink ID="ForumName" Runat="server" /><br />
							<asp:Label ID="ForumDescription" Runat="server" />
						</td></tr></table>
					</td>
					<td runat="server" Visible="<%# CSContext.Current.SiteSettings.EnableMailGateway %>" width="30%" class="CommonListCell" style="text-align: center;">
						<cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_NotificationsOnly" ID="IsNotMailingList" />
						<asp:HyperLink ID="EmailAddress" Runat="server" />
					</td>
					<td width="10%" class="CommonListCell" style="text-align: center;">
						<asp:CheckBox Runat="server" ID="IsSubscribed" />
					</td>
				</tr>
			</ItemTemplate>
			<FooterTemplate>
				</table>
			</FooterTemplate>
			<NoneTemplate>
				<tr><td colspan="2" class="CommonListCellLeftMost" style="text-align: center;">
					<cs:ResourceControl runat="server" ResourceName="ForumSubscriptionView_NoEmailListsAvailable" />
				</td></tr>
			</NoneTemplate>
		</cs:RepeaterPlusNone>	
	</div>
	</ItemTemplate>
</asp:Repeater>

<asp:Button Runat="server" ID="SaveButton" />
</div>
<CS:AdPart runat = "Server" contentname="StandardBottom" ID="Adpart2">
	<CS:Ads Zone="StandardBottom" runat="server" id="Ads3" />
</CS:AdPart>
</div>