<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="Galleries" Namespace="CommunityServer.Galleries.Controls" Assembly="CommunityServer.Galleries" %>
<%@ Import Namespace="CommunityServer.Components" %>
<div id="comments">
	<h3>Comments</h3>
		<CS:RepeaterPlusNone id="Comments" runat="server">
			<HeaderTemplate>
				<table cellpadding="0" cellspacing="0" border="0" width="100%">
			</HeaderTemplate>
		
			<ItemTemplate>
				<tr valign="top">
					<td class="Comment CommentAvatar">
						<CS:UserAvatar runat="server" Border="1" PadImage="False" id="Avatar" />&nbsp;
					</td>
					<td class="Comment CommentContent" width="100%">
						<h4 class="CommentTitle"><asp:HyperLink Runat="server" ID="NameLink" /> 
						<cs:resourcecontrol runat="server" resourcename="Weblog_CommentForm_Said" ID="Resourcecontrol1" /></h4>
						<div class="CommentText"><asp:Literal id = "PostText" Runat = "server" /></div>
						<div class="CommentFooter"><%#  DataBinder.Eval(Container.DataItem, "PostDate","{0:t}") %> on <%#  DataBinder.Eval(Container.DataItem, "PostDate","{0:MMMM d, yyyy}") %> <asp:LinkButton Runat="server" ID="EditLink" CausesValidation="False" CssClass="floatright"/></div>
					</td>
				</tr>
			</ItemTemplate>

			<FooterTemplate>
				</table>
			</FooterTemplate>

			<NoneTemplate>
				<tr>
					<td colspan="2" class="Comment CommentContent">No comments</td>
				</tr>
			</NoneTemplate>
		</CS:RepeaterPlusNone>
	</div>
		
		<Galleries:CommentForm runat="server" id="Commentform1" Visible="False" />
</div>
		</div>
	</div>
</div>


	