📄 addpost.jsp
字号:
<form action="updatepost" method="post" name="mvnform">
<input type="hidden" name="post" value="<%=postToEdit.getPostID()%>">
<input type="hidden" name="parent" value="<%=parentPostID%>">
<input type="hidden" name="offset" value="<%=ParamUtil.getParameter(request, "offset")%>">
<%}%>
<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
<tr class="theader">
<td colspan="2"><%=fullmode%></td>
</tr>
<tr class="trow1">
<td width="170" nowrap><fmt:message key="mvnforum.common.post.topic"/> <span class="requiredfield">*</span></td>
<td><input type="text" name="PostTopic" value="<%=postTopic%>" size="70" class="bginput" tabindex="1" onKeyUp="initTyper(this);"></td>
</tr>
<tr class="trow2">
<td valign="top" nowrap>
<fmt:message key="mvnforum.user.addpost.format"/><br>
<input onmouseover="stat('norm')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.normalmode"/>" accessKey=n onclick=setmode(this.value) type=radio checked value=0 name=mode class="noborder"> <fmt:message key="mvnforum.user.addpost.normal_mode"/><br>
<input onmouseover="stat('enha')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.enhmode"/>" accessKey=e onclick=setmode(this.value) type=radio value=1 name=mode class="noborder"> <fmt:message key="mvnforum.user.addpost.enhanced_mode"/>
</td>
<td>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap>
<input class="liteoption" style="font-weight: bold;" onmouseover="stat('b')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.boldbtn"/>" accessKey=<fmt:message key="mvnforum.user.addpost.button.accesskey.typeface.bold"/> onclick="mvncode(this.form,'b','')" type=button value=" <fmt:message key="mvnforum.user.addpost.button.keycaps.typeface.bold"/> ">
<input class="liteoption" style="font-style: italic;" onmouseover="stat('i')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.italicbtn"/>" accessKey=<fmt:message key="mvnforum.user.addpost.button.accesskey.typeface.italic"/> onclick="mvncode(this.form,'i','')" type=button value=" <fmt:message key="mvnforum.user.addpost.button.keycaps.typeface.italic"/> ">
<input class="liteoption" style="text-decoration: underline;" onmouseover="stat('u')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.underlbtn"/>" accessKey=<fmt:message key="mvnforum.user.addpost.button.accesskey.typeface.underline"/> onclick="mvncode(this.form,'u','')" type=button value=" <fmt:message key="mvnforum.user.addpost.button.keycaps.typeface.underline"/> ">
<input class="liteoption" style="text-decoration: line-through;" onmouseover="stat('s')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.strikebtn"/>" accessKey=<fmt:message key="mvnforum.user.addpost.button.accesskey.typeface.strike"/> onclick="mvncode(this.form,'s','')" type=button value=" <fmt:message key="mvnforum.user.addpost.button.keycaps.typeface.strike"/> ">
<select id="sizeselect" onmouseover="stat('size')" onchange="fontformat(this.form,this.options[this.selectedIndex].value,this.options[this.selectedIndex].text,'size')">
<option value="0" selected><fmt:message key="mvnforum.user.addpost.dropdown.fontsize.title"/></option>
<option value="1"><fmt:message key="mvnforum.user.addpost.dropdown.fontsize.small"/></option>
<option value="3"><fmt:message key="mvnforum.user.addpost.dropdown.fontsize.large"/></option>
<option value="4"><fmt:message key="mvnforum.user.addpost.dropdown.fontsize.huge"/></option>
</select>
<select id="fontselect" onchange="fontformat(this.form,this.options[this.selectedIndex].value,this.options[this.selectedIndex].text,'font')" onMouseOver="stat('font')">
<option value="0" selected><fmt:message key="mvnforum.user.addpost.dropdown.fonttype.title"/></option>
<option value="arial">Arial</option>
<option value="times new roman">Times</option>
<option value="courier new">Courier</option>
<option value="century gothic">Century</option>
</select>
<select id="colorselect" onmouseover="stat('color')" onchange="fontformat(this.form,this.options[this.selectedIndex].value,this.options[this.selectedIndex].text,'color')">
<option value="0" selected><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.title"/></option>
<option style="COLOR: skyblue" value="skyblue"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.skyblue"/></option>
<option style="COLOR: royalblue" value="royalblue"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.royalblue"/></option>
<option style="COLOR: blue" value="blue"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.blue"/></option>
<option style="COLOR: darkblue" value="darkblue"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.darkblue"/></option>
<option style="COLOR: orange" value="orange"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.orange"/></option>
<option style="COLOR: orangered" value="orangered"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.orangered"/></option>
<option style="COLOR: crimson" value="crimson"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.crimson"/></option>
<option style="COLOR: red" value="red"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.red"/></option>
<option style="COLOR: firebrick" value="firebrick"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.firebrick"/></option>
<option style="COLOR: darkred" value="darkred"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.darkred"/></option>
<option style="COLOR: green" value="green"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.green"/></option>
<option style="COLOR: limegreen" value="limegreen"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.limegreen"/></option>
<option style="COLOR: seagreen" value="seagreen"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.seagreen"/></option>
<option style="COLOR: deeppink" value="deeppink"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.deeppink"/></option>
<option style="COLOR: tomato" value="tomato"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.tomato"/></option>
<option style="COLOR: coral" value="coral"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.coral"/></option>
<option style="COLOR: purple" value="purple"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.purple"/></option>
<option style="COLOR: indigo" value="indigo"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.indigo"/></option>
<option style="COLOR: burlywood" value="burlywood"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.burlywood"/></option>
<option style="COLOR: sandybrown" value="sandybrown"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.sandybrown"/></option>
<option style="COLOR: sienna" value="sienna"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.sienna"/></option>
<option style="COLOR: chocolate" value="chocolate"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.chocolate"/></option>
<option style="COLOR: teal" value="teal"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.teal"/></option>
<option style="COLOR: silver" value="silver"><fmt:message key="mvnforum.user.addpost.dropdown.textcolor.silver"/></option>
</select>
<br/>
<input class="liteoption" onmouseover="stat('url')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.hyperlinkbtn"/>" onclick="namedlink(this.form,'url')" type=button value="<fmt:message key="mvnforum.user.addpost.button.keycaps.hyperlink"/>">
<input class="liteoption" onmouseover="stat('email')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.emailbtn"/>" onclick="namedlink(this.form,'email')" type=button value="<fmt:message key="mvnforum.user.addpost.button.keycaps.email"/>">
<input class="liteoption" onmouseover="stat('img')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.imagebtn"/>" onclick="mvncode(this.form,'img','http://')" type=button value="<fmt:message key="mvnforum.user.addpost.button.keycaps.image"/>">
<input class="liteoption" onmouseover="stat('code')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.codebtn"/>" onclick="mvncode(this.form,'code','')" type=button value="<fmt:message key="mvnforum.user.addpost.button.keycaps.code"/>">
<input class="liteoption" onmouseover="stat('list')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.orderlistbtn"/>" onclick=dolist(this.form) type=button value="<fmt:message key="mvnforum.user.addpost.button.keycaps.orderlist"/>">
<input class="liteoption" onmouseover="stat('quote')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.quotebtn"/>" onclick="mvncode(this.form,'quote','')" type=button value="<fmt:message key="mvnforum.user.addpost.button.keycaps.quote"/>">
<br>
<input type="text" name="status" value="<fmt:message key="mvnforum.user.addpost.js.message.start"/>" size="70" class="liteoption" style="FONT-SIZE: 7pt">
</td>
<td> </td>
<td class="messageText">
<input class="liteoption" onmouseover="stat('closecurrent')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.tagclosebtn"/>" style="FONT-WEIGHT: bold; COLOR: red" accessKey=<fmt:message key="mvnforum.user.addpost.button.accesskey.tagclose"/> onclick=closetag(this.form) type=button value=" x "> <fmt:message key="mvnforum.user.addpost.tagclosebtn.text"/><br>
<input class="liteoption" onmouseover="stat('closeall')" title="<fmt:message key="mvnforum.user.addpost.bubblehelp.tagcloseallbtn"/>" style="FONT-WEIGHT: bold; COLOR: red" accessKey=<fmt:message key="mvnforum.user.addpost.button.accesskey.tagcloseall"/> onclick=closeall(this.form) type=button value=" x "> <fmt:message key="mvnforum.user.addpost.tagcloseallbtn.text"/>
</td>
</tr>
</table>
</td>
</tr>
<tr class="trow1">
<td valign="top" nowrap>
<fmt:message key="mvnforum.common.post.body"/> <span class="requiredfield">*</span>
<% if (MVNForumConfig.getEnableEmoticon()) { %>
<table border="0" cellspacing="1" cellpadding="3" align="center" class="smilieTable">
<tr>
<td colspan="3" align="center" bgcolor="#F5F5F5" style="BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; BORDER-LEFT: 1px inset; BORDER-BOTTOM: 1px inset">
<span class="messageTextBold"><fmt:message key="mvnforum.user.addpost.smilies"/></span>
</td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/smile.gif" alt="smile" border="0"></a> </td>
<td><a href="javascript:smilie('[:(]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/sad.gif" alt="sad" border="0"></a> </td>
<td><a href="javascript:smilie('[:D]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/biggrin.gif" alt="big grin" border="0"></a> </td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:))]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/laughing.gif" alt="laughing" border="0"></a> </td>
<td><a href="javascript:smilie('[:((]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/crying.gif" alt="crying" border="0"></a> </td>
<td><a href="javascript:smilie('[;)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/wink.gif" alt="wink" border="0"></a> </td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:">]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/blushing.gif" alt="blushing" border="0"></a> </td>
<td><a href="javascript:smilie('[:p]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/tongue.gif" alt="tongue" border="0"></a> </td>
<td><a href="javascript:smilie('[B-)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/cool.gif" alt="cool" border="0"></a> </td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:x]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/love.gif" alt="love struck" border="0"></a> </td>
<td><a href="javascript:smilie('[:-/]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/confused.gif" alt="confused" border="0"></a> </td>
<td><a href="javascript:smilie('[>:)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/devilish.gif" alt="devilish" border="0"></a> </td>
</tr>
<tr>
<td colspan="3" align="center" bgcolor="#F5F5F5" style="BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; BORDER-LEFT: 1px inset; BORDER-BOTTOM: 1px inset">
<span class="messageText"><fmt:message key="mvnforum.user.addpost.smilies_showing"/></span>
<table>
<tr id="showlink">
<td align="center"><a href="javascript:showMoreEmotion()" class="messageTextBold"><fmt:message key="mvnforum.user.addpost.show_more"/></a></td>
</tr>
<tr id="hidelink" style="display: none;">
<td align="center"><a href="javascript:hideMoreEmotion()" class="messageTextBold"><fmt:message key="mvnforum.user.addpost.hide_more"/></a></td>
</tr>
</table>
</td>
</tr>
</table>
<% }//enable emoticon %>
</td>
<td valign="top"><textarea cols="70" rows="18" name="message" tabindex="2" onkeyup="initTyper(this);storeCaret(this);" onselect="storeCaret(this);" onclick="storeCaret(this);" onmouseup="storeCaret(this);" onchange="storeCaret(this);"><%=postBody%></textarea></td>
</tr>
<% if (MVNForumConfig.getEnableEmoticon()) { %>
<tr class="trow1" id="MoreEmotion" style="display: none;">
<td colspan="2">
<table width="100%">
<tr>
<td width="60%">
<table border="0" cellspacing="1" cellpadding="3" align="center" bgcolor="#FFFFFF" class="smilieTable">
<tr>
<td colspan="9" align="center" bgcolor="#F5F5F5" style="BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; BORDER-LEFT: 1px inset; BORDER-BOTTOM: 1px inset">
<span class="messageTextBold"><fmt:message key="mvnforum.user.addpost.standard_smilies"/></span>
</td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/smile.gif" alt="smile" border="0"></a> </td>
<td><a href="javascript:smilie('[:(]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/sad.gif" alt="sad" border="0"></a> </td>
<td><a href="javascript:smilie('[;)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/wink.gif" alt="wink" border="0"></a> </td>
<td><a href="javascript:smilie('[:D]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/biggrin.gif" alt="big grin" border="0"></a> </td>
<td><a href="javascript:smilie('[;;)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/batting_eyelashes.gif" alt="batting eyelashes" border="0"></a> </td>
<td><a href="javascript:smilie('[:-/]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/confused.gif" alt="confused" border="0"></a> </td>
<td><a href="javascript:smilie('[:x]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/love.gif" alt="love struck" border="0"></a> </td>
<td><a href="javascript:smilie('[:">]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/blushing.gif" alt="blushing" border="0"></a> </td>
<td><a href="javascript:smilie('[:p]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/tongue.gif" alt="tongue" border="0"></a> </td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:*]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/kiss.gif" alt="kiss" border="0"></a> </td>
<td><a href="javascript:smilie('[:O]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/shock.gif" alt="shock" border="0"></a> </td>
<td><a href="javascript:smilie('[X-(]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/angry.gif" alt="angry" border="0"></a> </td>
<td><a href="javascript:smilie('[:>]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/smug.gif" alt="smug" border="0"></a> </td>
<td><a href="javascript:smilie('[B-)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/cool.gif" alt="cool" border="0"></a> </td>
<td><a href="javascript:smilie('[:-s]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/worried.gif" alt="worried" border="0"></a> </td>
<td><a href="javascript:smilie('[>:)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/devilish.gif" alt="devilish" border="0"></a> </td>
<td><a href="javascript:smilie('[:((]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/crying.gif" alt="crying" border="0"></a> </td>
<td><a href="javascript:smilie('[:))]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/laughing.gif" alt="laughing" border="0"></a> </td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[:|]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/straight_face.gif" alt="straight face" border="0"></a> </td>
<td><a href="javascript:smilie('[/:)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/raised_eyebrow.gif" alt="raised eyebrow" border="0"></a> </td>
<td><a href="javascript:smilie('[O:)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/angel.gif" alt="angel" border="0"></a> </td>
<td><a href="javascript:smilie('[:-B]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/nerd.gif" alt="nerd" border="0"></a> </td>
<td><a href="javascript:smilie('[=;]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/talk_to_the_hand.gif" alt="talk to the hand" border="0"></a> </td>
<td><a href="javascript:smilie('[I-)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/sleep.gif" alt="sleep" border="0"></a> </td>
<td><a href="javascript:smilie('[8-|]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/rolling_eyes.gif" alt="rolling eyes" border="0"></a> </td>
<td><a href="javascript:smilie('[:-&]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/sick.gif" alt="sick" border="0"></a> </td>
<td><a href="javascript:smilie('[:-$]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/shhh.gif" alt="shhh" border="0"></a> </td>
</tr>
<tr align="middle">
<td><a href="javascript:smilie('[[-(]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/not_talking.gif" alt="not talking" border="0"></a> </td>
<td><a href="javascript:smilie('[:o)]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/clown.gif" alt="clown" border="0"></a> </td>
<td><a href="javascript:smilie('[8-}]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/silly.gif" alt="silly" border="0"></a> </td>
<td><a href="javascript:smilie('[(:|]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/tired.gif" alt="tired" border="0"></a> </td>
<td><a href="javascript:smilie('[=P~]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/drooling.gif" alt="drooling" border="0"></a> </td>
<td><a href="javascript:smilie('[:-?]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/thinking.gif" alt="thinking" border="0"></a> </td>
<td><a href="javascript:smilie('[#-o]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/d_oh.gif" alt="d oh" border="0"></a> </td>
<td><a href="javascript:smilie('[=D>]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/applause.gif" alt="applause" border="0"></a> </td>
<td><a href="javascript:smilie('[>:D<]')"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/emotion/hugs.gif" alt="hugs" border="0"></a> </td>
</tr>
</table>
</td>
<td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -