PluginProbe
Adminimize / 1.9.1
Adminimize v1.9.1
1.11.14 1.11.13 1.11.1 1.11.10 1.11.11 1.11.12 1.11.2 1.11.3 1.11.4 1.11.5 1.11.6 1.11.7 1.11.8 1.11.9 1.3 1.4.7 1.6 1.7.12 1.7.13 1.7.14 1.7.15 1.7.16 1.7.17 1.7.18 1.7.19 All 53 releases
← All changes | inc-options/im_export_options.php +6 -18 1.11.5 → 1.9.1 View file →
@@ -10,29 +10,16 @@
10 10 }
11 11 ?>
12 12 <div id="poststuff" class="ui-sortable meta-box-sortables">
13 13 <div class="postbox">
14 - <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle', 'adminimize' ); ?>"><br /></div>
14 + <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
15 15 <h3 class="hndle" id="import"><?php esc_attr_e( 'Export/Import Options', 'adminimize' ) ?></h3>
16 16
17 17 <div class="inside">
18 + <br class="clear" />
18 19
19 20 <h4><?php esc_attr_e( 'Export', 'adminimize' ) ?></h4>
20 - <p><?php esc_attr_e(
21 - 'You can save a JSON formatted ".json" file with your settings.', 'adminimize'
22 - ) ?></p>
23 - <form method="post">
24 - <p><input type="hidden" name="_mw_adminimize_export" value="true" /></p>
25 - <p>
26 - <?php wp_nonce_field( 'mw_adminimize_export_nonce', 'mw_adminimize_export_nonce' ); ?>
27 - <?php
28 - $submit_text = esc_html__( 'Export &raquo;', 'adminimize' );
29 - submit_button( $submit_text, 'primary', '_mw_adminimize_save', false ); ?>
30 - </p>
31 - </form>
32 - <br class="clear" />
33 21
34 -<?php /*
35 22 <form name="export_options" method="get" action="">
36 23 <p><?php esc_attr_e(
37 24 'You can save a JSON formatted ".json" file with your settings.', 'adminimize'
38 25 ) ?></p>
@@ -48,15 +35,16 @@
48 35 );
49 36 ?>
50 37 </p>
51 38 </form>
52 -*/ ?>
39 +
53 40 <h4><?php esc_attr_e( 'Import', 'adminimize' ) ?></h4>
41 +
54 42 <form name="import_options" enctype="multipart/form-data" method="post" action="?page=<?php echo esc_attr(
55 43 $_GET[ 'page' ]
56 44 ); ?>">
57 45 <?php wp_nonce_field( 'mw_adminimize_nonce' ); ?>
58 - <p><?php _e(
46 + <p><?php esc_attr_e(
59 47 'Choose a Adminimize (<em>.json</em>) file to upload, then click <em>Upload file and import</em>.',
60 48 'adminimize'
61 49 );
62 50 esc_html_e( 'After import please reload the page to display also all global values from WordPress.', 'adminimize' ); ?>
@@ -84,9 +72,9 @@
84 72 </p>
85 73 </form>
86 74
87 75 <p>
88 - <a class="alignright button adminimize-scroltop" href="#" style="margin:3px 0 0 30px;">
76 + <a class="alignright button" href="javascript:void(0);" onclick="window.scrollTo(0,0);" style="margin:3px 0 0 30px;">
89 77 <?php esc_html_e(
90 78 'scroll to top', 'adminimize'
91 79 ); ?>
92 80 </a><br class="clear" />