| 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', 'adminimize' ); ?>"><br /></div> |
| 15 |
<h3 class="hndle" id="uninstall"><?php esc_attr_e( 'Uninstall Options', 'adminimize' ) ?></h3> |
| 16 |
<div class="inside"> |
| 17 |
|
| 18 |
<p><?php _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_uninstall" value="<?php esc_attr_e( |
| 28 |
'Delete Options', 'adminimize' |
| 29 |
); ?> »" class="button-secondary" /> |
| 30 |
<input type="checkbox" name="_mw_adminimize_uninstall_yes" value="_mw_adminimize_uninstall" /> |
| 31 |
<input type="hidden" name="_mw_adminimize_action" value="_mw_adminimize_uninstall" /> |
| 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 |
|
| 43 |
|