PluginProbe
LoginPress | wp-login Custom Login Page Customizer / 3.0.2
LoginPress | wp-login Custom Login Page Customizer v3.0.2
6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.2 1.0.20 1.0.21 1.0.22 1.0.23 1.0.3 1.0.4 All 118 releases
loginpress / include / loginpress-import-export.php

loginpress-import-export.php in LoginPress | wp-login Custom Login Page Customizer 3.0.2, at include/loginpress-import-export.php

50 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * LoginPress Import Export Page Content.
4 * @package LoginPress
5 * @since 1.0.19
6 * @version 1.1.14
7 */
8
9 $loginpress_import_nonce = wp_create_nonce('loginpress-import-nonce');
10 $loginpress_export_nonce = wp_create_nonce('loginpress-export-nonce');
11 ?>
12 <div class="loginpress-import-export-page">
13 <h2><?php esc_html_e( 'Import/Export LoginPress Settings', 'loginpress' ); ?></h2>
14 <div class=""><?php esc_html_e( "Import/Export your LoginPress Settings for/from other sites. This will export/import all the settings including Customizer settings as well.", 'loginpress' ); ?></div>
15 <table class="form-table">
16 <tbody>
17 <tr class="import_setting">
18 <th scope="row">
19 <label for="loginpress_configure[import_setting]"><?php esc_html_e( 'Import Settings:', 'loginpress' ); ?></label>
20 </th>
21 <td>
22 <div class="upload-file"><span>Upload File</span><input type="file" name="loginPressImport" id="loginPressImport"></div>
23 <input type="button" class="button loginpress-import" value="<?php esc_html_e( 'Import', 'loginpress' ); ?>" multiple="multiple" disabled="disabled">
24 <input type="hidden" class="loginpress_import_nonce" name="loginpress_import_nonce" value="<?php echo $loginpress_import_nonce; ?>">
25 <span class="import-sniper">
26 <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>">
27 </span>
28 <span class="import-text"><?php esc_html_e( 'LoginPress Settings Imported Successfully.', 'loginpress' ); ?></span>
29 <span class="wrong-import"></span>
30 <p class="description"><?php esc_html_e( 'Select a file and click on Import to start processing.', 'loginpress' ); ?></p>
31 </td>
32 </tr>
33 <tr class="export_setting">
34 <th scope="row">
35 <label for="loginpress_configure[export_setting]"><?php esc_html_e( 'Export Settings:', 'loginpress' ); ?></label>
36 </th>
37 <td>
38 <input type="button" class="button loginpress-export" value="<?php esc_html_e( 'Export', 'loginpress' ); ?>">
39 <input type="hidden" class="loginpress_export_nonce" name="loginpress_export_nonce" value="<?php echo $loginpress_export_nonce; ?>">
40 <span class="export-sniper">
41 <img src="<?php echo admin_url( 'images/wpspin_light.gif' ); ?>">
42 </span>
43 <span class="export-text"><?php esc_html_e( 'LoginPress Settings Exported Successfully!', 'loginpress' ); ?></span>
44 <p class="description"><?php esc_html_e( 'Export LoginPress Settings.', 'loginpress' ) ?></p>
45 </td>
46 </tr>
47 </tbody>
48 </table>
49 </div>
50