| @@ -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 |