| @@ -1,32 +1,42 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * @package Adminimize | |
| 4 | - * @subpackage Deinstall options | |
| 5 | - * @author Frank Bültge | |
| 6 | - */ | |
| 7 | -if ( ! function_exists( 'add_action' ) ) { | |
| 8 | - echo "Hi there! I'm just a part of plugin, not much I can do when called directly."; | |
| 9 | - exit; | |
| 10 | -} | |
| 11 | -?> | |
| 12 | - <div id="poststuff" class="ui-sortable meta-box-sortables"> | |
| 13 | - <div class="postbox"> | |
| 14 | - <div class="handlediv" title="<?php _e('Click to toggle'); ?>"><br/></div> | |
| 15 | - <h3 class="hndle" id="uninstall"><?php _e('Deinstall Options', FB_ADMINIMIZE_TEXTDOMAIN ) ?></h3> | |
| 16 | - <div class="inside"> | |
| 17 | - | |
| 18 | - <p><?php _e('Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database.', FB_ADMINIMIZE_TEXTDOMAIN ); ?></p> | |
| 19 | - <form name="deinstall_options" method="post" id="_mw_adminimize_options_deinstall" action="?page=<?php echo $_GET['page'];?>"> | |
| 20 | - <?php wp_nonce_field('mw_adminimize_nonce'); ?> | |
| 21 | - <p id="submitbutton"> | |
| 22 | - <input type="submit" name="_mw_adminimize_deinstall" value="<?php _e('Delete Options', FB_ADMINIMIZE_TEXTDOMAIN ); ?> »" class="button-secondary" /> | |
| 23 | - <input type="checkbox" name="_mw_adminimize_deinstall_yes" value="_mw_adminimize_deinstall" /> | |
| 24 | - <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_deinstall" /> | |
| 25 | - </p> | |
| 26 | - </form> | |
| 27 | - <p><a class="alignright button" href="javascript:void(0);" onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;"><?php _e('scroll to top', FB_ADMINIMIZE_TEXTDOMAIN); ?></a><br class="clear" /></p> | |
| 28 | - | |
| 29 | - </div> | |
| 30 | - </div> | |
| 31 | - </div> | |
| 32 | - | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * @package Adminimize | |
| 4 | + * @subpackage Uninstall options | |
| 5 | + * @author Frank Bültge | |
| 6 | + */ | |
| 7 | +if ( ! function_exists( 'add_action' ) ) { | |
| 8 | + echo "Hi there! I'm just a part of plugin, not much I can do when called directly."; | |
| 9 | + exit; | |
| 10 | +} | |
| 11 | +?> | |
| 12 | +<div id="poststuff" class="ui-sortable meta-box-sortables"> | |
| 13 | + <div class="postbox"> | |
| 14 | + <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div> | |
| 15 | + <h3 class="hndle" id="uninstall"><?php esc_attr_e( 'Uninstall Options', 'adminimize' ) ?></h3> | |
| 16 | + <div class="inside"> | |
| 17 | + | |
| 18 | + <p><?php esc_attr_e( | |
| 19 | + 'Use this option for clean your database from all entries of this plugin. When you deactivate the plugin, the deinstall of the plugin <strong>clean not</strong> all entries in the database.', | |
| 20 | + 'adminimize' | |
| 21 | + ); ?></p> | |
| 22 | + <form name="deinstall_options" method="post" id="_mw_adminimize_options_deinstall" action="?page=<?php echo esc_attr( | |
| 23 | + $_GET[ 'page' ] | |
| 24 | + ); ?>"> | |
| 25 | + <?php wp_nonce_field( 'mw_adminimize_nonce' ); ?> | |
| 26 | + <p id="submitbutton"> | |
| 27 | + <input type="submit" name="_mw_adminimize_deinstall" value="<?php esc_attr_e( | |
| 28 | + 'Delete Options', 'adminimize' | |
| 29 | + ); ?> »" class="button-secondary" /> | |
| 30 | + <input type="checkbox" name="_mw_adminimize_deinstall_yes" value="_mw_adminimize_deinstall" /> | |
| 31 | + <input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_deinstall" /> | |
| 32 | + </p> | |
| 33 | + </form> | |
| 34 | + <p> | |
| 35 | + <a class="alignright button" href="javascript:void(0);" onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;"><?php | |
| 36 | + esc_attr_e( 'scroll to top', 'adminimize' ); ?></a><br class="clear" /> | |
| 37 | + </p> | |
| 38 | + | |
| 39 | + </div> | |
| 40 | + </div> | |
| 41 | +</div> | |
| 42 | + | |