PageRenderTime 36ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. <%@ Control Language="C#" EnableViewState="False" Inherits="BlogEngine.Core.Web.Controls.CommentViewBase" %>
  2. <div id="id_<%=Comment.Id %>" class="vcard comment<%= Post.Author.Equals(Comment.Author, StringComparison.OrdinalIgnoreCase) ? " self" : "" %>">
  3. <div class="comment_header">
  4. <span class="gravatar"><%= Gravatar(28)%></span>
  5. <div class="visitor">
  6. <%= Comment.Website != null ? "<a href=\"" + Comment.Website + "\" rel=\"nofollow\" class=\"url fn\">" + Comment.Author + "</a>" : "<span class=\"fn\">" +Comment.Author + "</span>" %>
  7. <%= Flag %>
  8. <div style="float:right; padding-right:10px"><%= Comment.DateCreated %> <a href="#id_<%=Comment.Id %>">#</a></div>
  9. </div>
  10. </div>
  11. <p class="content"><%= Text %></p>
  12. <p class="author">
  13. <%= AdminLinks.Length > 2 ? AdminLinks.Substring(2) : AdminLinks %>
  14. <span style="float:right"><%=ReplyToLink%></span>
  15. </p>
  16. <div class="comment-replies" id="replies_<%=Comment.Id %>" <%= (Comment.Comments.Count == 0 || Comment.Email == "pingback" || Comment.Email == "trackback") ? " style=\"display:none;\"" : "" %>>
  17. <asp:PlaceHolder ID="phSubComments" runat="server" />
  18. </div>
  19. </div>