<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<CS:RepeaterPlusNone id="Comments" runat="server">

<HeaderTemplate>
	<div id="comments">
	<CS:ResourceControl runat="server" ResourceName="Weblog_CommentForm_Comments" id="Resourcecontrol1" Tag="H3" />
</HeaderTemplate>

<ItemTemplate>
	<div class="<%# ((bool) DataBinder.Eval(Container.DataItem, "IsOwner")) ? "commentowner" : "comment" %>">
	<h4>
		<asp:HyperLink Runat="server" ID="PermaLink" Text = "#" Title = "permalink" />
		<asp:Literal Runat = "server" ID = "Title" />
	</h4>
	<div class="commentssubhead">
		<span class="commentspan"><asp:LinkButton Runat="server" ID="EditLink" CausesValidation="False" /></span>
		<asp:Literal id = "PostDate" Runat = "server" /> 
			by <asp:HyperLink Target="_blank" Runat="server" ID="NameLink" />
	</div>
	<div class="commentsbody">
		<asp:Literal id = "PostText" Runat = "server" />
	</div>
	</div>
</ItemTemplate>

<FooterTemplate>
	</div>
</FooterTemplate>

<NoneTemplate>
	<p><cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_NoComments" id="rc2" /></p>
</NoneTemplate>

</CS:RepeaterPlusNone>
