<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<div id="comments">
	<CS:ResourceControl runat="server" ResourceName="Weblog_CommentForm_Comments" id="rc_comments" Tag = "H2" />
	<cs:repeaterplusnone id="Comments" runat="server">
	<ItemTemplate>
		<div class="<%# ((bool) DataBinder.Eval(Container.DataItem, "IsOwner")) ? "CommentAreaOwner" : "CommentArea" %>">
			<h4 class="CommentTitle">
				<asp:HyperLink Runat="server" ID="NameLink" /> 
				<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_Said" ID="Resourcecontrol1" />
				<img src="<%= CommunityServer.Blogs.Controls.ThemeManager.SkinPath() %>/images/spacer.gif" align=absbottom class="CommentArrow" />
			</h4>
			<div class="CommentText">
				<div class="CommentText2">
					<div class="CommentText3"><asp:Literal id = "PostText" Runat = "server" /></div>
				</div>
			</div>
			<div class="CommentFooter"><asp:HyperLink Runat="server" ID="PermaLink" Text="#" Title="permalink" /> <%#  DataBinder.Eval(Container.DataItem, "PostDate","{0:MMMM d, yyyy}") %> <%#  DataBinder.Eval(Container.DataItem, "PostDate","{0:t}") %> <asp:LinkButton Runat="server" ID="EditLink" CausesValidation="False" /></div>
		</div>
	</ItemTemplate>
	<nonetemplate>
		<p><cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_NoComments" id="rc2" /></p>
	</nonetemplate>
	</CS:RepeaterPlusNone>
</div>
