custom_day_schedule_form.php
1 year ago
default_form_fields.php
1 year ago
general.php
1 month ago
generate_instant_booking_page.php
1 year ago
get_pro.php
1 year ago
import_modal.php
1 year ago
notifications.php
1 year ago
pages.php
1 year ago
payments.php
1 year ago
premium_modal.php
1 year ago
steps_order_modal.php
5 months ago
version_5_intro.php
1 year ago
work_periods.php
1 year ago
import_modal.php
23 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @var $steps array |
| 4 | */ |
| 5 | ?> |
| 6 | <?php |
| 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | exit; // Exit if accessed directly |
| 9 | } |
| 10 | ?> |
| 11 | <form class="latepoint-lightbox-wrapper-form" data-os-action="<?php echo esc_attr(OsRouterHelper::build_route_name('settings', 'start_import')); ?>"> |
| 12 | <?php wp_nonce_field('import_json_data'); ?> |
| 13 | <div class="latepoint-lightbox-heading"> |
| 14 | <h2><?php esc_html_e('Import LatePoint Data', 'latepoint'); ?></h2> |
| 15 | </div> |
| 16 | <div class="latepoint-lightbox-content"> |
| 17 | <?php echo OsFormHelper::file_upload_field('latepoint_json_data', __('Select JSON file to upload', 'latepoint')); ?> |
| 18 | <?php echo OsFormHelper::checkbox_field('latepoint_data_erase_acknowledgement', __('I understand that this import will replace all of my existing LatePoint data.', 'latepoint'), 'on'); ?> |
| 19 | </div> |
| 20 | <div class="latepoint-lightbox-footer"> |
| 21 | <button type="submit" class="latepoint-btn"><?php esc_html_e('Start Import', 'latepoint'); ?></button> |
| 22 | </div> |
| 23 | </form> |