PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.0.5
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.0.5
3.6.0 3.5.3 3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / includes / admin / views / html-admin-page-import.php
everest-forms / includes / admin / views Last commit date
html-admin-page-addons.php 2 years ago html-admin-page-builder.php 2 years ago html-admin-page-dashboard.php 2 years ago html-admin-page-entries-view.php 2 years ago html-admin-page-export.php 3 years ago html-admin-page-form-migrator.php 2 years ago html-admin-page-form-templates.php 2 years ago html-admin-page-import.php 2 years ago html-admin-page-setting.php 2 years ago html-admin-page-tools-logs.php 4 years ago html-admin-page-tools.php 1 year ago html-admin-settings.php 1 year 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-email-failed-notice.php 1 year ago html-notice-php-deprecation.php 3 years ago html-notice-review.php 3 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
75 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 <div class="everest-forms-import-entries-wrapper">
31 <h3><?php esc_html_e( 'Import Entries', 'everest-forms' ); ?></h3>
32 <div class="evf-form-and-csv-upload">
33 <div class="everest-forms-upload-csv-container">
34 <?php
35 $forms = evf_get_all_forms( false );
36 if ( empty( $forms ) ) {
37 echo '<div id="message" class="error inline everest-froms-import_notice"><p><strong>You must have form to import entries.</strong></p></div>';
38 }
39 ?>
40 <p><?php esc_html_e( 'Select form to import the entries.', 'everest-forms' ); ?></p>
41 <?php
42 if ( empty( $forms ) ) {
43 echo "<select class='evf-enhanced-select' style='min-width: 350px;' name='form_id' id='everest-forms-import-entries'>";
44 echo '<option value="">' . esc_html__( 'No form found', 'everest-forms' ) . '</option>';
45 echo '</select>';
46 return;
47 } else {
48 echo "<select class='evf-enhanced-select' style='min-width: 350px;' name='form_id' id='everest-forms-import-entries'>";
49 foreach ( $forms as $form_id => $form_name ) {
50 echo "<option value='" . esc_attr( $form_id ) . "'>" . esc_html( $form_name ) . '</option>';
51 }
52 echo '</select>';
53 }
54 ?>
55 <p><?php esc_html_e( 'Select csv file to import the entries.', 'everest-forms' ); ?></p>
56
57 <div class="everest-forms-file-upload">
58 <input type="file" name="file" id="everest-forms-import-csv" <?php esc_attr_e( 'files selected', 'everest-forms' ); ?>" accept=".csv" />
59 <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-entry"><?php esc_html_e( 'No file selected', 'everest-forms' ); ?></span></label>
60 </div>
61 <p class="description">
62 <i class="dashicons dashicons-info"></i>
63 <?php
64 /* translators: %s: File format */
65 printf( esc_html__( 'Only %s file is allowed.', 'everest-forms' ), '<strong>CSV</strong>' );
66 ?>
67 </p>
68 <div class="publishing-action">
69 <button type="submit" class="everest-forms-btn everest-forms-btn-primary everest_forms_import_entries" name="everest-forms-import-entries"><?php esc_html_e( 'Map CSV', 'everest-forms' ); ?></button>
70 <?php wp_nonce_field( 'everest_forms_import_nonce', 'everest-forms-import-nonce' ); ?>
71 </div>
72 </div>
73 </div>
74 </div>
75