PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.0
WP Coder – Insert & Manage Code Snippets v3.0
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
← All changes | includes/pages/3.tools.php +17 -27 3.13.0 View file →
@@ -3,47 +3,37 @@
3 3 * Page Name: Import/Export
4 4 *
5 5 */
6 6
7 -use WPCoder\Dashboard\DashboardInitializer;
8 7 use WPCoder\Dashboard\ImporterExporter;
9 -use WPCoder\WPCoder;
8 +use WPCoder\WOW_Plugin;
10 9
11 10 defined( 'ABSPATH' ) || exit;
11 +
12 12 ?>
13 13
14 - <div class="wowp-header-wrapper">
15 - <?php DashboardInitializer::header(); ?>
14 + <div class="w_block w_has-border">
16 15
17 - <div class="wowp-header-title">
18 - <h2><?php esc_html_e( 'Import / Export', 'wpcoder' ); ?></h2>
19 - </div>
20 -
21 - </div>
22 -
23 - <div class="wrap wowp-wrap">
24 - <div class="w_block w_has-border">
25 -
26 - <div class="inside">
27 - <h3><span class="dashicons dashicons-database-export"></span> <span><?php esc_attr_e( 'Export Settings', 'wpcoder' ); ?></span></h3>
28 16 <div class="inside">
29 - <p><?php
30 - printf( esc_attr__( 'Export the settings for %s as a .json file. This allows you to easily import the configuration into another site.', 'wpcoder' ), '<b>' . esc_attr( WPCoder::info( 'name' ) ) . '</b>' ); ?></p>
31 - <?php ImporterExporter::form_export(); ?>
17 + <h3><span><?php esc_attr_e( 'Export Settings', 'wpcoder' ); ?></span></h3>
18 + <div class="inside">
19 + <p><?php
20 + printf( esc_attr__( 'Export the settings for %s as a .json file. This allows you to easily import the configuration into another site.', 'wpcoder' ), '<b>' . esc_attr( WOW_Plugin::NAME ) . '</b>' ); ?></p>
21 + <?php ImporterExporter::form_export(); ?>
22 + </div>
32 23 </div>
33 - </div>
34 - <hr>
24 + <hr>
35 25
36 - <div class="inside">
37 - <h3><span class="dashicons dashicons-database-import"></span> <span><?php esc_attr_e( 'Import Settings', 'wpcoder' ); ?></span></h3>
38 26 <div class="inside">
39 - <p><?php
40 - printf( esc_attr__( 'Import the %s settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'wpcoder' ), '<b>' . esc_attr( WPCoder::info( 'name' ) ) . '</b> ' ); ?></p>
41 - <?php ImporterExporter::form_import(); ?>
27 + <h3><span><?php esc_attr_e( 'Import Settings', 'wpcoder' ); ?></span></h3>
28 + <div class="inside">
29 + <p><?php
30 + printf( esc_attr__( 'Import the %s settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'wpcoder' ), '<b>' . esc_attr( WOW_Plugin::NAME ) . '</b> ' ); ?></p>
31 + <?php ImporterExporter::form_import(); ?>
32 + </div>
42 33 </div>
43 - </div>
44 34
45 35
46 - </div>
36 +
47 37 </div>
48 38
49 39 <?php