حل تعليق الصفحة في الرد السريع

حل تعليق الصفحة في الرد السريع

اولاً استبدال محتويات showthread_quickreply
بالكود التالي


كود PHP:
<if condition="$show['editor_toolbar']">  <div id="{$editorid}_controls" class="controlbar">  <table cellpadding="0" cellspacing="0" border="0">  <tr>  <td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>  <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  <if condition="$show['basic_bbcode']">  <td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="$stylevar[imgdir_editor]/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>  <td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="$stylevar[imgdir_editor]/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>  <td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>  <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  </if>  <if condition="$show['color_bbcode']">  <td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">  <table cellpadding="0" cellspacing="0" border="0">  <tr>  <td id="{$editorid}_color_out"><img src="$stylevar[imgdir_editor]/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>  <td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" alt="" width="11" height="16" /></td>  </tr>  </table>  </div></td>  </if>  <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  <if condition="$show['url_bbcode']">  <td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="$stylevar[imgdir_editor]/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>  </if>  <if condition="$show['img_bbcode']">  <td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>  </if>  <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>  <if condition="!is_browser('opera')">  <td width="100%">&nbsp;</td>  </if>  <if condition="is_browser('ie')">  <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  <td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="$stylevar[imgdir_editor]/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>  </if>  <td>  <div class="imagebutton" id="{$editorid}_cmd_resize_0_99"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>  <div class="imagebutton" id="{$editorid}_cmd_resize_1_99"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>  </td>  <if condition="$show['wysiwyg_compatible']">  <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>  <td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>  </if>  </tr>  </table>  </div>  </if>  <div class="controlbar">  <if condition="$show['qr_require_click']">  <textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>  <else />  <textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:$stylevar[messagewidth]; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>  </if>  </div>  <input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />  <script type="text/javascript">  <!--  // initialize some variables  var curpostid = $curpostid;  var quickreply = <if condition="$show['quickreply']">true<else />false</if>;  // cached posts (no page reload required to view)  $jspostbits  // next/previous post info  $navjs  // cached usernames  pu[0] = guestphrase;  $userjs  // -->  </script> 

ثانياً:
ابحث عن headinclude
وأضف الكود التالي نهاية السطر

كود PHP:
<script language="JavaScript">  <!--  function stopError() {  retu

ليست هناك تعليقات:

إرسال تعليق