PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/admin/Comments/Menu.ascx

#
ASP.NET | 9 lines | 9 code | 0 blank | 0 comment | 1 complexity | 42eb9d1a0673206e29e32489f0c263a6 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="Admin.Comments.Menu" %>
  2. <%@ Import Namespace="BlogEngine.Core" %>
  3. <ul>
  4. <% if(BlogSettings.Instance.EnableCommentsModeration){ %>
  5. <li <%=Current("Pending.aspx")%>><a href="Pending.aspx"><%=Resources.labels.pending %> (<span id="pending_counter"><%=PendingCount%></span>)</a></li>
  6. <% } %>
  7. <li <%=Current("Approved.aspx")%>><a href="Approved.aspx"><%=Resources.labels.approved %> (<span id="comment_counter"><%=CommentCount%></span>)</a></li>
  8. <li <%=Current("Spam.aspx")%>><a href="Spam.aspx"><%=Resources.labels.spam %> (<span id="spam_counter"><%=SpamCount%></span>)</a></li>
  9. </ul>