- <%@ 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="/scripts/datechoice.js"></SCRIPT><SCRIPT LANGUAGE="JavaScript" src="/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.revisable.value != "1"){
- form.revisable.value="0" ;
- }
- document.all.description.value = document.all.content.value ;
- var isSubmit = false ;
- if(form.uploadFile.value != "") {
- form.havefile.value = "1" ;
- }
- if(!isSubmit) {
- isSubmit = true ;
- return true ;
- }
- }
- -->
- </script>
- </head>
- <body>
- <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);">
- <html:hidden property="id"/>
- <html:hidden property="serialnumber" />
- <html:hidden property = "parentid" />
- <html:hidden property = "revisable" />
- <html:hidden property = "level" />
- <html:hidden property = "ifinter" />
- <html:hidden property = "numback" />
- <html:hidden property = "strback" />
- <html:hidden property = "havefile" />
- <html:hidden property = "filename" />
- <html:hidden property="pageCurrent"/>
- <input type="hidden" name="from" value='<c:out value="${from}"/>'>
- <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%">
- <html:text property = "status" size="20" maxlength = "20"/>(1表示发表,其它数字表示不发表)</td>
- </tr>
- <tr class="td">
- <td width="10%" align="center" colspan="2" nowrap>
- <textarea name="description" style="display:none"></textarea>
- <textarea name="content" style="display:none"><c:out value="${plateForm.description}" /></textarea><iframe ID="eWebEditor1" src="../editor/index.jsp?id=content&style=s_newssystem&originalfilename=d_originalfilename&savefilename=d_savefilename&savepathfilename=d_savepathfilename" frameborder="0" scrolling="no" width="666" HEIGHT="450"></iframe>
- </td>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>目标:(最多50字符)</td>
- <td align="left" width="60%">
- <html:text property="target" size="40" maxlength = "50"/></td>
- </tr>
- <tr class="td">
- <td align="left" width="40%" nowrap>连接:(最多255字符)</td>
- <td align="left" width="60%">
- <html:text property="url" size="40" maxlength = "255"/></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>
- <tr class="td">
- <td align="left" width="40%" nowrap>浏览者分类:(最多50字符)</td>
- <td align="left" width="60%">
- <html:text property="mansort" size="40" maxlength = "50"/></td>
- </tr>
- <tr class="td"><td colspan="2" align=center><html:submit property="yes" styleClass="button" value="确定"/></td></tr>
- </html:form>
- </table>
- </body>
- </html>