PageRenderTime 37ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/themes/Indigo/PostView.ascx

#
ASP.NET | 22 lines | 21 code | 1 blank | 0 comment | 1 complexity | ddbf584a2bdabddc8f3205d058c8f93c MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. <%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="BlogEngine.Core.Web.Controls.PostViewBase" %>
  2. <div class="post xfolkentry" id="post<%=Index %>">
  3. <h1><a class="postheader taggedlink" href="<%=Post.RelativeLink %>"><%=Server.HtmlEncode(Post.Title) %></a></h1>
  4. <div class="descr"><img id="Img1" src="~/themes/indigo/img/timeicon.gif" runat="server" alt="clock" /> <%=Post.DateCreated.ToString("MMMM d, yyyy HH:mm")%> by <img id="Img2" src="~/themes/indigo/img/author.gif" runat="server" alt="author" /> <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + BlogEngine.Core.Utils.RemoveIllegalCharacters(Post.Author) %>.aspx"><%=Post.AuthorProfile != null ? Post.AuthorProfile.DisplayName : Post.Author%></a></div>
  5. <div class="postcontent"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
  6. <%=Rating %>
  7. <br />
  8. <div class="postfooter">
  9. Tags: <%=TagLinks(", ") %><br />
  10. Categories: <%=CategoryLinks(" | ") %><br />
  11. Actions: <%=AdminLinks %>
  12. <a rel="nofollow" href="mailto:?subject=<%=Server.UrlEncode(Post.Title) %>&amp;body=Thought you might like this: <%=Post.AbsoluteLink.ToString() %>">E-mail</a> |
  13. <a rel="nofollow" href="http://www.dotnetkicks.com/submit?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&amp;title=<%=Server.UrlEncode(Post.Title) %>">Kick it!</a> |
  14. <a href="<%=Post.PermaLink %>" rel="bookmark">Permalink</a> |
  15. <a rel="nofollow" href="<%=Post.RelativeLink %>#comment">
  16. <img id="Img4" runat="server" alt="comment" src="~/themes/indigo/img/comments.gif" /><%=Resources.labels.comments %> (<%=Post.ApprovedComments.Count %>)</a>
  17. |
  18. <a rel="nofollow" href="<%=CommentFeed %>"><asp:Image ID="Image1" runat="Server" ImageUrl="~/pics/rssButton.png" AlternateText="RSS comment feed" style="margin-right:3px" />Comment RSS</a>
  19. </div>
  20. <br />
  21. </div>