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> <p 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&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}" /> <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>