<%@ Page language="c#" Codebehind="ModerateForum.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Moderation.ModerateForum" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Register TagPrefix="CSDP" Namespace="CommunityServer.Discussions.Controls.PostDisplay" Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer.Discussions.Components" %>
<%@ Import Namespace="CommunityServer.Components" %>
<CP:ControlPanelSelectedNavigation SelectedNavItem="CommonTasks" runat="server" />
<CS:MPContainer runat="server" id="MPContainer" ThemeMasterFile="ModerationControlPanelMaster.ascx">
	<CS:MPContent id="TopLeft" runat="server">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr >
				<td width="100%"><CP:ResourceControl runat="server" ResourceName="CP_Moderation_CurrentForum" />&nbsp;<CP:CurrentForum runat = "Server" /></td>
				<td style="padding-right: 3px;" nowrap="true"><CP:HyperLink ID="HyperLink1" Runat="server" CssClass="CommonTextButton" urlname="moderate_Home" ResourceName="CP_Moderation_Switch_ChangeForum" />
			</tr>
		</table>
	</CS:MPContent>
	<CS:MPContent id="DescriptionRegion" runat="server">
		<CP:ResourceControl runat="server" resourcename="CP_Moderation_Posts" />
	</CS:MPContent>
	<CS:MPContent id="TaskRegion" runat="Server">
		<div class="CommonFormArea">
			<CS:StatusMessage runat="server" id="NoPostsToModerate" Visible="false" Success="false" ResourceFile="ControlPanelResources.xml" ResourceName="CP_Moderation_NoPostsToModerate" />

			<asp:Repeater id="PostRepeater" Runat="server">
				<HeaderTemplate>
					<ul class="ForumPostList">
				</HeaderTemplate>
				<ItemTemplate>
					<li id="Post_<%# ((Post)Container.DataItem).PostID %>">

						<asp:HyperLink id="Approve" runat="server" cssclass="CommonTextButton" />
						<asp:HyperLink id="ApproveView" runat="server" cssclass="CommonTextButton" />
						<asp:HyperLink id="Delete" runat="server" cssclass="CommonTextButton" />
						<asp:HyperLink id="JoinSplit" runat="server" cssclass="CommonTextButton" />
						<asp:HyperLink id="Move" runat="server" cssclass="CommonTextButton" />
						<asp:HyperLink id="EditUser" runat="server" cssclass="CommonTextButton" visible="false" />
						<asp:HyperLink id="ToggleUserModeration" runat="server" cssclass="CommonTextButton" />
						<asp:HyperLink id="ModerationHistory" runat="server" cssclass="CommonTextButton" visible="false" />

						<CSD:PostFlatPreview id="PostPreview" LinkToParent="true" runat="server" />
						<br/><br/>
					</li>
				</ItemTemplate>
				<FooterTemplate>
					</ul>
				</FooterTemplate>
			</asp:Repeater>

		</div>
	</CS:MPContent>
</CS:MPContainer>
