/BlogEngine/BlogEngine.NET/themes/TitaniumX/PostView.ascx
ASP.NET | 35 lines | 30 code | 5 blank | 0 comment | 3 complexity | 9aa5fe00b295258e3b0cd5085274bfe6 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
- <%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" Inherits="BlogEngine.Core.Web.Controls.PostViewBase" %>
-
- <div class="post xfolkentry" id="post<%=Index %>">
- <h1><a href="<%=Post.RelativeLink %>" class="taggedlink"><%=Server.HtmlEncode(Post.Title) %></a></h1>
- <span class="author">by <a href="<%=VirtualPathUtility.ToAbsolute("~/") + "author/" + BlogEngine.Core.Utils.RemoveIllegalCharacters(Post.Author) %>.aspx"><%=Post.AuthorProfile != null ? Post.AuthorProfile.DisplayName : Post.Author %></a></span>
- <span class="pubDate"><%=Post.DateCreated.ToString("d. MMMM yyyy HH:mm") %></span>
-
- <div class="text"><asp:PlaceHolder ID="BodyContent" runat="server" /></div>
- <div class="bottom">
- <%=Rating %>
- <p class="tags">Tags: <%=TagLinks(", ") %></p>
- <p class="categories"><%=CategoryLinks(" | ") %></p>
- </div>
-
- <div class="footer">
- <div class="bookmarks">
- <a rel="nofollow" href="mailto:?subject=<%=Post.Title %>&body=I thought that you might find this interesting: <%=Post.AbsoluteLink.ToString() %>">E-Mail</a> |
- <a rel="nofollow" href="http://www.dotnetkicks.com/submit?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">Kick it!</a> |
- <a rel="nofollow" href="http://www.dzone.com/links/add.html?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">DZone it!</a> |
- <a rel="nofollow" href="http://del.icio.us/post?url=<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&title=<%=Server.UrlEncode(Post.Title) %>">del.icio.us</a>
- </div>
-
- <%=AdminLinks %>
-
- <% if (BlogEngine.Core.BlogSettings.Instance.ModerationType == BlogEngine.Core.BlogSettings.Moderation.Disqus)
- { %>
- <a rel="nofollow" href="<%=Post.PermaLink %>#disqus_thread"><%=Resources.labels.comments %></a>
- <%}
- else
- { %>
- <a rel="bookmark" href="<%=Post.PermaLink %>" title="<%=Server.HtmlEncode(Post.Title) %>">Permalink</a> |
- <a rel="nofollow" href="<%=Post.RelativeLink %>#comment"><%=Resources.labels.comments %> (<%=Post.ApprovedComments.Count %>)</a>
- <%} %>
- </div>
- </div>