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

<HeaderTemplate>
	<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_Comments" id="Resourcecontrol1" tag="H3"/>
	<div id="comments">
</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">
		<asp:Literal id = "PostDate" Runat = "server" /> 
		by <asp:HyperLink Target="_blank" Runat="server" ID="NameLink" />
		<span class="commentspan"><asp:linkbutton runat="server" id="EditLink" causesvalidation="False" /></span>
	</div>
	<div class="commentsbody">
		<asp:Literal id = "PostText" Runat = "server" />
	</div>
	</div>
</ItemTemplate>

<FooterTemplate>
	</div>
</FooterTemplate>

<NoneTemplate>
	<div class="commentssubhead">
		<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_NoComments" id="Resourcecontrol2" />
	</div>
</NoneTemplate>

</CS:RepeaterPlusNone>
