html-admin-page-addons.php
2 years ago
html-admin-page-builder.php
4 years ago
html-admin-page-entries-view.php
3 years ago
html-admin-page-export.php
3 years ago
html-admin-page-form-templates.php
3 years ago
html-admin-page-import.php
3 years ago
html-admin-page-tools-logs.php
4 years ago
html-admin-page-tools.php
5 years ago
html-admin-settings.php
7 years ago
html-deactivation-popup.php
3 years ago
html-notice-allow-usage.php
2 years ago
html-notice-custom.php
6 years ago
html-notice-php-deprecation.php
3 years ago
html-notice-review.php
2 years ago
html-notice-survey.php
4 years ago
html-notice-update.php
6 years ago
html-notice-updated.php
6 years ago
html-notice-updating.php
6 years ago
html-admin-page-import.php
30 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin View: Page - Import |
| 4 | * |
| 5 | * @package EverestForms/Admin/Import |
| 6 | */ |
| 7 | |
| 8 | defined( 'ABSPATH' ) || exit; |
| 9 | |
| 10 | ?> |
| 11 | <div class="everest-forms-import-form"> |
| 12 | <h3><?php esc_html_e( 'Import Everest Forms', 'everest-forms' ); ?></h3> |
| 13 | <p><?php esc_html_e( 'Select JSON file to import the form.', 'everest-forms' ); ?></p> |
| 14 | <div class="everest-forms-file-upload"> |
| 15 | <input type="file" name="file" id="everest-forms-import" <?php esc_attr_e( 'files selected', 'everest-forms' ); ?>" accept=".json" /> |
| 16 | <label for="everest-forms-import"><span class="everest-forms-btn dashicons dashicons-upload"><?php esc_html_e( 'Choose File', 'everest-forms' ); ?></span><span id="import-file-name"><?php esc_html_e( 'No file selected', 'everest-forms' ); ?></span></label> |
| 17 | </div> |
| 18 | <p class="description"> |
| 19 | <i class="dashicons dashicons-info"></i> |
| 20 | <?php |
| 21 | /* translators: %s: File format */ |
| 22 | printf( esc_html__( 'Only %s file is allowed.', 'everest-forms' ), '<strong>JSON</strong>' ); |
| 23 | ?> |
| 24 | </p> |
| 25 | <div class="publishing-action"> |
| 26 | <button type="submit" class="everest-forms-btn everest-forms-btn-primary everest_forms_import_action" name="everest-forms-import-form"><?php esc_html_e( 'Import Form', 'everest-forms' ); ?></button> |
| 27 | <?php wp_nonce_field( 'everest_forms_import_nonce', 'everest-forms-import-nonce' ); ?> |
| 28 | </div> |
| 29 | </div> |
| 30 |