免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
Board logo

标题: 默认模板套系 viewthread_fastpost.htm [打印本页]

作者: oocn    时间: 2014-12-1 14:22     标题: 默认模板套系 viewthread_fastpost.htm

  1. <script type="text/javascript">
  2. var postminchars = parseInt('$minpostsize');
  3. var postmaxchars = parseInt('$maxpostsize');
  4. var disablepostctrl = parseInt('$disablepostctrl');
  5. </script>

  6. <div id="f_post" class="mainbox viewthread">
  7. <form method="post" id="fastpostform" action="post.php?action=reply&amp;fid=$fid&amp;tid=$tid&amp;extra=$extra&amp;replysubmit=yes<!--{if $ordertype != 1}-->&infloat=yes&handlekey=fastpost<!--{/if}-->" <!--{if $ordertype != 1}-->onSubmit="return fastpostvalidate(this)"<!--{/if}-->>
  8.         <table cellspacing="0" cellpadding="0">
  9.                 <tr>
  10.                         <td class="postauthor">
  11.                                 <!--{if $discuz_uid}--><div class="avatar">{echo discuz_uc_avatar($discuz_uid)}</div><!--{/if}-->
  12.                                 $pluginhooks[viewthread_fastpost_side]
  13.                         </td>
  14.                         <td class="postcontent">
  15.                                 $pluginhooks[viewthread_fastpost_content]
  16.                                 <input type="hidden" name="formhash" value="{FORMHASH}" />
  17.                                 <input type="hidden" name="subject" value="" />
  18.                                 <input type="hidden" name="usesig" value="$usesigcheck" />
  19.                                 <!--{if $uchome['addfeed'] && $ucappopen['UCHOME'] && $forum['allowfeed']}-->
  20.                                         <input type="hidden" name="addfeed" value="1" />
  21.                                 <!--{/if}-->

  22.                                 <span id="fastpostreturn"></span>
  23.                                 <!--{if $thread[special] == 5 && empty($firststand)}-->
  24.                                 <div class="s_clear">
  25.                                         <label class="left">{lang debate_viewpoint}: </label>
  26.                                         <div class="float_typeid short_select">
  27.                                                 <select id="stand" name="stand">
  28.                                                         <option value="0">{lang debate_neutral}</option>
  29.                                                         <option value="1">{lang debate_square}</option>
  30.                                                         <option value="2">{lang debate_opponent}</option>
  31.                                                 </select>
  32.                                         </div>
  33.                                         <script type="text/javascript">simulateSelect('stand');</script>
  34.                                 </div>
  35.                                 <!--{/if}-->
  36.                                 <div class="editor_tb">
  37.                                         <span class="right">
  38.                                                 <a href="post.php?action=reply&fid=$fid&tid=$tid" onclick="return switchAdvanceMode(this.href)">{lang post_advancemode}</a>
  39.                                                 <span class="pipe">|</span>
  40.                                                 <span id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid" onclick="showWindow('newthread', this.href);return false;">{lang post_newthread}</a></span>
  41.                                         </span>
  42.                                         {eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'));}
  43.                                         {subtemplate seditor}
  44.                                 </div>
  45.                                 <textarea rows="5" cols="80" name="message" id="fastpostmessage" onKeyDown="seditor_ctlent(event, <!--{if $ordertype != 1}-->'fastpostvalidate($(\'fastpostform\'))'<!--{else}-->'$(\'fastpostform\').submit()'<!--{/if}-->);" tabindex="4" class="txtarea"></textarea>
  46.                                 <!--{if $secqaacheck || $seccodecheck}--><div class="fastcheck">{template seccheck}</div><!--{/if}-->
  47.                                 <p><button type="submit" name="replysubmit" id="fastpostsubmit" value="replysubmit" tabindex="5">{lang post_newreply}</button>
  48.                                 <!--{if $ordertype != 1}-->
  49.                                 <input id="fastpostrefresh" type="checkbox" /> <label for="fastpostrefresh">{lang post_fastreply_gotolast}</label></p><script type="text/javascript">if(getcookie('discuz_fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script>
  50.                                 <!--{/if}-->
  51.                                 </p>
  52.                         </td>
  53.                 </tr>
  54.         </table>
  55. </form>
  56. </div>
复制代码

作者: 人中龍    时间: 2018-12-2 15:08

支持您的分享
作者: 人中龍    时间: 2018-12-2 15:08

支持您的分享




欢迎光临 OOCN分享圈 (http://www.oocn.258club.com/) Powered by Discuz! 7.2