PageRenderTime 45ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/BlogEngine/BlogEngine.NET/themes/Standard/CommentView.ascx

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