📄 quicksendtopic.tag
字号:
<%-- 快速发表帖子 --%>
<%@ tag pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="templates/default/common.js"></script>
<div id="bbs-list-nav">
<div id="bbs-title">
<h3>快速发布主题</h3>
</div>
<form method="post" name="postform" id="postform" action="${pageContext.request.contextPath }/cposttopic.htm?sid=${param['sid'] }" enctype="multipart/form-data" onsubmit="return validate(this);">
<div id="form-Tbody" style="border-bottom:0px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="border-bottom:1px solid #D1E1EF;width: 178px; text-align: right; line-height: 150%;border-right:1px solid #E6EEF7;">
<span style="margin-right:6px;">标题</span>
</td>
<td style="border-left:1px solid #fff;border-bottom:1px solid #D1E1EF;padding-left:10px;">
<input type="text" id="title" name="title" size="85" tabindex="1" value="" class="colorblue" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';">
</td>
</tr>
<tr>
<td style="width:178px;text-align:left;line-height:150%;border-right:1px solid #E6EEF7;"><span style="padding-left:18px;">
<input type="checkbox" value="1" name="forbideurl" ID="forbideurl"
> 禁用 URL 识别</span><br />
<span style="padding-left:18px;"><input type="checkbox" value="1" name="forbidesmile" ID="forbidesmile"
> 禁用 Smilies</span><br />
<span style="padding-left:18px;"><input type="checkbox" value="1" name="forbidegerweb" ID="forbidegerweb"
> 禁用 GerWeb! 代码</span><br/>
<span style="padding-left:18px;"><input type="checkbox" value="1" name="usesign" ID="usesign"
> 使用个人签名</span>
</td>
<td style="padding-left:8px;border-left:1px solid #fff;text-align:left;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin:2px;">
<tr>
<td>
<textarea rows="7" cols="10" name="message" id="message" style="word-break: break-all;width:99%;height:118px;border:1px solid #B4C9E0;" onKeyDown="ctlent(event);" tabindex="2" class="autosave colorblue" onfocus="this.className='autosave colorfocus';" onblur="this.className='autosave colorblue';" ></textarea><br />
</td>
<td>
<div id="posteditor_smiliebox" class="editer-smile"></div>
<script type="text/javascript">
var textobj = $('message');
var lang = new Array();
if (is_ie >= 5 || is_moz >= 2) {
window.onbeforeunload = function () {
saveData(textobj.value);
};
lang['post_autosave_none'] = "没有可以恢复的数据";
lang['post_autosave_confirm'] = "本操作将覆盖当前帖子内容,确定要恢复数据吗?";
}
else {
$('restoredata').style.display = 'none';
}
var bbinsert = parseInt('1');
var smileyinsert = parseInt('1');
var editor_id = 'posteditor';
var smiliesCount = 9;
var colCount = 3;
var showsmiliestitle = 0;
var smiliesIsCreate = 0;
var smilies = [[1,':)','smile.gif'],[2,':(','sad.gif'],[3,':D','biggrin.gif'],
[4,':\'(','cry.gif'],[5,':@','huffy.gif'],[6,':P','shocked.gif'],
[7,':)','tongue.gif'],[8,':$','shy.gif'],[9,';P','titter.gif'],
[10,':L','sweat.gif'],[11,':Q','mad.gif'],[12,':lol','lol.gif'],
[13,':hug:','hug.gif'],[14,':victory:','victory.gif'],[15,':time:','time.gif'],
[16,':kiss:','kiss.gif'],[17,':handshake','handshake.gif']];
smiley_insert();
</script>
</td>
</tr>
<tr>
<td>
<input class="sbutton" type="submit" id="postsubmit" name="topicsubmit" value="发表帖子" tabindex="3" style="margin-top:4px;">
[完成后可按 Ctrl+Enter 发布]
<input class="lightbutton" name="restoredata" id="restoredata" value="恢复数据" tabindex="5" title="恢复上次自动保存的数据" onclick="loadData();" type="button" />
<input name="topicsreset" class="lightbutton" value="清空内容" tabindex="6" type="reset" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -