- <%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312"%>
- <%@ include file="/common/taglibs.jsp"%>
- <%@ include file="/common/meta.jsp"%>
- <html>
- <head>
- <title>板块属性说明</title>
- <link rel="stylesheet" type="text/css" href="../include/style.css">
- <SCRIPT LANGUAGE="JavaScript" src='<c:url value="/scripts/datechoice.js"/>'></SCRIPT><SCRIPT LANGUAGE="JavaScript" src='<c:url value="/scripts/_js.js"/>'></SCRIPT>
- <META NAME="Author" CONTENT="xunuo">
- <META NAME="Keywords" CONTENT="xunuo">
- <META NAME="Description" CONTENT="自动生成">
- <script language="javascript">
- <!--
- function checkForm(form){
- name_returnStr = XN_CheckNull(form.name.value) ;
- if (name_returnStr != Validationstr){ //不能为空
- XN_alert(er+"名称"+name_returnStr);
- form.name.focus();
- return false;
- }
- if (form.status.value != "1"){
- form.status.value="0" ;
- }
- if (form.havefile.value != "1"){
- form.havefile.value="0" ;
- }
- if (form.revisable.value != "1"){
- form.revisable.value="0" ;
- }
- var isSubmit = false ;
- if(form.uploadFile.value != "") {
- form.havefile.value = "1" ;
- }
- if(!isSubmit) {
- isSubmit = true ;
- return true ;
- }
- }
- function dodel(form) {
- if(!confirm("删除此栏目下面所有栏目和条目,是否删除此栏目?")){
- return;
- }
- form.action = '<c:url value="/sys/plate/deletePlate.html"/>';
- form.method.value = "";
- form.onsubmit = "";
- form.submit();
- }
- function cancelValue(form) {
- // form.action = '<c:url value="/sys/plate/searchPlate.html"/>';
- // form.method.value = "searchPlatesByConditions";
- // form.onsubmit = "";
- //form.submit();
- window.history.go(-1);
- }
- -->
- </script>
- </head>
- <body>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="2" bgcolor="#f6f6f6" align="right" style="cursor:hand" onClick="if(HelpTab.style.display=='none'){HelpTab.style.display='';window.scrollTo(window.pageXOffset,0);}else{HelpTab.style.display='none'}"> <img src='<c:url value="/sys/images/why.gif"/>' width="14" height="14">
- ::Help::</td>
- </tr>
- <tr Id="HelpTab" style="display:none">
- <td width="2%"> </td>
- <td width="98%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="10" width="10"></td>
- <td></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:连接</b></td>
- </tr>
- <tr>
- <td></td>
- <td>当此栏目需要跳转到其他页面时,请在此直接输入页面地址,例如:http://www.e-v.com.cn/index.asp<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:目标</b></td>
- </tr>
- <tr>
- <td></td>
- <td>当填写连接后才有作用,选择打开页面是否在本窗口(当前页面)或新窗口(另打开一页面)<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:是否添加到反馈单位</b></td>
- </tr>
- <tr>
- <td></td>
- <td>用户前台反馈意见时可以针对某一单位(政府部门网站下级栏目,并且只针对此栏目下面栏目有效),当添加了反馈单位后,信息反馈时即可出现反馈目的单位。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:浏览者分类</b></td>
- </tr>
- <tr>
- <td></td>
- <td>电子政务门户网站需要按照浏览者分类显示栏目,只需要在修改记录时选择此项即可。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:显示在导航条</b></td>
- </tr>
- <tr>
- <td></td>
- <td>当栏目为一级栏目时,添加修改项将出现“显示在导航条”选项,如果显示,表示在网站导航条上显示。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>名词说明:栏目显示方式</b></td>
- </tr>
- <tr>
- <td></td>
- <td>分为两种:显示内容--<a href='<c:url value="/common/content.jpg" />' target="_blank"><b>显示内容效果</b></a>,内容为当前栏目的说明;显示栏目--<a href='<c:url value="/common/column.jpg" />' target="_blank"><b>显示栏目效果</b></a>,栏目为当前栏目下面的子栏目。根据贵网站的需要设定。<p></td>
- </tr>
- <tr>
- <td>·</td>
- <td><b>功能说明:删除</b></td>
- </tr>
- <tr>
- <td></td>
- <td>删除栏目后不可恢复,删除栏目后会将栏目下面的栏目及其文章、图片等等一切都删除,请慎重!<p></td>
- </tr>
- </table>
- <a name="Help"></a></td>
- </tr>
- </table>
- <table border="0" cellpadding="4" cellspacing="1" class=table width="100%">
- <html:form action="/sys/plate/savePlate.html" enctype="multipart/form-data" onsubmit="return checkForm(this);">
- <input type="hidden" name="from" value='<c:out value="${from}"/>'>
- <html:hidden property="id"/>
- <html:hidden property="serialnumber" />
- <html:hidden property = "parentid" />
- <!--<html:hidden property = "revisable" />-->
- <html:hidden property = "level" />
- <html:hidden property = "havefile" />
- <html:hidden property = "filename" />
- <html:hidden property = "revisable" />
- <html:hidden property="pageCurrent"/>
- <input type="hidden" name="method" value="save"/>
- <xunuo:get var="xn" columnid="zfbmid" />
- <tr>
- <td colspan=7 style="background-color:#eeeeee" >栏目:<c:forEach var="columnLink" items="${plateLink}">>><c:out value="${columnLink.name}" /><c:if test="${columnLink.ifindex == '0'}" ><c:set var="ifindex" value="false" /></c:if></c:forEach></td>
- </tr>
- <tr>
- <th width="100%" align="center" colspan="2">板块属性说明</th>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>名称:(√)(最多255字符)</td>
- <td align="left" width="60%">
- <html:text property="name" size="40" maxlength = "255"/></td>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>状态:(最多20字符)</td>
- <td align="left" width="60%"><select name="status"><option value="1" <c:if test="${plateForm.status==1}"><c:out value="selected" /></c:if> >发布</option><option value="0" <c:if test="${plateForm.status==0}"><c:out value="selected" /></c:if>>不发布</option></select>
- </td>
- </tr>
- <tr class="td">
- <td width="10%" align="center" colspan="2" nowrap>
- <html:textarea property="content" styleClass="input_text" style="display: none"/>
- <c:if test="${isGuest}">内容:<br><c:out value="${plateForm.content}" escapeXml="false"/><br>
- </c:if>
- <c:if test="${!isGuest}">
- <iframe ID="eWebEditor1" src='<c:url value="/sys/editor/index.jsp"/>?id=content&style=s_newssystem&originalfilename=d_originalfilename&savefilename=d_savefilename&savepathfilename=d_savepathfilename' frameborder="0" scrolling="no" width="100%" HEIGHT="300"></iframe>
- </c:if>
- </td>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>连接:(最多255字符)</td>
- <td align="left" width="60%">
- <html:text property="url" size="20" maxlength = "255"/> 目标:<select name="target"><option value="_self" <c:if test="${plateForm.target=='_self'}"><c:out value="selected" /></c:if>>本窗口</option><option value="_blank" <c:if test="${plateForm.target=='_blank'}"><c:out value="selected" /></c:if> >新窗口</option></select></td>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>图片:(最多255字符)</td>
- <td align="left" width="60%">
- <html:file property="uploadFile" size="20"/>
- <c:if test="${plateForm.havefile != null && plateForm.havefile != 0 &&plateForm.id != null && plateForm.id != '' && plateForm.filename != '' && plateForm.filename != null}">
- <a href='<c:url value="${filename}"/>' target="_blank"><img src='<c:url value="${filename}"/>' border="0" width="50" height="50"></a><input type="button" value="删除图片" onclick="havefile.value=0;alert('按确定后才生效!')"/>
- </c:if>
- </td>
- </tr>
- <!--当inindex为0 时,表示不在导航条上显示,则没有如下选项-->
- <!--当为政府部门时才有此类-->
- <c:if test="${plateForm.parentid == xn.id}" ><tr class="td">
- <td align="left" width="40%" nowrap>加入反馈分类:</td>
- <td align="left" width="60%">
- <select name="ifinter"><option value="0" <c:if test="${plateForm.ifinter==0}"><c:out value="selected" /></c:if>>不添加</option><option value="1" <c:if test="${plateForm.ifinter==1}"><c:out value="selected" /></c:if> >添加</option></select>
- </td>
- </tr>
- </c:if>
- <!--只有一级栏目可以选择-->
- <c:if test="${plateForm.parentid == '0'}" > <tr class="td">
- <td align="left" width="40%" nowrap>显示在导航条:</td>
- <td align="left" width="60%">
- <select name="ifindex"><option value="0" <c:if test="${plateForm.ifindex==0}"><c:out value="selected" /></c:if>>不显示</option><option value="1" <c:if test="${plateForm.ifindex==1}"><c:out value="selected" /></c:if> >显示</option></select>
- </td>
- </tr></c:if>
- <tr class="td">
- <td align="left" width="40%" nowrap>浏览者分类:(最多50字符)</td>
- <td align="left" width="60%">
- <select name="mansort" >
- <option value="">不按浏览者分类</option>
- <c:forEach var ="browser" items="${borwsersList}">
- <option value='<c:out value="${browser.id}" />' <c:if test="${browser.id==plateForm.mansort}"><c:out value=" selected " /></c:if>><c:out value="${browser.browser}" /></option>
- </c:forEach>
- </select>
- </td>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>栏目显示方式:</td>
- <td align="left" width="60%"><select name="showtype">
- <option value="0" <c:if test="${plateForm.showtype==0}"><c:out value="selected" /></c:if>>显示内容</option>
- <option value="1" <c:if test="${plateForm.showtype==1}"><c:out value="selected" /></c:if>>显示栏目</option>
- <!-- <option value="2" <c:if test="${plateForm.showtype==2}"><c:out value="selected" /></c:if>>显示内容+栏目</option>-->
- </select>(查看效果<a href='<c:url value="/common/content.jpg" />' target="_blank">显示内容</a>|<a href='<c:url value="/common/column.jpg" />' target="_blank">显示栏目</a>)</td>
- </tr>
- <tr class="td"><td colspan="2" align=center><input type="submit" Class="button" value="确定" <c:if test="${isGuest}">disabled</c:if>/> <c:if test="${plateForm.id != '' && plateForm.id != null && plateForm.revisable=='1'}"><input type="button" value=" 删除 " class="button" onClick="dodel(this.form);" <c:if test="${isGuest}">disabled</c:if>></c:if> <input type="button" value=" 取消 " onclick="cancelValue(this.form);" class="button" ></td></tr>
- </html:form>
- </table>
- </body>
- </html>