| 1 |
<?php |
| 2 |
/** |
| 3 |
* Onboarding Wizard Page. |
| 4 |
* |
| 5 |
* @package Formidable |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
die( 'You are not allowed to call this page directly.' ); |
| 10 |
} |
| 11 |
?> |
| 12 |
<div id="frm-onboarding-wizard-page" class="frm_wrap" data-current-step="consent-tracking"> |
| 13 |
<div id="frm-onboarding-container" class="frm-flex-col frm-justify-center frm-items-center"> |
| 14 |
<ul id="frm-onboarding-rootline" class="frm-rootline"> |
| 15 |
<li class="frm-rootline-item" data-step="consent-tracking"> |
| 16 |
<?php FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_icon frm_svg9', array( 'aria-hidden' => 'true' ) ); ?> |
| 17 |
</li> |
| 18 |
<li class="frm-rootline-item" data-step="install-addons"> |
| 19 |
<?php FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_icon frm_svg9', array( 'aria-hidden' => 'true' ) ); ?> |
| 20 |
</li> |
| 21 |
<li class="frm-rootline-item" data-step="success"> |
| 22 |
<?php FrmAppHelper::icon_by_class( 'frmfont frm_checkmark_icon frm_svg9', array( 'aria-hidden' => 'true' ) ); ?> |
| 23 |
</li> |
| 24 |
</ul> |
| 25 |
|
| 26 |
<?php |
| 27 |
foreach ( $step_parts as $step => $file ) { |
| 28 |
require $view_path . $file; |
| 29 |
} |
| 30 |
?> |
| 31 |
|
| 32 |
<a id="frm-onboarding-return-dashboard" href="<?php echo esc_url( admin_url( 'admin.php?page=' . FrmDashboardController::PAGE_SLUG ) ); ?>"> |
| 33 |
<?php esc_html_e( 'Exit Onboarding', 'formidable' ); ?> |
| 34 |
</a> |
| 35 |
</div> |
| 36 |
|
| 37 |
<?php if ( $license_key ) { ?> |
| 38 |
<input type="hidden" id="frm-license-key" name="frm-license-key" value="<?php echo esc_attr( $license_key ); ?>"> |
| 39 |
<?php } ?> |
| 40 |
</div> |
| 41 |
|