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

📄 attachform.jsp

📁 jive3.1.4破解版(非源码)
💻 JSP
字号:
<%/** *	$RCSfile: attachform.jsp,v $ *	$Revision: 1.11.2.1 $ *	$Date: 2003/10/03 22:11:34 $ */%><%@ page import="com.jivesoftware.forum.action.AttachAction,                 com.jivesoftware.util.StringUtils,                 com.jivesoftware.forum.AttachmentManager"%><%@ include file="global.jsp" %><%@ taglib uri="webwork" prefix="ww" %><%@ taglib uri="jivetags" prefix="jive" %><%  // Get the action associated with this view:    AttachAction action = (AttachAction)getAction(request);    // Get commonly used objects from it:    AttachmentManager attachManager = action.getAttachmentManager();%><jsp:include page="header.jsp" flush="true" /><script language="JavaScript" type="text/javascript" src="utils.js"></script><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr valign="top">    <td width="98%">        <%-- Breadcrumbs (customizable via the admin tool) --%>        <jsp:include page="breadcrumbs.jsp" flush="true" />        <%-- Page title --%>        <p class="jive-page-title">        <%-- Post Message: Attach Files --%>        <jive:i18n key="attach.title" />        </p>    </td>    <td width="1%"><img src="images/blank.gif" width="10" height="1" border="0"></td>    <td width="1%">        <%@ include file="accountbox.jsp" %>    </td></tr></table><p><%-- Use the form below to attach files to this message. --%><jive:i18n key="attach.description" /></p><ww:if test="hasErrorMessages == true">    <span class="jive-error-text">    <ww:iterator value="errorMessages">        <ww:property />    </ww:iterator>    </span>    <br><br></ww:if><script language="JavaScript" type="text/javascript"><!--var clicked = false;function isClicked() {    if (!clicked) { clicked = true; return true; }    return false;}//--></script><form action="attach!execute.jspa?forumID=<%= action.getForumID() %><%= ((action.getThreadID() != -1L) ? "&threadID="+action.getThreadID() : "") %><%= ((action.getMessageID() != -1L) ? "&messageID="+action.getMessageID() : "") %>&reply=<%= action.isReply() %>" method="post" enctype="multipart/form-data" onsubmit="return isClicked();"><input type="hidden" name="encSubject" value="<%= StringUtils.encodeHex(action.getSubject().getBytes()) %>"><input type="hidden" name="encBody" value="<%= StringUtils.encodeHex(action.getBody().getBytes()) %>"><table cellpadding="3" cellspacing="0" border="0"><%  for (int i=1; i<=attachManager.getMaxAttachmentsPerMessage(); i++) { %>    <tr>        <td>            <%-- File 1 [2, 3, 4 ...]: --%>            <jive:i18n key="attach.file_in_sequence">                <jive:arg>                    <%= i %>                </jive:arg>            </jive:i18n>        </td>        <td>            <input type="file" name="attachFile<%= i %>" size="40">        </td>    </tr>    <%  if (action.getErrors().get("attachFile" + i) != null) { %>        <tr>            <td>&nbsp;</td>            <td>                <span class="jive-error-text">                <%= action.getErrors().get("attachFile" + i) %>                </span>            </td>        </tr>    <%  } %><%  } %></table><br><%-- Attach Files & Post Message --%><input type="submit" name="doAttach" value="<jive:i18n key="attach.attach_post" />"><%-- Cancel --%><input type="submit" name="doCancel" value="<jive:i18n key="global.cancel" />"></form><jsp:include page="footer.jsp" flush="true" />

⌨️ 快捷键说明

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