<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<div id="comments">
<cs:repeaterplusnone id="Comments" runat="server">
	<headertemplate>
		<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_Comments" id="rc_comments" tag = "H2" />
	</headertemplate>
	<itemtemplate>
		<div class="<%# ((bool) DataBinder.Eval(Container.DataItem, "IsOwner")) ? "commentowner" : "comment" %>">
		<h4>
			<asp:hyperlink runat="server" id="PermaLink" text = "#" title = "permalink" />
			<span><asp:literal runat="server" id="Title" /> @ <asp:literal id="PostDate" runat="server" /></span>
		</h4>
		<asp:literal id="PostText" runat="server" />
		<asp:linkbutton runat="server" id="EditLink" causesvalidation="False" />
		<p class="posteds">	
			<asp:hyperlink target="_blank" runat="server" id="NameLink" />
		</p>
		</div>
	</itemtemplate>
	<nonetemplate>
		<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_NoComments" id="rc2" />
	</nonetemplate>
</CS:RepeaterPlusNone>
</div>
