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

📄 post_editor.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
	<td><a id="${editorid}_cmd_quote"><img src="images/common/bb_quote.gif" title="插入引用" alt="Quote" /></a></td>
	<td><a id="${editorid}_cmd_code"><img src="images/common/bb_code.gif" title="插入代码" alt="Code" /></a></td>
	<c:if test="${settings.smileyinsert>0}"><td><a href="javascript:;" id="${editorid}smilies"  onmouseover="showMenu(this.id, true,0, 2)"><img src="images/common/smile.gif"></a></td></c:if>
</tr></table>
<table summary="Editor ToolBar" cellpadding="0" cellspacing="0" id="${editorid}_morebuttons0" ${advanceeditor?"":"style='display: none'"}><tr>
	<td><a id="${editorid}_cmd_removeformat"><img src="images/common/bb_removeformat.gif" title="清除文本格式" alt="Rremove Format" /></a></td>
	<td><a id="${editorid}_cmd_unlink"><img src="images/common/bb_unlink.gif" title="移除链接" alt="Unlink" /></a></td>
	<td><a id="${editorid}_cmd_undo"><img src="images/common/bb_undo.gif" title="撤销" alt="Undo" /></a></td>
	<td><a id="${editorid}_cmd_redo"><img src="images/common/bb_redo.gif" title="重做" alt="Redo" /></a></td>
	<td><img src="images/common/bb_separator.gif" alt="|" /></td>
	<td><a id="${editorid}_cmd_insertorderedlist"><img src="images/common/bb_orderedlist.gif" title="排序的列表" alt="Ordered List" /></a></td>
	<td><a id="${editorid}_cmd_insertunorderedlist"><img src="images/common/bb_unorderedlist.gif" title="未排序列表" alt="Unordered List" /></a></td>
	<td><a id="${editorid}_cmd_outdent"><img src="images/common/bb_outdent.gif" title="减少缩进" alt="Outdent" /></a></td>
	<td><a id="${editorid}_cmd_indent"><img src="images/common/bb_indent.gif" title="增加缩进" alt="Indent" /></a></td>
	<td><a id="${editorid}_cmd_floatleft"><img src="images/common/bb_floatleft.gif" title="左浮动" alt="Float Left" /></a></td>
	<td><a id="${editorid}_cmd_floatright"><img src="images/common/bb_floatright.gif" title="右浮动" alt="Float Right" /></a></td>
	<td><img src="images/common/bb_separator.gif" alt="|" /></td>
	<td><a id="${editorid}_cmd_table"><img src="images/common/bb_table.gif" title="插入表格" alt="Table" /></a></td>
	<td><a id="${editorid}_cmd_free"><img src="images/common/bb_free.gif" title="插入免费信息" alt="Free" /></a></td>
	<c:if test="${usergroups.allowhidecode>0}"><td><a id="${editorid}_cmd_hide"><img src="images/common/bb_hide.gif" title="插入隐藏内容" alt="Hide" /></a></td></c:if>
	<td><img src="images/common/bb_separator.gif" alt="|" /></td>
	<c:if test="${forum.allowbbcode>0&&usergroups.allowcusbbcode>0}">
		<c:forEach items="${bbcodes_display}" var="bbcode" varStatus="index">
			<td><a id="${editorid}_cmd_custom${bbcode.value.params}_${bbcode.key}"><img src="images/common/${bbcode.value.icon}" title="${bbcode.value.explanation}" alt="${bbcode.key}" /></a></td><c:if test="${index.count==5||index.count==25}"></tr></table><table summary="Editor ToolBar" cellpadding="0" cellspacing="0" id="${editorid}_morebuttons${index.count==5?1:2}" ${advanceeditor?"":"style='display: none'"}><tr></c:if>
		</c:forEach>
	</c:if>
</tr></table>
<div id="${editorid}_switcher" class="editor_switcher_bar"><a id="${editorid}_buttonctrl" class="right">${advanceeditor?"简单功能":"全部功能"}</a> <button type="button" id="bbcodemode" >JspRun! 代码模式</button> <button type="button" id="wysiwygmode">所见即所得模式</button></div></td></tr>
<tr><td class="editortoolbar">
<div class="popupmenu_popup fontname_menu" id="${editorid}_popup_fontname_menu" style="display: none"><ul unselectable="on"><c:forEach items="${fontoptions}" var="fontname"><li onclick="jspruncode('fontname', '${fontname}');hideMenu()" style="font-family: ${fontname}" unselectable="on">${fontname}</li></c:forEach></ul></div>
<div class="popupmenu_popup fontsize_menu" id="${editorid}_popup_fontsize_menu" style="display: none"><ul unselectable="on"><c:forEach begin="1" end="7" var="size"><li onclick="jspruncode('fontsize', ${size});hideMenu()" unselectable="on"><font size="${size}" unselectable="on">${size}</font></li></c:forEach></ul></div>
<c:if test="${forum.allowmediacode>0}"><div class="popupmenu_popup" id="${editorid}_popup_media_menu" style="width: 240px;display: none">
	<input type="hidden" id="${editorid}_mediatype" value="ra">
	<input type="hidden" id="${editorid}_mediaautostart" value="0">
	<table cellpadding="4" cellspacing="0" border="0" unselectable="on">
	<tr class="popupmenu_option"><td nowrap>请输入多媒体文件的地址:<br /><input id="${editorid}_mediaurl" size="40" value="" onkeyup="setmediatype('${editorid}')" /></td></tr>
	<tr class="popupmenu_option"><td nowrap>
		<label style="float:left;width:32%"><input type="radio" name="${editorid}_mediatyperadio" id="${editorid}_mediatyperadio_ra" onclick="$('${editorid}_mediatype').value = 'ra'" checked="checked">RA</label>
		<label style="float:left;width:32%"><input type="radio" name="${editorid}_mediatyperadio" id="${editorid}_mediatyperadio_wma" onclick="$('${editorid}_mediatype').value = 'wma'">WMA</label>
		<label style="float:left;width:32%"><input type="radio" name="${editorid}_mediatyperadio" id="${editorid}_mediatyperadio_mp3" onclick="$('${editorid}_mediatype').value = 'mp3'">MP3</label>
		<label style="float:left;width:32%"><input type="radio" name="${editorid}_mediatyperadio" id="${editorid}_mediatyperadio_rm" onclick="$('${editorid}_mediatype').value = 'rm'">RM/RMVB</label>
		<label style="float:left;width:32%"><input type="radio" name="${editorid}_mediatyperadio" id="${editorid}_mediatyperadio_wmv" onclick="$('${editorid}_mediatype').value = 'wmv'">WMV</label>
		<label style="float:left;width:32%"><input type="radio" name="${editorid}_mediatyperadio" id="${editorid}_mediatyperadio_mov" onclick="$('${editorid}_mediatype').value = 'mov'">MOV</label>
	</td></tr>
	<tr class="popupmenu_option"><td nowrap><label style="float:left;width:32%">宽: <input id="${editorid}_mediawidth" size="5" value="400" /></label> <label style="float:left;width:32%">高: <input id="${editorid}_mediaheight" size="5" value="300" /></label> <label style="float:left;width:32%"><input type="checkbox" onclick="$('${editorid}_mediaautostart').value = this.checked ? 1 : 0"> 自动播放</label></td></tr>
	<tr class="popupmenu_option"><td align="center" colspan="2"><input type="button" size="8" value="提交" onclick="setmediacode('${editorid}')"> <input type="button" onclick="hideMenu()" value="取消" /></td></tr>
	</table>
</div></c:if>
<div class="popupmenu_popup" id="${editorid}_popup_forecolor_menu" style="display: none"><table cellpadding="0" cellspacing="0" border="0" unselectable="on" style="width: auto;"><tr><c:forEach items="${coloroptions}" var="colorname" varStatus="index"><td class="editor_colornormal" onclick="jspruncode('forecolor', '${colorname}');hideMenu()" unselectable="on" onmouseover="colorContext(this, 'mouseover')" onmouseout="colorContext(this, 'mouseout')"><div style="background-color: ${colorname}" unselectable="on"></div></td>${index.count%8==0 ? "</tr><tr>" : ""}</c:forEach></tr></table></div>
</td></tr></table></c:if>
<table class="editor_text" summary="Message Textarea" cellpadding="0" cellspacing="0" style="table-layout: fixed;">
	<tr><td><textarea class="autosave" name="message" rows="10" cols="60" style="width:99%; height:250px" tabindex="100" id="${editorid}message">${action=='edit' ? post.message : message}</textarea></td></tr>
</table>
<div id="${editorid}_bottom" ${advanceeditor?"":"style='border-top: none;display: none'"}>
<table summary="Enitor Buttons" cellpadding="0" cellspacing="0" class="editor_button" style="border-top: none;">
	<tr>
		<td style="border-top: none;"><div class="editor_textexpand"><img src="images/common/bb_contract.gif" width="11" height="21" title="收缩编辑框" alt="收缩编辑框" id="${editorid}_contract" /><img src="images/common/bb_expand.gif" width="12" height="21" title="扩展编辑框" alt="扩展编辑框" id="${editorid}_expand" /></div></td>
		<td align="right" style="border-top: none;"><button type="button" id="checklength">字数检查</button> <button type="button" name="previewbutton" id="previewbutton" tabindex="102">预览帖子</button> <button type="button" tabindex="103" id="clearcontent">清空内容</button></td>
	</tr>
</table>
<c:if test="${allowpostattach}"><table class="box" summary="Upload" cellspacing="0" cellpadding="0">
	<thead><tr><th>上传附件</th><c:if test="${usergroups.allowsetattachperm>0}"><td class="nums">阅读权限</td></c:if><c:if test="${usergroups.maxprice>0&&extcredit!=null}"><td class="nums">售价</td></c:if><td>描述</td></tr></thead>
	<tbody id="attachbodyhidden" style="display:none"><tr>
		<th><input type="file" name="attach" /> <span id="localfile[]"></span> <input type="hidden" name="localid[]" /></th>
		<c:if test="${usergroups.allowsetattachperm>0}"><td class="nums"><input type="text" name="attachperm[]" value="0" size="1" /></td></c:if>
		<c:if test="${usergroups.maxprice>0&&extcredit!=null}"><td class="nums"><input type="text" name="attachprice[]" value="0" size="1" />${extcredit.unit}</td></c:if>
		<td><input type="text" name="attachdesc[]" size="25" /></td>
	</tr></tbody>
	<tbody id="attachbody"></tbody>
	<tr><td colspan="5" style="border-bottom: none;">文件尺寸: <strong><c:choose><c:when test="${maxattachsize>0}">小于 ${maxattachsize} kb </c:when><c:otherwise>大小不限制</c:otherwise></c:choose><c:if test=""></c:if></strong><br />	<c:if test="${attachextensions!=''}">可用扩展名: <strong>${attachextensions}</strong><br /></c:if><c:if test="${usergroups.maxprice>0&&extcredit!=null}">售价: <strong>最高 ${usergroups.maxprice} ${extcredit.unit}${extcredit.title}<c:if test="${settings.maxincperthread>0}">,单一主题作者最高收入 ${settings.maxincperthread} ${extcredit.unit}</c:if><c:if test="${settings.maxchargespan>0}">,最高出售时限 ${settings.maxchargespan} 小时</c:if></strong></c:if></td></tr>
</table>
<div id="img_hidden" alt="1" style="position:absolute;top:-100000px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='image');width:${settings.thumbwidth}px;height:${settings.thumbheight}px"></div></c:if>
</div>
</div></td>

⌨️ 快捷键说明

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