عرض مشاركة واحدة
قديم 12-07-2015, 08:45 PM
المشاركة 2
أبو عبيدة
.:: عضو مشارك ::.
  • أبو عبيدة غير متواجد حالياً
افتراضي رد: تغير اطار صندوق رد سريع
تفضل

كود PHP:
<if condition="$show['quickreply']">
<!-- 
quick reply Twaslbook.com -->
    <
br />
    <
script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v=$vboptions[simpleversion]"></script>
    <form action="newreply.php?do=postreply&amp;t=$threadid" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" style="border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;" border="0" cellpadding="6" cellspacing="0" width="60%" align="center">
    <thead>
        <tr>
<!-- / quick reply Twaslbook.com-->
            <td class="thead" style="padding:6px 8px 0px 4px;" colspan="2">
                <if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');">
                </a></if>
                الرد السريع
            </td>
        </tr>
    </thead>
    <tbody id="qr_error_tbody" style="display:none">
    <tr>
        <td class="thead">$vbphrase[errors_occured_when_submitted]</td>
    </tr>
    <tr>
        <td class="alt1" id="qr_error_td"></td>
    </tr>
    <tr>
        <td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
    </tr>
    </tbody>
    <tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
    <tr>
<!-- / quick reply Twaslbook.com-->
        <td class="panelsurround" align="center">
            <div class="panel">
<div style="max-width:100%; width:auto !important; width:100%;" align="right">
                    <div class="smallfont">$vbphrase[message]:</div>
                    <div id="$editorid" class="vBulletin_editor">$messagearea</div>

                    <fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
                        <legend>$vbphrase[options]</legend>
                        <div style="padding:$stylevar[formspacer]px">
                            <if condition="$bbuserinfo['signature']">
                                <div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
                            </if>
                            <label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
                        </div>
                    </fieldset>
                </div>
            </div>

            <div style="margin-top:$stylevar[cellpadding]px">
                <input type="hidden" name="fromquickreply" value="1" />
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="do" value="postreply" />
                <input type="hidden" name="t" value="$threadid" id="qr_threadid" />
<!-- / quick reply Twaslbook.com-->
                <input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
                <input type="hidden" name="specifiedpost" value="0" id="qr_specifiedpost" />
                <input type="hidden" name="parseurl" value="1" />
                <input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
                <input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
                <input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
            </div>

            <div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
                <img style="vertical-align: middle;" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[posting_quick_reply_please_wait]" />&nbsp;<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
            </div>
        </td>
    </tr>
    </tbody>
    </table>
    </form>

    <if condition="!is_browser('ie') AND $show['wysiwyg']">
        <!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
        <div id="qr_scroll"></div>
    </if>

    <script type="text/javascript">
    <!--
        // initialize quick reply
        qr_init();
    //-->
    </script>
<!-- / quick reply Twaslbook.com-->
</if>