-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCommentView.ascx
26 lines (24 loc) · 1.33 KB
/
CommentView.ascx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<%@ Control Language="C#" EnableViewState="False" Inherits="BlogEngine.Core.Web.Controls.CommentViewBase" %>
<div id="id_<%=Comment.Id %>" class="vcard comment<%= Post.Author.Equals(Comment.Author, StringComparison.OrdinalIgnoreCase) ? " self" : "" %>">
<div class="commentHdrContainer">
<div class="commentHdr">
<div class="commentHdrContent">
<div class="innertube">
<%= ReplyToLink %>
</div>
</div>
</div>
<div class="commentHdrLeftCol">
<span class="gvt-img"><%= Gravatar(38)%></span>
</div>
<div class="commentHdrRightCol">
<span class="commentAuthor"><%= Comment.Website != null ? "<a href=\"" + Comment.Website + "\" rel=\"nofollow\" class=\"url fn\">" + Comment.Author + "</a>" : "<span class=\"fn\">" +Comment.Author + "</span>" %></span>
<br/><%= Comment.DateCreated %> <a href="#id_<%=Comment.Id %>">#</a>
</div>
</div>
<p class="commenttext"><%= Text %></p>
<%= AdminLinks.StartsWith(" | ") ? AdminLinks.Substring(3, AdminLinks.Length - 3) : AdminLinks %>
<div class="comment-replies" id="replies_<%=Comment.Id %>" <%= (Comment.Comments.Count == 0) ? " style=\"display:none;\"" : "" %>>
<asp:PlaceHolder ID="phSubComments" runat="server" />
</div>
</div>