PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / trunk
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP vtrunk
1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 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.20 1.0.21 1.0.22 1.0.23 All 172 releases
userswp / admin / views / html-admin-settings-import-export-settings.php

html-admin-settings-import-export-settings.php in UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP trunk, at admin/views/html-admin-settings-import-export-settings.php

32 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="metabox-holder">
2 <div class="postbox">
3 <h3><span><?php esc_html_e( 'Export Settings', 'userswp' ); ?></span></h3>
4 <div class="inside">
5 <p><?php esc_html_e( 'Export the plugin settings for this site as a .json file. This allows you to easily import the configuration into another site.', 'userswp' ); ?></p>
6 <form method="post">
7 <p><input type="hidden" name="uwp_ie_action" value="export_settings" /></p>
8 <p>
9 <?php wp_nonce_field( 'uwp_export_nonce', 'uwp_export_nonce' ); ?>
10 <?php submit_button( __( 'Export', 'userswp' ), 'primary', 'submit', false ); ?>
11 </p>
12 </form>
13 </div>
14 </div>
15
16 <div class="postbox">
17 <h3><span><?php esc_html_e( 'Import Settings', 'userswp' ); ?></span></h3>
18 <div class="inside">
19 <p><?php esc_html_e( 'Import the plugin settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'userswp' ); ?></p>
20 <form method="post" enctype="multipart/form-data">
21 <p>
22 <input type="file" name="import_file" class="uwp-import-setting-file"/>
23 </p>
24 <p>
25 <input type="hidden" name="uwp_ie_action" value="import_settings" />
26 <?php wp_nonce_field( 'uwp_import_nonce', 'uwp_import_nonce' ); ?>
27 <?php submit_button( __( 'Import', 'userswp' ), 'primary', 'submit', false ); ?>
28 </p>
29 </form>
30 </div>
31 </div>
32 </div>