<%@ Page  CodeFile="/cache/template/System/IlgharCMS.SystemModule/channel/add.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 = "channel_add";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _channelLang = _lang;
var _xmlChannel;
var _xmlTemplate;
var _xmlSkin;
var _uploadLogo = false;
var _uploadLink = false;
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_start_upload_logo = "开始上传栏目Logo...";
var _lang_uploading_logo = "开始上传栏目Logo...";
var _lang_start_upload_link = "开始上传链接Logo...";
var _lang_uploading_link = "开始上传链接Logo...";
var _lang_name_empty = "名称不能空！";
var _lang_logo_type_must_be = "栏目Logo类型应为：";
var _lang_link_type_must_be = "链接Logo类型应为：";
var _lang_path_incorrect = "路径格式不正确！";
var _lang_innerid_fail = "获取InnerID失败！";
var _lang_path_tip1 = "首页，则留空。其它必须以斜杠（/）结尾，路经不能重复！";
var _lang_path_tip2 = "必须以http://开头";
var _lang_loading_template_list = "正在获取模板列表...";
var _lang_loading_skin_list = "正在获取皮肤列表...";
var _lang_loading_channel_list = "正在获取栏目列表...";
var _lang_uyl = "维吾尔拉丁文";
var _lang_uyc = "维吾尔西里尔文";
var _lang_kgc = "柯尔克孜西里尔文";
var _lang_cht = "繁体中文";
var _lang_name_empty = "请输入名称！";
var _lang_select_template = "请选择模板！";
var _lang_select_skin = "请选择皮肤！";
var _lang_select_instance = "请选择实例！";
var _lang_loading_innerid = "正在获取InnerID...";
var _lang_path_exist = "路径已经存在！";
var _lang_path_incorrect = "路径格式不正确！";
</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"></li>
		<li class="Middle"><a href="list.aspx?Lang=<%=ContentLang%>">栏目列表</a></li>
		<li class="Right"></li>
		<li class="Left Selected"></li>
		<li class="Middle Selected">添加栏目</li>
		<li class="Right Selected"></li>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<form>
		<table border="0" cellpadding="4" cellspacing="1">
			<tfoot>
				<tr>
					<td colspan="2">
						<input type="submit" value="添加" />
					</td>
				</tr>
			</tfoot>
			<tbody>
				<tr>
					<th width="120">类型：</th>
					<td>
						<input type="radio" name="Type" id="FunctionalChannel" checked="checked" /><label for="FunctionalChannel">功能栏目</label>
						<input type="radio" name="Type" id="NonFunctionalChannel" /><label for="NonFunctionalChannel">非功能栏目</label>
						<input type="radio" name="Type" id="OuterLink" /><label for="OuterLink">外部链接</label>
					</td>
				</tr>
				<tr>
					<th>实例：</th>
					<td>
						<%=t3664%>
					</td>
				</tr>
				<tr>
					<th>父栏目：</th>
					<td>
						<select name="ParentID" class="<%=ContentLang%>Font">
							<option value="">未指定</option>
						</select>
					</td>
				</tr>
				<tr>
					<th>名称：</th>
					<td><input type="text" name="Name" maxlength="50" class="Text <%=ContentLang%>Font" /></td>
				</tr>
				<tr>
					<th>路径：</th>
					<td><input type="text" name="Path" size="40" maxlength="50" class="Text" /><br /><span id="PathTip">首页，则留空。其它必须以斜杠（/）结尾，路经不能重复！</span></td>
				</tr>
				<tr>
					<th>模板：</th>
					<td>
						<img id="Thumbnail" width="50" height="50" alt="预览" style="float:left;margin-right:5px" />
						<select name="TemplatePath" class="Text" style="width:150px"></select><br /><br />
						<select name="SkinPath" class="Text" style="width:150px"></select>
						<input type="hidden" name="TemplateLang" value="<%=ContentLang%>" />
					</td>
				</tr>
				<tr>
					<th>是否动态模板：</th>
					<td>
						<input type="radio" name="IsDynamicTemplate" id="IsDynamicTemplateYes" /><label for="IsDynamicTemplateYes">是</label>
						<input type="radio" name="IsDynamicTemplate" id="IsDynamicTemplateNo" checked="checked" /><label for="IsDynamicTemplateNo">否</label>
						<br />
						<span id="DynamicTemplateID" style="display:none">标识：<input type="text" name="DynamicTemplateID" size="50" />可以空。可以通过正则表达式从URL中抽取标识。匹配组名称为“ID”。</span>
					</td>
				</tr>
				<tr>
					<th>智能翻译成：</th>
					<td>
						<select name="TranslateLang">
							<option value="">未指定</option>
						</select>
						<span id="MatchSpan" style="display:none"><input type="checkbox" id="Match" /><label for="Match">匹配</label></span>
					</td>
				</tr>
				<tr>
					<th>是否生成：</th>
					<td>
						<input type="radio" name="Generate" id="GenerateYes" /><label for="GenerateYes">是</label>
						<input type="radio" name="Generate" id="GenerateNo" checked="checked" /><label for="GenerateNo">否</label>
					</td>
				</tr>
				<tr>
					<th>默认文档（首页）：</th>
					<td><input type="text" name="DefaultDocument" value="index" size="15" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>扩展名：</th>
					<td><input type="text" name="Extension" value=".aspx" size="10" maxlength="50" class="Text" /></td>
				</tr>
				<tr>
					<th>域名：</th>
					<td>
						<input type="text" name="Domain" size="40" maxlength="50" class="Text" /><br />
						以http://开头，以斜杠（/）结束，可以包含子目录。可绑定多个域名，多域名用“|”隔开。
					</td>
				</tr>
				<tr>
					<th>公告：</th>
					<td><textarea type="text" name="Notice" cols="60" rows="4" wrap="off" class="Text"></textarea></td>
				</tr>
				<tr>
					<th>脚注（版权信息）：</th>
					<td><textarea type="text" name="Footer" cols="60" rows="4" wrap="off" class="Text"></textarea></td>
				</tr>
				<tr>
					<th>ICP备案号：</th>
					<td><input type="text" name="ICP" size="40" class="Text" /></td>
				</tr>
				<tr>
					<th>统计代码：</th>
					<td><textarea type="text" name="StatisticsCode" cols="60" rows="2" wrap="off" class="Text"></textarea></td>
				</tr>
				<tr>
					<th>栏目Logo：</th>
					<td>
						<input id="LogoTextbox" type="text" name="Logo" size="60" class="Text" />
						<input id="LogoBrowse" type="button" value="浏览..." />
						<input type="hidden" name="LogoAllowedType" value="gif|jpg|jpeg|png|bmp|png" />
						<img height="22" id="LogoView" alt="栏目Logo" style="vertical-align:bottom" />
					</td>
				</tr>
				<tr>
					<th>链接Logo：</th>
					<td>
						<input id="LinkTextbox" type="text" name="Link" size="60" class="Text" />
						<input id="LinkBrowse" type="button" value="浏览..." />
						<input type="hidden" name="LinkAllowedType" value="gif|jpg|jpeg|png|bmp|png" />
						<img height="22" id="LinkView" alt="链接Logo" style="vertical-align:bottom" />
					</td>
				</tr>
				<tr>
					<th>Meta：</th>
					<td>
						Keywords：<input type="text" name="MetaKeywords" size="20" maxlength="255" class="Text <%=ContentLang%>Font" />
						Description：<input type="text" name="MetaDescription" size="20" maxlength="255" class="Text <%=ContentLang%>Font" />
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<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="<%=Manager.GetModulePath(null)%><%=Instance[IlgharCMS.SystemModule.Alias.Module.Namespace]%>/alias.js"></script>
<script type="text/javascript" src="<%=CommonPath%>uploader.js"></script>
<script type="text/javascript" src="<%=CommonPath%>xmldom.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.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><t3664>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
									<option value="{#ID#}" ModuleID="{#ModuleID#}">{#Name#}</option>
								{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
							<select name="InstanceID" class="{#t3757#}Font">
								{#Row#}
							</select>
						]]>
		                </All>
                        </t3664></Template></Data></asp:XmlDataSource></body>
</html>