📄 post_seccode.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<jsp:include flush="true" page="header.jsp" />
<div id="nav"><a href="${settings.indexname}">${settings.bbname}</a> ${navigation}» <c:choose><c:when test="${action=='newthread'}">发新话题</c:when><c:when test="${action=='reply'}">发表回复</c:when></c:choose></div>
<form id="seccodeform" method="post" action="${path}" enctype="multipart/form-data">
<input type="hidden" name="formhash" value="${formhash}" />
<input type="hidden" name="usesig" value="${usesig}" />
<input type="hidden" name="subject" value="${subject}" />
<input type="hidden" name="message" value="${message}" />
<div class="mainbox formbox">
<c:if test="${seccodecheck}">
<table summary="请输入验证码以便最终发表" cellspacing="0" cellpadding="0">
<thead><tr><th>请输入验证码以便最终发表</th><td> </td></tr></thead>
<tr><th>验证码</th><td><div id="seccodeimage">点击输入框显示验证码</div> <input type="text" onfocus="updateseccode();this.onfocus = null" id="seccodeverify" name="seccodeverify" size="8" maxlength="4" /> 如果看不清验证码,请点图片刷新<script type="text/javascript">var seccodedata = [${seccodedata['width']}, ${seccodedata['height']}, ${seccodedata['type']}];</script></td></tr>
</table>
</c:if>
<c:if test="${secqaacheck}">
<table summary="请回答下面的问题以便最终发表" cellspacing="0" cellpadding="0">
<thead><tr><th>请回答下面的问题以便最终发表</th><td> </td></tr></thead>
<tr><th>验证问答</th><td><div id="secquestion"></div> <input type="text" name="secanswer" size="25" maxlength="50"><script type="text/javascript">ajaxget('ajax.do?action=updatesecqaa', 'secquestion');</script></td></tr>
</table>
</c:if>
<c:if test="${allowpostattach}">
<table summary="上传附件" cellspacing="0" cellpadding="0">
<thead><tr><th>上传附件</th><td><c:choose><c:when test="${maxattachsize>0}">小于 ${maxattachsize} kb </c:when><c:otherwise>大小不限制</c:otherwise></c:choose><c:if test="${attachextensions!=''}">, 可用扩展名: ${attachextensions}</c:if></td></tr></thead>
<tr>
<th> </th>
<td>
<table summary="" cellpadding="0" cellspacing="0">
<tbody id="attachbody" style=""><tr><td><c:if test="${usergroups.allowsetreadperm>0}">阅读权限: <input type="text" name="attachperm[]" value="0" size="1" /> </c:if>描述: <input type="text" name="attachdesc[]" size="15" /> 附件: <input type="file" name="attach1" size="15" /></td></tr></tbody>
<tr>
<td style="border: none;">
<button type="button" onclick="newnode = $('attachbody').firstChild.cloneNode(true); newnode.firstChild.childNodes[1].value = ''; newnode.firstChild.childNodes[3].value = ''; $('attachbody').appendChild(newnode)"> + </button>
<button type="button" onclick="$('attachbody').childNodes.length > 1 && $('attachbody').lastChild ? $('attachbody').removeChild($('attachbody').lastChild) : 0;"> - </button>
</td>
</tr>
</table>
</td>
</tr>
</table>
</c:if>
<table><tr><th> </th><td><button class="submit" type="submit">提交</button></td></tr></table>
</div>
</form>
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -