<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<CS:ResourceControl runat="server" ResourceName="Weblog_CommentForm_Comments" id="rc_comments" Tag = "H3" />
<div id="comments">
<cs:repeaterplusnone id="Comments" runat="server">
	<ItemTemplate>
		<div class="<%# ((bool) DataBinder.Eval(Container.DataItem, "IsOwner")) ? "commentowner" : "comment" %>">
			<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>
			<h4><asp:HyperLink Runat="server" id="PermaLink" Text = "#" Title = "permalink" />
				<span><asp:Literal runat="server" id="Title" /></span>
			</h4>
			<div class="commentsbody">
				<asp:Literal id="PostText" runat="server" />
			</div>
		</div>
	</ItemTemplate>
	<AlternatingItemTemplate>
		<div class="<%# ((bool) DataBinder.Eval(Container.DataItem, "IsOwner")) ? "altcommentowner" : "altcomment" %>">
			<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>
			<h4>
				<asp:HyperLink Runat="server" id="PermaLink" Text = "#" Title = "permalink" />
				<span><asp:Literal runat="server" id="Title" /></span>
			</h4>
			<div class="commentsbody">
				<asp:Literal id="PostText" runat="server" />
			</div>
		</div>
	</AlternatingItemTemplate>
	<nonetemplate>
		<div class="comment">
			<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_NoComments" id="rc2" />
		</div>
	</nonetemplate>
</CS:RepeaterPlusNone>
</div>
