/BlogEngine/BlogEngine.NET/themes/TitaniumX/CommentView.ascx
ASP.NET | 24 lines | 19 code | 5 blank | 0 comment | 6 complexity | 20e97a5800d82c1fb265b2a59ae2dbbb MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
- <%@ 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="comment_header">
- <span class="gravatar"><%= Gravatar(28)%></span>
- <div class="visitor">
- <%= Comment.Website != null ? "<a href=\"" + Comment.Website + "\" rel=\"nofollow\" class=\"url fn\">" + Comment.Author + "</a>" : "<span class=\"fn\">" +Comment.Author + "</span>" %>
- <%= Flag %>
- <div style="float:right; padding-right:10px"><%= Comment.DateCreated %> <a href="#id_<%=Comment.Id %>">#</a></div>
- </div>
- </div>
-
- <p class="content"><%= Text %></p>
-
- <p class="author">
- <%= AdminLinks.Length > 2 ? AdminLinks.Substring(2) : AdminLinks %>
- <span style="float:right"><%=ReplyToLink%></span>
- </p>
-
- <div class="comment-replies" id="replies_<%=Comment.Id %>" <%= (Comment.Comments.Count == 0 || Comment.Email == "pingback" || Comment.Email == "trackback") ? " style=\"display:none;\"" : "" %>>
- <asp:PlaceHolder ID="phSubComments" runat="server" />
- </div>
-
- </div>