/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
- <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Menu.ascx.cs" Inherits="Admin.Comments.Menu" %>
- <%@ Import Namespace="BlogEngine.Core" %>
- <ul>
- <% if(BlogSettings.Instance.EnableCommentsModeration){ %>
- <li <%=Current("Pending.aspx")%>><a href="Pending.aspx"><%=Resources.labels.pending %> (<span id="pending_counter"><%=PendingCount%></span>)</a></li>
- <% } %>
- <li <%=Current("Approved.aspx")%>><a href="Approved.aspx"><%=Resources.labels.approved %> (<span id="comment_counter"><%=CommentCount%></span>)</a></li>
- <li <%=Current("Spam.aspx")%>><a href="Spam.aspx"><%=Resources.labels.spam %> (<span id="spam_counter"><%=SpamCount%></span>)</a></li>
- </ul>