vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Move "deletepostoption" to bottom in 'editpost' (https://vborg.vbsupport.ru/showthread.php?t=288267)

Tweak589 09-24-2012 07:50 PM

Move "deletepostoption" to bottom in 'editpost'
 
1 Attachment(s)
When I am editing a post as administrator or any user who has privileges to delete a post, the 'deletepostoption' section is at the very top. I would much prefer if the delete post section was at the bottom. I need some help moving the "deletepostoption" to the bottom below the "Additional Options" section where you manage attachments and subscriptions.

I tried to move this code around from the "editpost" template but my limited knowledge of editing this is limited and it returns "in-line" errors:
Code:

<vb:if condition="$show['deletepostoption']">
<form class="vbform block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}editpost.php?do=deletepost&amp;p={vb:raw postid}" method="post">
        <h2 class="blockhead">{vb:rawphrase delete_this_message}</h2>
        <div class="blockbody formcontrols">
                <h3 class="blocksubhead">{vb:rawphrase delete_message_check_appropriate_option}</h3>
                <div class="section">
                        <div class="blockrow">
                                <dl class="dep_group">
                                        <dt><label for="delete"><input type="checkbox" class="dep_ctrl" id="delete" name="dodelete" value="1" tabindex="1" /> {vb:rawphrase delete_post_in_manner}:</label></dt>
                                        <dd id="delete_deps">
                                                <ul class="group checkradio">
                                                        <vb:if condition="$show['physicaldeleteoption']">
                                                        <li><label for="deltype_hard"><input type="radio" id="deltype_hard" class="dep_ctrl" name="deletepost" value="remove" tabindex="1" /> {vb:rawphrase physically_remove_message}</label></li>
                                                        </vb:if>

Attached is default look, and the new look I am trying to make.


All times are GMT. The time now is 07:04 AM.

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.01981 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete