<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeepSoonTreeAdd.aspx.cs" Inherits="Security.TreeAdd" %>

<!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>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link rel="stylesheet" href="css/common.css" type="text/css" />
		<title>网站栏目规划</title>
	</head>

	<body style="padding-right:30px;overflow:hidden;">
		<form runat="server" style="margin:0px;padding:0px;">
		<div id="man_zone">
			<span class="adminTitle">添加新栏目</span> <asp:Label ID="labelAddInfor" runat="server" Text="" class="labelInforStyle"/>
			<br>
			<span class="adminGuid">
				[操作说明] 选择隐藏后，菜单将不再在前台导航栏显示。
			</span>
			<table cellpadding=0 cellspacing=1 style="font-size:13px;">
				<tr><td class="colorTd">栏目名称</td>
					<td><asp:TextBox ID="txtName" runat="server" MaxLength="20"></asp:TextBox> <span class="adminHelp">必填项，汉字或字母，不超过20个字符</span></td>
				</tr>
				<tr><td class="colorTd">外链地址</td>
					<td><asp:TextBox ID="txtOutLinkHref" runat="server" MaxLength="250"></asp:TextBox> <span class="adminHelp">选填项，可自定义菜单的链接地址，不需要外链时请留空</span></td>
				</tr>
				<tr><td class="colorTd">菜单状态</td>
					<td>
					<asp:DropDownList ID="dropIsHidden" runat="server">
						<asp:ListItem Value="false">可见</asp:ListItem>
						<asp:ListItem Value="true">隐藏</asp:ListItem>
					</asp:DropDownList> <span class="adminHelp">选填项，可见为默认值，隐藏后在前台导航栏菜单里不可见</span></td>
				</tr>
				<tr><td class="colorTd">链接方式</td>
					<td>
					<asp:DropDownList ID="dropLinkTarget" runat="server">
						<asp:ListItem Value="_self">在当前页打开</asp:ListItem>
						<asp:ListItem Value="_blank">在新窗口打开</asp:ListItem>
					</asp:DropDownList> <span class="adminHelp">选填项，默认值为当前窗口打开，导航栏链接的打开方式</span></td>
				</tr>
				<tr><td class="colorTd">维护权限</td>
					<td>
					<asp:DropDownList ID="dropOpenArea" runat="server">
						<asp:ListItem Value="all">所有注册用户可维护</asp:ListItem>
						<asp:ListItem Value="super">仅超级用户可维护</asp:ListItem>
					</asp:DropDownList> <span class="adminHelp">选填项，设置当前栏目的维护权限；设定仅超级用户可维护后，仅超级用户可对该栏目添加、删除、修改文章</span></td>
				</tr>
				<tr><td class="colorTd">栏目模板</td>
					<td><asp:TextBox ID="txtThemeFile" runat="server" Text="T_list.html"></asp:TextBox> <span class="adminHelp">必填项，定义栏目列表样式的模板文件。<br>备选：普通列表/T_list.html(默认)；图片列表/T_list_img.html；图文混排瀑布流列表/T_list_img_text.html；<br>您也可以自己设计模板文件，并将模板文件名称填写至该处。</span></td></td>
				</tr>
				<tr><td class="colorTd">父栏目</td>
					<td><asp:TextBox ID="txtFatherName" runat="server" Enabled="False" MaxLength="20"></asp:TextBox></td>
				</tr>
				<tr><td class="colorTd">fatherID</td>
					<td><asp:TextBox ID="txtFatherID" runat="server" Enabled="False" MaxLength="20"></asp:TextBox></td>
				</tr>
				<tr><td class="colorTd">操 作</td>
					<td><asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="添加新栏目" class="adminButton"/></td>
				</tr>
			</table>
		</div>
		</form>
	</body>
</html>