html-admin-page-data.php
5 years ago
html-admin-page-exports.php
3 years ago
html-admin-page-import-core-settings.php
6 years ago
html-admin-page-import-donations.php
6 years ago
html-admin-page-import-subscriptions.php
8 months ago
html-admin-page-imports.php
8 months ago
html-admin-page-system-info.php
9 months ago
html-admin-page-import-core-settings.php
73 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin View: Import Core Settings |
| 4 | */ |
| 5 | |
| 6 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | exit; |
| 8 | } |
| 9 | |
| 10 | if ( ! current_user_can( 'manage_give_settings' ) ) { |
| 11 | return; |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Fires before displaying the import div tools. |
| 16 | * |
| 17 | * @since 1.8.17 |
| 18 | */ |
| 19 | do_action( 'give_tools_import_core_settings_main_before' ); |
| 20 | ?> |
| 21 | <div id="poststuff" class="give-clearfix"> |
| 22 | <div class="postbox"> |
| 23 | <h1 class="give-importer-h1" align="center"><?php esc_html_e( 'Import Settings', 'give' ); ?></h1> |
| 24 | <div class="inside give-tools-setting-page-import give-import-core-settings"> |
| 25 | <?php |
| 26 | /** |
| 27 | * Fires before from start. |
| 28 | * |
| 29 | * @since 1.8.17 |
| 30 | */ |
| 31 | do_action( 'give_tools_import_core_settings_form_before_start' ); |
| 32 | ?> |
| 33 | <form method="post" id="give-import-core-settings-form" |
| 34 | class="give-import-form tools-setting-page-import tools-setting-page-import" |
| 35 | enctype="multipart/form-data"> |
| 36 | |
| 37 | <?php |
| 38 | /** |
| 39 | * Fires just after form start. |
| 40 | * |
| 41 | * @since 1.8.17 |
| 42 | */ |
| 43 | do_action( 'give_tools_import_core_settings_form_start' ); |
| 44 | ?> |
| 45 | |
| 46 | <?php |
| 47 | /** |
| 48 | * Fires just after before form end. |
| 49 | * |
| 50 | * @since 1.8.17 |
| 51 | */ |
| 52 | do_action( 'give_tools_import_core_settings_form_end' ); |
| 53 | ?> |
| 54 | </form> |
| 55 | <?php |
| 56 | /** |
| 57 | * Fires just after form end. |
| 58 | * |
| 59 | * @since 1.8.17 |
| 60 | */ |
| 61 | do_action( 'give_tools_import_core_settings_form_after_end' ); |
| 62 | ?> |
| 63 | </div><!-- .inside --> |
| 64 | </div><!-- .postbox --> |
| 65 | </div><!-- #poststuff --> |
| 66 | <?php |
| 67 | /** |
| 68 | * Fires after displaying the import div tools. |
| 69 | * |
| 70 | * @since 1.8.17 |
| 71 | */ |
| 72 | do_action( 'give_tools_import_core_settings_main_after' ); |
| 73 |