<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="AdminPageTemplate.master.cs" Inherits="Subtext.Web.Admin.WebUI.AdminPageTemplate" %>
<%@ Import namespace="Subtext.Framework.Configuration"%>
<%@ Register TagPrefix="st" Namespace="Subtext.Web.Admin.WebUI" Assembly="Subtext.Web" %>
<%@ Register TagPrefix="st1" Namespace="Subtext.Web.Controls" Assembly="Subtext.Web.Controls" %>
<%@ Import Namespace = "Subtext.Web.Admin" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Subtext - 管理</title>
    <st1:ScriptTag id="commonJs" src="~/Scripts/common.js" runat="server" />
    <st1:ScriptTag id="tableEffectsJS" src="~/Scripts/tableEffects.js" runat="server" />
    <st1:ScriptTag id="NiceForms" src="~/admin/resources/Scripts/niceForms.js" runat="server" />
	<st1:ScriptTag id="HelptipJs" src="~/admin/resources/Scripts/helptip.js" runat="server" />
	<st1:ScriptTag id="AdminJs" src="~/admin/resources/Scripts/admin.js" runat="server" />
	<link id="commonLayoutCss" type="text/css" rel="stylesheet" runat="Server" href="~/Skins/_System/commonlayout.css" />
	<link id="commonStyleCss" type="text/css" rel="stylesheet" runat="Server" href="~/Skins/_System/commonstyle.css" />
	<st:HeaderLink id="HelptipCss" rel="stylesheet" href="resources/scripts/helptip.css" linkType="text/css" runat="server" />
	<st:HeaderLink id="adminCss" rel="stylesheet" href="resources/admin.css" linkType="text/css" runat="server" />
	<st:HeaderLink id="NiceFormsStyle" rel="stylesheet" href="resources/scripts/niceforms-default.css" linkType="text/css" runat="server" />
</head>
<body id="AdminSection" runat="server">
    <form id="frmMain" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true"></asp:ScriptManager>
		<table id="BodyTable" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td>
					<span id="logo"></span>
				</td>
				<td id="header">
					<div id="SiteNav">
						当前用户<strong> <asp:Literal Runat="server" ID="LoggedInUser" Text="<%# Config.CurrentBlog.Author %>" /></strong> (<asp:LinkButton id="LogoutLink" runat="server" ToolTip="退出" ValidationGroup="Logout">退出</asp:LinkButton>)
						<br />
					</div>
					<div id="BlogTitle">
						<asp:HyperLink id="BlogTitleLink" runat="server" ToolTip="Blog Home Page" NavigateUrl="<%# Config.CurrentBlog.HomeVirtualUrl %>" Text="<%# Config.CurrentBlog.Title %>" />
					</div>
				</td>
			</tr>
			<tr>
				<td style="vertical-align:bottom;">
					<div id="LeftNavHeader"><asp:ContentPlaceHolder ID="actionsHeading" runat="server" /></div>
				</td>
				<td class="NavHeaderRow">
					<div id="headerSS">
						<ul id="TopNav">
							<li id="PostsTab"><a href="EditPosts.aspx" id="TabPosts" title="日志">日志</a></li>
							<li id="ArticlesTab"><a href="EditArticles.aspx" id="TabArticles" title="文章">文章</a></li>
							<li id="FeedbackTab"><a href="Feedback.aspx" id="TabFeedback" title="评论">评论</a></li>
							<li id="LinksTab"><a href="EditLinks.aspx" id="TabLinks" title="链接">链接</a></li>
							<li runat="server" id="galleryTab" class="galleryTab" visible="<%# Config.Settings.AllowImages %>"><a href="EditGalleries.aspx" id="TabGalleries" title="相册">相册</a></li>
							<li id="StatsTab"><a href="Statistics.aspx" id="TabStats" title="统计">统计</a></li>
							<li id="OptionsTab"><a href="Options.aspx" id="TabOptions" title="选项">选项</a></li>
							<li id="ImportExportTab"><a href="ImportExport.aspx" id="TabImportExport" title="导入/导出">导入导出</a>
						</ul>
					</div>
					<div id="SubNav">
						<st:BreadCrumbs id="breadCrumbs" UsePrefixText="true" IsPanel="false" IncludeRoot="false" runat="server" />
					</div>
				</td>
			</tr>
			<tr>
				<td class="NavLeftCell">
					<div class="LeftNavContent">
						<st:LinkList id="LinksActions" runat="server" />
					</div>
					<div class="LeftNavHeader">
						<asp:ContentPlaceHolder ID="categoryListHeading" runat="server"></asp:ContentPlaceHolder>
					</div>
					<div class="LeftNavContent">
						<asp:ContentPlaceHolder ID="categoryListLinks" runat="server"></asp:ContentPlaceHolder>
					</div>
				</td>
				<td id="Body">
					<div id="Main">
					    <asp:ContentPlaceHolder ID="pageContent" runat="server">Default Page Content Goes Here</asp:ContentPlaceHolder>
					</div>
				</td>
			</tr>
		</table>
		<table id="Footer" border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td id="Td1" colspan="2">
					<div>
						<strong><%= Subtext.Framework.VersionInfo.VersionDisplayText %></strong>
					</div>
					<div>
					    <a href="http://www.asp.net/"><img id="Dotnet" src='<%= Utilities.ResourcePath + "resources/dotnet.gif" %>' height="31" width="88" /></a>
					    <a href="http://subtextproject.com/"><img id="Subtext" src='<%= Utilities.ResourcePath + "resources/subtext.gif" %>' height="31" width="88" /></a>
						Copyright &copy; 2007 <a href="http://subtext.net.cn/" title="Subtext中文官方网站" target="_blank">Subtext.net.cn</a>. All rights reserved.<br />
					</div>
				</td>
			</tr>
		</table>
		<div id="stylesheetTest"></div>
    </form>
</body>
</html>