PageRenderTime 43ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/themes/Mobile/CommentView.ascx

#
ASP.NET | 11 lines | 10 code | 1 blank | 0 comment | 1 complexity | f455eafb200dfe049f91e07922df1947 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. <p class="date"><%= Comment.DateCreated.ToString("MMMM d. yyyy HH:mm") %></p>
  4. <p class="gravatar"><%= Gravatar(80)%></p>
  5. <p class="content"><%= Text%></p>
  6. <p class="author">
  7. <%= Comment.Website != null ? "<a href=\"" + Comment.Website + "\" rel=\"nofollow\" class=\"url fn\">" + Comment.Author + "</a>" : "<span class=\"fn\">" + Comment.Author + "</span>"%>
  8. <%= AdminLinks %>
  9. </p>
  10. </div>