<%@ Page  CodeFile="/cache/template/System/IlgharCMS.SystemModule/menu/list.cs" Inherits="CIlgharCMS"%>
<%@ Register TagPrefix="IlgharUC" TagName="Ime" Src="/cache/template/System/CHS/ime.ascx"%>
<%@ Register TagPrefix="IlgharUC" TagName="LanguageMenu" Src="/cache/template/System/CHS/language_menu.ascx"%>
<!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 name="generator" content="IlgharCMS(爱革CMS)" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>菜单列表 - powered by IlgharCMS 3.0</title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />

<link rel="stylesheet" href="<%=CssPath%>common.css" />
<ilgharUC:Ime Ime="true" Eot="true" runat="server" />

<script type="text/javascript">
var _page = "menu_list";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_name_empty = "名称不能空！";
var _lang_confirm_delete = "要删除此项吗？";
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" /></div>
	<div class="Title">菜单列表</div>
	<div class="Right">
		<ilgharUC:LanguageMenu runat="server" />
		<img height="15" src="<%=ImagePath%>dropdown.gif" /> 语言：<%=CurrentLanguage%>
	</div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left Selected"></li>
		<li class="Middle Selected">菜单列表</li>
		<li class="Right Selected"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="add.aspx?Lang=<%=ContentLang%>&amp;CategoryID=<%=CurrentCategoryID%>">添加菜单</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../menu_category/list.aspx?Lang=<%=ContentLang%>">类别列表</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../menu_category/add.aspx?Lang=<%=ContentLang%>">添加类别</a></li>
		<li class="Right"></li>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<div class="ToolBar">
		<select id="CategoryID" class="<%=ContentLang%>Font">
			<option value="">公共菜单</option>
			<%=t2794%>		
		</select>
	</div>
	<div id="List">
		<table border="0" cellpadding="4" cellspacing="1" class="TreeTable">
			<thead>
				<tr>
					<th width="30">移动</th>
					<th>名称及层次</th>
					<th width="60">是否显示</th>
					<th width="40">修改</th>
					<th width="40">编辑</th>
					<th width="40">删除</th>
				</tr>
			</thead>
			<tbody>
				<%=t3865%>
			</tbody>
		</table>
	</div>
	<div class="Footer"></div>
</div>
<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<script type="text/javascript" src="<%=JsPath%>move.js"></script>
<script type="text/javascript" src="<%=JsPath%>tree_handler.js"></script>
<script type="text/javascript" src="<%=JsPath%>global.js"></script>
<script type="text/javascript" src="<%=JsPath%>system.js"></script>
<asp:XmlDataSource ID="XmlData" runat="server"><Data><Template><t2794>
		                <Control>
		                    <Space>
			                    <![CDATA[&nbsp;&nbsp;]]>
		                    </Space>
		                    <Line>
			                    <![CDATA[│]]>
		                    </Line>
		                    <TopOpen>
			                    <![CDATA[┌]]>
		                    </TopOpen>
		                    <Top>
			                    <![CDATA[┌]]>
		                    </Top>
		                    <MiddleOpen>
			                    <![CDATA[├]]>
		                    </MiddleOpen>
		                    <Middle>
			                    <![CDATA[├]]>
		                    </Middle>
		                    <BottomOpen>
			                    <![CDATA[└]]>
		                    </BottomOpen>
		                    <Bottom>
			                    <![CDATA[└]]>
		                    </Bottom>
		                </Control>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
					{#t3231#}
					{#ChildRecords#}
				{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
				
				{#Row#}
			]]>
		                </All>
                        </t2794><t3231><If><![CDATA[
						<option value="{#ID#}" selected="selected">{#Control#}{#Name#}</option>
					]]></If><Else><![CDATA[
						<option value="{#ID#}">{#Control#}{#Name#}</option>
					]]></Else></t3231><t3865>
		                <Control>
		                    <Space>
			                    <![CDATA[<span style="margin-left:20px"></span>]]>
		                    </Space>
		                    <Line>
			                    <![CDATA[<img src="{#ImagePath#}tree/line.gif" />]]>
		                    </Line>
		                    <TopOpen>
			                    <![CDATA[<img id="SH{#InnerID#}" onclick="ShowAndHide('{#InnerID#}')" src="{#ImagePath#}tree/top_open.gif" class="ShowHide" />]]>
		                    </TopOpen>
		                    <Top>
			                    <![CDATA[<img src="{#ImagePath#}tree/top.gif" />]]>
		                    </Top>
		                    <MiddleOpen>
			                    <![CDATA[<img id="SH{#InnerID#}" onclick="ShowAndHide('{#InnerID#}')" src="{#ImagePath#}tree/middle_open.gif" class="ShowHide" />]]>
		                    </MiddleOpen>
		                    <Middle>
			                    <![CDATA[<img src="{#ImagePath#}tree/middle.gif" />]]>
		                    </Middle>
		                    <BottomOpen>
			                    <![CDATA[<img id="SH{#InnerID#}" onclick="ShowAndHide('{#InnerID#}')" src="{#ImagePath#}tree/bottom_open.gif" class="ShowHide" />]]>
		                    </BottomOpen>
		                    <Bottom>
			                    <![CDATA[<img src="{#ImagePath#}tree/bottom.gif" />]]>
		                    </Bottom>
		                </Control>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
						<tr id="Row{#InnerID#}" ItemID="{#InnerID#}" ParentID="{#ParentInnerID#}">
							<form>
								<td><img name="{#Name#}" sort="{#InnerID#}" class="Move" src="{#ImagePath#}move.gif" /></td>
								<th><span id="Control{#InnerID#}">{#Control#}</span><input type="text" name="Name" value="{#Name#}" class="{#ContentLang#}Font"></th>
								<td>
									{#t5284#}
								</td>
								<td><input type="image" src="{#ImagePath#}modify.gif" /></td>
								<td><a href="edit.aspx?Lang={#ContentLang#}&amp;CategoryID={#CategoryID#}&amp;ID={#InnerID#}">编辑</a></td>
								<td><a href="">删除</a></td>
							</form>
						</tr>
						{#ChildRecords#}
					{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
					
					{#Row#}
				]]>
		                </All>
                        </t3865><t5284><If><![CDATA[
										显示
									]]></If><Else><![CDATA[
										不显示
									]]></Else></t5284></Template></Data></asp:XmlDataSource></body>
</html>