setup.php
21 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly |
| 4 | } |
| 5 | ?> |
| 6 | <div class="os-wizard-setup-w step-<?php echo esc_attr($current_step_code); ?>"> |
| 7 | <a href="#" data-route-name="<?php echo esc_attr( OsRouterHelper::build_route_name( 'wizard', 'skip_setup' ) ); ?>" class="os-wizard-close-trigger os-wizard-skip-btn"><span><?php esc_html_e( 'Skip setup', 'latepoint' ); ?></span><i class="latepoint-icon latepoint-icon-x"></i></a> |
| 8 | <div class="os-wizard-setup-i"> |
| 9 | <div class="os-wizard-step-content-w"> |
| 10 | <div class="os-wizard-step-content"> |
| 11 | <?php include($step_file_to_include); ?> |
| 12 | </div> |
| 13 | <div class="os-wizard-footer"> |
| 14 | <?php echo OsFormHelper::hidden_field('current_step_code', $current_step_code, ['id' => 'wizard_current_step_code']); ?> |
| 15 | <?php wp_nonce_field( 'wizard_step', '_wpnonce', false ); ?> |
| 16 | <a href="#" data-route-name="<?php echo esc_attr(OsRouterHelper::build_route_name('wizard', 'prev_step')); ?>" class="latepoint-btn latepoint-btn-lg latepoint-btn-white os-wizard-prev-btn os-wizard-trigger-prev-btn" style="display: none;"><i class="latepoint-icon latepoint-icon-arrow-left"></i> <span><?php esc_html_e('Back', 'latepoint'); ?></span></a> |
| 17 | <a href="#" data-route-name="<?php echo esc_attr(OsRouterHelper::build_route_name('wizard', 'next_step')); ?>" class="latepoint-btn latepoint-btn-lg os-wizard-next-btn os-wizard-trigger-next-btn"><span><?php esc_html_e('Next', 'latepoint'); ?></span> <i class="latepoint-icon latepoint-icon-arrow-right"></i></a> |
| 18 | </div> |
| 19 | </div> |
| 20 | </div> |
| 21 | </div> |