<%--
/** Title:			wizard_step_1.jsp
 *  Description:
 *		置标向导 第一步
 *  Copyright: 		www.trs.com.cn
 *  Company: 		TRS Info. Ltd.
 *  Author:			CH
 *  Created:		2005-04-30 15:52:00
 *  Vesion:			1.0
 *  Last EditTime:	2005-04-30 / 2005-04-30
 *	Update Logs:
 *		WSW@2005-5-16  产生此文件
 *		WSW@2005-12-21 删除TRS_RECPATH置标
 *
 *  Parameters:
 *
 */
--%>

<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" errorPage="../include/error.jsp"%>
<%@ page import="java.util.Collection" %>
<%@ page import="java.util.Iterator" %>
<!------- WCM IMPORTS BEGIN ------------>
<%@ page import="com.trs.presentation.locale.LocaleServer" %>
<!------- WCM IMPORTS END ------------>

<!--- 页面状态设定、登录校验、参数获取，都放在public_server.jsp中 --->
<%@include file="../include/public_server.jsp"%>
<%!boolean IS_DEBUG = false;%>

<%
//4.初始化(获取数据)
	int nType = currRequestHelper.getInt("Type", 10);

//5.权限校验

//6.业务代码
	
//7.结束
	out.clear();
%>

<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>TRS WCM 5.2 置标向导 第一步::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::</TITLE>
<BASE TARGET="_self">
<LINK href="../style/style.css" rel="stylesheet" type="text/css">
<%@include file="../include/public_client_normal.jsp"%>
<SCRIPT LANGUAGE="JavaScript">
function setType(_nValue){
	switch(_nValue){
	case "10":
	case "20":
	case "30":
	default:
	}
}
function submitForm(){
	var frmData = document.frmData;
	frmData.submit();
}
</SCRIPT>
</HEAD>

<BODY>
<TABLE width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD height="25">
	<SCRIPT src="../js/CWCMDialogHead.js"></SCRIPT>
	<SCRIPT LANGUAGE="JavaScript">
		WCMDialogHead.draw("置标向导 第一步");
	</SCRIPT>
</TD>
</TR>
<TR>
<TD align="center" valign="top" class="tanchu_content_td">
<FORM NAME="frmData" ID="frmData" onSubmit="" action="../template/wizard_step_2.jsp">
	<TABLE width="100%" border="0" cellspacing="0" cellpadding="10">
	<TR>
	<TD class="tanchu_content">
		<FIELDSET>
			<LEGEND><B>[频道类置标]</B></LEGEND>
			<TABLE width="100%" border="0" cellspacing="2" cellpadding="0">
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="30" <%=(nType==30)?"checked":""%>>频道列表 (TRS_CHANNELS)</TD>
				</TR>
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="40" <%=(nType==40)?"checked":""%>>频道信息 (TRS_CHANNEL)</TD>
				</TR>
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="70" <%=(nType==70)?"checked":""%>>当前位置 (TRS_CURPAGE)</TD>
				</TR>
			</TABLE>
		</FIELDSET><P></P>
		<FIELDSET>
			<LEGEND><B>[文档类置标]</B></LEGEND>
			<TABLE width="100%" border="0" cellspacing="2" cellpadding="0">
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="10" <%=(nType==10)?"checked":""%>>文档列表 (TRS_DOCUMENTS)</TD>
				</TR>
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="50" <%=(nType==50)?"checked":""%>>文档信息 (TRS_DOCUMENT)</TD>
				</TR>
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="20" <%=(nType==20)?"checked":""%>>相关文档 (TRS_RELNEWS)</TD>
				</TR>
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="80" <%=(nType==80)?"checked":""%>>发布日期 (TRS_DATETIME)</TD>
				</TR>
			</TABLE>
		</FIELDSET><P></P>
		<FIELDSET>
			<LEGEND><B>[附件类置标]</B></LEGEND>
			<TABLE width="100%" border="0" cellspacing="2" cellpadding="0">
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="60" <%=(nType==60)?"checked":""%>>文档附件 (TRS_APPENDIX)</TD>
				</TR>
			</TABLE>
		</FIELDSET><P></P>
		<FIELDSET>
			<LEGEND><B>[其它置标]</B></LEGEND>
			<TABLE width="100%" border="0" cellspacing="2" cellpadding="0">
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="90" <%=(nType==90)?"checked":""%>>替换内容 (TRS_REPLACE)</TD>
				</TR>
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="120" <%=(nType==120)?"checked":""%>>嵌套模板 (TRS_TEMPLATE)</TD>
				</TR>
				<!--<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="100" <%=(nType==100)?"checked":""%>>记录路径 (TRS_RECPATH)</TD>
				</TR>-->
				<TR>
					<TD align="left"><INPUT TYPE="radio" NAME="Type" onclick="setType(this.value)" value="110" <%=(nType==110)?"checked":""%>>TRS记录 (TRS_RECORD)</TD>
				</TR>
			</TABLE>
		</FIELDSET>
		<TABLE width="100%" border="0" cellspacing="2" cellpadding="0">
		<TR>
			<TD align="left" height="10">&nbsp;</TD>
		</TR>
		</TABLE>
	</TD>
	</TR>
	<TR>
	<TD align="center">
		<script src="../js/CTRSButton.js"></script>
		<script>
			//定义一个TYPE_ROMANTIC_BUTTON按钮
			var oTRSButtons		= new CTRSButtons();
			
			oTRSButtons.cellSpacing	= "0";
			oTRSButtons.nType	= TYPE_ROMANTIC_BUTTON;

			oTRSButtons.addTRSButton("<%=LocaleServer.getString("system.button.next", "下一步")%>", "submitForm()");
			oTRSButtons.addTRSButton("<%=LocaleServer.getString("system.button.cancel", "取消")%>", "window.close();");
			
			oTRSButtons.draw();
		</script>
	</TD>
	</TR>
	</TABLE>
</FORM>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>