Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-14-2020, 05:54 PM
Bulent Tekcan Bulent Tekcan is offline
 
Join Date: Oct 2003
Location: TURKEY - Istanbul
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How can I add cancel button newreply postbit

Hello,


Is it possible to add Cancel button newreply postbit 4.2.x


Regards


PHP Code:
{vb:stylevar htmldoctype}<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}"><head>    {vb:raw headinclude}    {vb:cssfile reviewpost.css,attachment.css,lightbox.css}    <script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>    <title>{vb:raw threadinfo.prefix_plain_html} {vb:raw threadinfo.title} - {vb:rawphrase reply_to_topic}</title>{vb:raw headinclude_bottom}</head><body>{vb:raw header}{vb:raw navbar}<div id="pagetitle">    <h1>{vb:rawphrase reply_to_thread}</h1>    <class="description">{vb:rawphrase post_a_reply_to_thread}: {vb:raw threadinfo.prefix_plain_html} <a href="{vb:link thread, {vb:raw threadinfo}}">{vb:raw threadinfo.title}</a></p></div><vb:if condition="$show['lightbox']"><!-- lightbox scripts -->    <script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v={vb:raw vboptions.simpleversion}"></script>    <script type="text/javascript">    <!--    vBulletin.register_control("vB_Lightbox_Container""post_preview", {vb:raw vboptions.lightboxenabled});    //-->    </script><!-- / lightbox scripts --></vb:if><form class="block vbform" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?do=postreply&amp;t={vb:raw threadid}" method="post" name="vbform" onsubmit="return vB_Editor['{vb:raw editorid}'].prepare_submit(0, {vb:raw vboptions.postminchars})">    {vb:raw postpreview}    <h2 class="blockhead">{vb:rawphrase your_message}</h2><div class="wysiwyg_block">    <div class="blockbody formcontrols">        <div class="section">            {vb:raw usernamecode}            {vb:raw human_verify}            <div class="blockrow">                <label for="title" class="full">{vb:rawphrase title}:</label>                <input type="text" class="primary textbox full" name="title" id="title" value="{vb:raw title}" maxlength="{vb:raw vboptions.titlemaxchars}" tabindex="1" title="{vb:rawphrase optional}" />                &nbsp;<img id="display_posticon" src="{vb:raw selectedicon.src}" alt="{vb:raw selectedicon.alt}" />            </div>            {vb:raw messagearea}            <vb:if condition="$unquoted_post_count > 0">                <div id="unquoted_posts" class="smallfont" style="display: none">                <vb:if condition="$unquoted_post_count == 1">                    {vb:rawphrase selected_1_post_not_part_thread}                <vb:else />                    {vb:rawphrase selected_x_posts_not_part_thread, {vb:raw unquoted_post_count}}                </vb:if>                </div>                        <script type="text/javascript" src="clientscript/vbulletin_ajax_quote.js?v={vb:raw vboptions.simpleversion}"></script>                <script type="text/javascript">                <!--                    if (AJAX_Compatible)                    {                        fetch_object('unquoted_posts').style.display = '';                    }                    init_unquoted_posts('{vb:raw editorid}', {vb:raw threadinfo.threadid});                // -->                </script>            </vb:if>            {vb:raw posticons}        </div>    </div>    <div class="blockfoot actionbuttons">        <div class="group">            <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />            <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />            <input type="hidden" name="do" value="postreply" />            <input type="hidden" name="t" value="{vb:raw threadid}" />            <input type="hidden" name="p" value="{vb:raw postid}" />            <input type="hidden" name="specifiedpost" value="{vb:raw specifiedpost}" />            <input type="hidden" name="posthash" value="{vb:raw posthash}" />            <input type="hidden" name="poststarttime" value="{vb:raw poststarttime}" />            <vb:if condition="$return_node">                <input type="hidden" name="return_node" value="{vb:raw return_node}" />            </vb:if>            <input type="hidden" name="loggedinuser" value="{vb:raw bbuserinfo.userid}" />            <input type="hidden" name="multiquoteempty" id="multiquote_empty_input" value="{vb:raw multiquote_empty}" />            <vb:if condition="$show['fb_publishcheckbox']">                {vb:raw fbpublishcheckbox}            </vb:if>            <input type="submit" class="button" name="sbutton" id="{vb:raw editorid}_save" value="{vb:rawphrase submit_reply}" accesskey="s" tabindex="1" />            <input type="submit" class="button" name="preview" value="{vb:rawphrase preview_post}" accesskey="r" tabindex="1" />        </div></div>    </div>    <vb:if condition="$show['additional_options']">    <h3 class="blockhead">{vb:rawphrase additional_options}</h3>    <div class="blockbody formcontrols">        <div class="section">            <vb:if condition="$show['misc_options']">            <div class="blockrow">                <label>{vb:rawphrase miscellaneous_options}:</label>                <ul class="checkradio group rightcol">                    <vb:if condition="$show['signaturecheckbox']">                    <li>                        <label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" {vb:raw checked.signature} /> {vb:rawphrase show_your_signature}</label><p class="description">{vb:rawphrase show_your_signature_explain}</p>                    </li>                    </vb:if>                    <vb:if condition="$show['parseurl']">                    <li>                        <label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" {vb:raw checked.parseurl} /> {vb:rawphrase automatically_parse_links_in_text}</label><p class="description">{vb:rawphrase automatically_parse_links_description}</p>                    </li>                    </vb:if>                    {vb:raw disablesmiliesoption}                </ul>            </div>            </vb:if>            {vb:raw htmloption}                {vb:raw attachmentoption}            <vb:if condition="$show['member']">            <fieldset class="blockrow">                <legend>{vb:rawphrase subscription}</legend>                <dl class="group dep_group">                    <dt>                        <label for="subscribe">{vb:rawphrase thread_subscription}:</label>                        <input type="checkbox" id="subscribe" name="subscribe" tabindex="1" class="dep_ctrl" value="1" {vb:raw checked.subscribe} />                    </dt>                    <dd id="subscribe_deps" class="rightcol">                        <ul class="group">                            <li>                                <select class="primary" name="emailupdate" tabindex="1">                                    <option value="0" {vb:raw emailchecked.0}>{vb:rawphrase no_email_notification}</option>                                    <option value="1" {vb:raw emailchecked.1}>{vb:rawphrase instant_email_notification}</option>                                    <option value="2" {vb:raw emailchecked.2}>{vb:rawphrase daily_email_notification}</option>                                    <option value="3" {vb:raw emailchecked.3}>{vb:rawphrase weekly_email_notification}</option>                                </select>                            </li>                            <vb:if condition="$show['subscribefolders']">                            <li>                                <select class="primary" name="folderid" tabindex="1">{vb:raw folderbits}</select>                            </li>                            </vb:if>                        </ul>                    </dd>                </dl>            </fieldset>            </vb:if>            <vb:if condition="$show['threadrating']">            <fieldset class="blockrow">                <legend>{vb:rawphrase rate_thread}</legend>                <dl class="group dep_group">                    <dt>                        <label for="rating">{vb:rawphrase rate_thread_with_following_value}:</label>                        <input type="checkbox" tabindex="1" class="dep_ctrl" id="rating" value="1" name="rate" {vb:raw checked.rate} />                    </dt>                    <dd id="rating_deps" class="rightcol">                        <select class="rating" name="rating" tabindex="1">                            <option style="background-image: url({vb:stylevar imgdir_rating}/rating-15_5.png)" value="5"{vb:raw rate.5}>{vb:rawphrase excellent}</option>                            <option style="background-image: url({vb:stylevar imgdir_rating}/rating-15_4.png)" value="4"{vb:raw rate.4}>{vb:rawphrase good}</option>                            <option style="background-image: url({vb:stylevar imgdir_rating}/rating-15_3.png)" value="3"{vb:raw rate.3}>{vb:rawphrase average}</option>                            <option style="background-image: url({vb:stylevar imgdir_rating}/rating-15_2.png)" value="2"{vb:raw rate.2}>{vb:rawphrase bad}</option>                            <option style="background-image: url({vb:stylevar imgdir_rating}/rating-15_1.png)" value="1"{vb:raw rate.1}>{vb:rawphrase terrible}</option>                        </select>                    </dd>                </dl>                <p class="description">{vb:rawphrase rate_thread_explain}</p>            </fieldset>            </vb:if>            {vb:raw threadmanagement}        </div>    </div>    <div class="blockfoot actionbuttons">        <div class="group">            <input type="submit" class="button" name="sbutton" value="{vb:rawphrase submit_reply}" accesskey="s" tabindex="1" />            <input type="submit" class="button" name="preview" value="{vb:rawphrase preview_post}" accesskey="r" tabindex="1" />        </div>    </div>    </vb:if>    <vb:if condition="threadreviewbits">    <div class="blockhead collapse">        <a class="collapse" id="collapse_nrreview" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_nrreview}_40b.png" alt="" border="0" /></a>        <h2>{vb:rawphrase topic_review_newest_first}</h2>    </div>    <div id="nrreview" style="{vb:raw vbcollapse.collapseobj_nrreview}">        <div class="blockbody formcontrols">            <ul id="postlist">                {vb:raw threadreviewbits}            </ul>        </div>            <vb:if condition="$show['reviewmore']">        <div class="blockfoot">            {vb:rawphrase thread_has_more_than_x_review, {vb:raw vboptions.maxposts}, {vb:link thread, {vb:raw threadinfo}}}        </div>        </vb:if>    </div>    </vb:if>    {vb:raw forumrules}</form>{vb:raw footer}</body></html> 
Attached Images
File Type: jpg 2020-02-14_22-49-28.jpg (51.9 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:04 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05073 seconds
  • Memory Usage 2,267KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete