⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 content.jsp

📁 OBPM是一个开源
💻 JSP
📖 第 1 页 / 共 2 页
字号:
  <tr>
    <td class="list-datas">
      <table width="100%" cellpadding="1" border="0">
        <tr>
          <td width="20%" class="content-label">{*[Encode]*}:</td>
          <td width="75%">
            <html:text styleClass="input-text" property="id" disabled="true"/>
          </td>
          <td width="5%"></td>
        </tr>
        <tr>
          <td width="20%" class="content-label"><div class="field-require">{*[Subject]*}:</div></td>
          <td width="75%">
            <c:choose>
              <c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
                <html:text styleClass="input-text" property="title"/>
              </c:when>
              <c:otherwise>
                <html:text styleClass="input-text" property="title" disabled="true"/>
              </c:otherwise>
            </c:choose>
          </td>
          <td width="5%"></td>
        </tr>
        <tr>
          <td width="20%" class="content-label">{*[Classify]*}:</td>
          <td width="75%">
            <html:text styleClass="input-text" property="groupname" disabled="true"/>
            <html:hidden property="groupid"/>
          </td>
          <td width="5%">
          </td>
        </tr>
        <tr>
          <td width="20%" class="content-label">{*[Author]*}:</td>
          <td width="75%">
            <html:text styleClass="input-text" property="author" disabled="true"/>
            <html:hidden property="authorid"/>
          </td>
          <td width="5%"></td>
        </tr>
        <tr>
          <td width="20%" class="content-label">{*[Department belongs to]*}:</td>
          <td width="75%">
            <html:text styleClass="input-text" property="deparment" disabled="true"/>
            <html:hidden property="deparmentid"/>
          </td>
          <td width="5%"></td>
        </tr>
        <tr>
          <td width="20%" class="content-label">{*[Publish date]*}:</td>
          <td width="75%">
            <c:choose>
              <c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
            <html:text styleClass="input-text" property="publishtime"/>
              </c:when>
              <c:otherwise>
            <html:text styleClass="input-text" property="publishtime" disabled="true"/>
              </c:otherwise>
            </c:choose>
          </td>
          <td width="5%">
            <c:if test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
              <input type="button" name="btnSelectPublishTime" value="" class="srchbt" onclick="formItem.publishtime.value = selectDate(formItem.publishtime.value);">
            </c:if>
          </td>
        </tr>
        <tr>
          <td width="20%" class="content-label">{*[Header info]*}:</td>
          <td width="75%">
            <c:choose>
              <c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
                <html:checkbox styleClass="input-check" property="reorder"  value="0" onclick="doDisplay()"/>
              </c:when>
              <c:otherwise>
                <html:checkbox styleClass="input-check" property="reorder"  value="0" disabled="true" onclick="doDisplay()"/>
              </c:otherwise>
            </c:choose>
          </td>
        </tr>
       <tr><td colspan="3">
        <tr>
          <td width="20%" class="content-label">{*[Homepage title picture]*}:</td>
          <td width="75%">
            <html:text styleClass="input-text" property="picturepath" disabled="true"/>
          </td>
          <td width="5%">
            <c:if test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
              <input type='button' name='btnSelectDept' value='' class='srchbt' onclick='formItem.picturepath.value=uploadFile()'>
            </c:if></td>
        </tr>
      <tr>
          <td width="20%" class="content-label">{*[Brief]*}:</td>
          <td width="75%">
            <c:choose>
              <c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
                <html:textarea styleClass="input-area" rows="3" property="simplecontent"/>
              </c:when>
              <c:otherwise>
                <html:text styleClass="input-area" property="simplecontent" disabled="true"/>
              </c:otherwise>
            </c:choose>
          </td>
          <td width="5%"></td>
        </tr>
        <tr>
          <td width="20%" class="content-label">{*[Related news]*}:</td>
          <td width="75%">
            <c:choose>
              <c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
                <html:text styleClass="input-text" property="relatenews"/>
              </c:when>
              <c:otherwise>
                <html:text styleClass="input-text" property="relatenews" disabled="true"/>
              </c:otherwise>
            </c:choose>
          </td>
          <td width="5%"></td>
        </tr>        
     <td>
</tr>
<tr><td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="tabInput">
<c:forEach var="item" items="${InfoForm._attachment}" varStatus="status">
<c:if test="${status.last}">
    <c:set var="num" value="${status.count}"/>
</c:if>
     <tr>
        <td>
        <table width='100%'  border='0' cellspacing='0' cellpadding='1'>
        <tr>
          <td width="20%" class="content-label">{*[Attachment]*}<c:out value="${status.count}"/>:</td>
          <td width="75%">
            <input type="text" class="input-text" name="attachment<c:out value='${status.count}'/>" value="<c:out value='${item}'/>" disabled="true"/>
          </td>
          <td width="5%">
            <c:if test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
              <input type='button' name='btnSelectDept' value='' class='srchbt' onclick='formItem.attachment<c:out value="${status.count}"/>.value=uploadFile()'>
            </c:if></td>
        </tr>
        </table>
       </td>
    </tr>
</c:forEach>
</table></td></tr>
<input type="hidden" name="attachmentnum" value="<c:out value='${num}' default='0'/>" >
        <c:if test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
        <tr>
           <td colspan="3"><font style="cursor:hand;" onclick="vbscript:instabInput">{*[Add attachment]*}</font></td>
        </tr>
        </c:if>
      </table></td>
  </tr>
</table>
</td></tr>
<tr id="CONTEXT"><td>
<%if (DefaultProperty.getProperty("WEB_EDITOR").trim().equals("WORD")) {%>
<table width="100%" border="0" cellspacing="4" cellpadding="4" align="top">
  <tr>
    <td class="list-datas" valign="top">
      <table width="100%" cellpadding="1" border="0">
        <tr>
          <td colspan="3" height="400">
            <object id="TANGER_OCX" classid="clsid:C9BC4DFF-4248-4a3c-8A49-63A7D317F404" codebase="../OfficeControl.cab#version=2,3,0,1" width="100%" height="100%">
              <param name="ProductCaption" value="广宁县政府">
              <param name="ProductKey" value="76881B445C0B32D6C01DF9494B74F261">
              <param name="BorderStyle" value="1">
              <param name="BorderColor" value="14402205">
              <param name="TitlebarColor" value="14402205">
              <param name="TitlebarTextColor" value="0">
              <param name="Caption" value="{*[Form]*}">
              <param name="IsShowToolMenu" value="-1">
              <param name="IsNoCopy" value="-1">
              <SPAN STYLE="color:red">{*[Can't load document, please check security set up of your browser]*}。</SPAN>
            </object>
            <!-- {*[Two events of the function]*}:OnDocumentClosed,和OnDocumentOpened -->
            <script language="JScript" for=TANGER_OCX event="OnDocumentClosed()">
              TANGER_OCX_OnDocumentClosed();
            </script>
            <script language="JScript" for=TANGER_OCX event="OnDocumentOpened(TANGER_OCX_str, TANGER_OCX_obj)">
              TANGER_OCX_OnDocumentOpened(TANGER_OCX_str,TANGER_OCX_obj);
            </script>
          </td>
        </tr>
     </table>
    </td>
  </tr>
</table>
<%}%>
<%if (DefaultProperty.getProperty("WEB_EDITOR").trim().equals("EWEBEDITOR")) {%>
<table width="100%" border="0" cellspacing="4" cellpadding="4" align="top">
  <tr>
    <td class="list-datas" valign="top">
      <table width="100%" cellpadding="1" border="0">
        <tr>
          <td colspan="3" height="400">
          <c:choose>
              <c:when test="${!empty param.ISEDIT and param.ISEDIT eq 'TRUE'}" >
                  <c:choose>
                   <c:when test="${id eq '0'}">
                      <INPUT type="hidden" name="ewebcontent" value='<c:out value=""/>'>
                    </c:when>   
                    <c:otherwise>
                      <INPUT type="hidden" name="ewebcontent" value="<c:out value='${info.ewebcontent}'/>">
		            </c:otherwise>
                  </c:choose>
		        <IFRAME ID="eWebEditor1" src="<%=contextPath%>/info/info/eWebEditor.jsp?id=ewebContent&style=standard" frameborder="0" scrolling="no" width="650" height="350"></IFRAME>
              </c:when>
              <c:otherwise>
                 <div><%= ((InfoVO)request.getAttribute("info")).getEwebcontent() %></div>
              </c:otherwise>
            </c:choose>
          </td>
        </tr>
     </table>
    </td>
  </tr>
</table>
<%}%>
</td></tr>
<s:KeepCondition form="formItem"/>
</html:form>
</table>


<script language="vbscript">
	function instabInput()
		dim oTab,oRow,oCell,sss,i

		set oTab=eval("tabInput")
		i=oTab.rows.length+1
		set oRow=oTab.insertRow
		set oCell=oRow.insertcell
    ss="<table width='100%'  border='0' cellspacing='0' cellpadding='1'><tr><td width='20%' class='content-label'>{*[Attachment]*}"&i&":</td>"
    ss=ss+"<td width='75%'><input type='text' class='input-text' name='attachment"&i&"' disabled='true'></td>"
    ss=ss+"<td width='5%'><input type='button' name='btnSelectDept' value='' class='srchbt' onclick='formItem.attachment"&i&".value=uploadFile()'></td></tr></table>"
		oCell.innerhtml=ss
		set oCell=oRow.insertcell
    ss="&nbsp;"
		oCell.innerhtml=ss
		formItem.attachmentnum.value=i
	end function
</script>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -