⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sitemenupanel.ascx

📁 Portal C# Article Live
💻 ASCX
字号:
<%@ Import namespace="Interspire.ArticleLive.Web" %>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="SiteMenuPanel.ascx.cs" Inherits="Interspire.ArticleLive.Web.Templates.SlickFixed.Panels.SiteMenuPanel" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Import namespace="Interspire.ArticleLive" %>
<%@ Import namespace="Interspire.ArticleLive.Web.Security" %>
<TABLE class="Panel SiteMenuPanel" id="Table2">
	<TBODY>
		<TR>
			<TD class="Heading"><%= ResourceHelper.GetString("SiteMenu") %></TD>
		</TR>
		<TR>
			<TD class="Content">
							<div>
					<img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_Blogs.gif" align=absmiddle>&nbsp;<A href="<%= Config.Current.BlogsPagePath %>"><%= ResourceHelper.GetString("ViewBlogs") %></A>
				</div>
				<div><img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_Authors.gif" align=absMiddle>&nbsp;<A href='<%= Config.Current.AuthorsPagePath %>?a=ViewAuthors'><%= ResourceHelper.GetString("ViewAuthors") %></A></div>
				<% if (Config.Current.EnableAuthorRegistration && !Request.IsAuthenticated){ %>
				<div><img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_Author.gif" align=absMiddle>&nbsp;<A href='<%= Config.Current.AuthorsPagePath %>?a=Register'><%= ResourceHelper.GetString("BecomeAnAuthor") %></A></div><% } %>
				<% if (Config.Current.EnableAuthorLogin){ %>
				<% if (!Request.IsAuthenticated) { %>
				<div><img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_Login.gif" align=absMiddle>&nbsp;<A href='<%= Config.Current.AuthorsPagePath %>?a=LogIn'><%= ResourceHelper.GetString("AuthorLogin") %></A></div><% } else { %>
				<div>
					<img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_Login.gif" align=absMiddle>&nbsp;<A href="<%= Config.Current.AuthorsPagePath %>?a=LogOut"><%= ResourceHelper.GetString("Logout") %></A> (<%= ((Identity)Page.User.Identity).Username %>)
				</div>
				<% } %><% } %>
				<% if (Request.IsAuthenticated && Authorisation.UserHasPermission(UserPermissionsEnum.SubmitArticle | UserPermissionsEnum.CreateContent)) { %>
				<div>
					<img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_Article.gif" align=absMiddle>&nbsp;<A href="<%= Config.Current.ArticlesPagePath %>?a=SubmitArticle"><%= ResourceHelper.GetString("SubmitArticle") %></A>
				</div>
				<div>
					<img src="<%= Config.Current.CurrentTemplatePath %>/Images/icon_MyArticles.gif" align=absMiddle>&nbsp;<A href="<%= Config.Current.AuthorsPagePath %>?a=ViewAccount"><%= ResourceHelper.GetString("MyArticles") %></A>
				</div>
				<% } %>
			</TD>
		</TR>
	</TBODY>
</TABLE>
<div class="HorizontalRule"></div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -