<%@ Control Language="C#" EnableTheming="false"  AutoEventWireup="false" Inherits="Subtext.Web.UI.Controls.Comments" %>
<div id="comments" class="section">
	<p><asp:Literal ID = "NoCommentMessage" Runat ="server" /></p>
	<asp:Repeater ID="CommentList" runat="server" OnItemCreated="CommentsCreated" OnItemCommand="RemoveComment_ItemCommand">
	    <HeaderTemplate><ul class="comment-list" id="commentList"></HeaderTemplate>
	    <ItemTemplate>
	        <li id="<%# Comment.Id %>" class="comment normal-comment<%# AuthorCssClass %>">
	            <div class="comment-body">
		            <cite>
			            <strong>
				            <asp:Literal ID="Title" Runat="server" />
			            </strong>
		            </cite>
		            <p><asp:Image runat="server" id="GravatarImg" visible="False" CssClass="avatar" AlternateText="Gravatar" /><asp:Literal ID="PostText" Runat="server" /></p>
	            </div>
	            <div class="comment-date"><asp:HyperLink Target="_blank" Runat="server" ID="NameLink" /> [<asp:Literal id = "PostDate" Runat = "server" />]</div>
	            <asp:LinkButton Runat="server" cssclass="editlink" ID="EditLink" CausesValidation="False" />
            </li>
	    </ItemTemplate>
	    <AlternatingItemTemplate>
	        <li id="<%# Comment.Id %>" class="comment alternate-comment<%# AuthorCssClass %>">
	            <div class="comment-body">
		            <cite>
			            <strong>
				            <asp:Literal ID="Title" Runat="server" />
			            </strong>
		            </cite>
 		            <p class="comment-text"><asp:Image runat="server" id="GravatarImg" visible="False" CssClass="avatar" AlternateText="Gravatar" /><asp:Literal ID="PostText" Runat="server" /></p>
	            </div>
	            <div class="comment-date"><asp:HyperLink Target="_blank" Runat="server" ID="NameLink" /> [<asp:Literal id = "PostDate" Runat = "server" />]</div>
	            <asp:LinkButton Runat="server" cssclass="editlink" ID="EditLink" CausesValidation="False" />
            </li>
	    </AlternatingItemTemplate>
	    <FooterTemplate></ul></FooterTemplate>
	</asp:Repeater>    
</div>