| 1 |
<?php |
| 2 |
/** |
| 3 |
* Onboarding Wizard - Never miss an important update step. |
| 4 |
* |
| 5 |
* @package Formidable |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
die( 'You are not allowed to call this page directly.' ); |
| 10 |
} |
| 11 |
?> |
| 12 |
<section id="frm-onboarding-consent-tracking-step" class="frm-onboarding-step frm-card-box frmcenter frm-current" data-step-name="<?php echo esc_attr( $step ); ?>"> |
| 13 |
<div class="frm-card-box-header"> |
| 14 |
<img class="frm-onboarding-logo" src="<?php echo esc_url( FrmAppHelper::plugin_url() ); ?>/images/logo.svg" alt="<?php esc_attr_e( 'Formidable Onboarding Wizard Logo', 'formidable' ); ?>" /> |
| 15 |
</div> |
| 16 |
|
| 17 |
<div class="frm-card-box-content frm-mt-md"> |
| 18 |
<h2 class="frm-card-box-title frm-mb-sm"><?php esc_html_e( 'Never miss an important update', 'formidable' ); ?></h2> |
| 19 |
<p class="frm-card-box-text"> |
| 20 |
<?php esc_html_e( 'Get key updates, tips, and occasional offers to enhance your WordPress experience. Opt in and help us improve compatibility with your site!', 'formidable' ); ?> |
| 21 |
</p> |
| 22 |
</div> |
| 23 |
|
| 24 |
<?php |
| 25 |
FrmOnboardingWizardHelper::print_footer( |
| 26 |
array( |
| 27 |
'primary-button-text' => __( 'Allow & Continue', 'formidable' ), |
| 28 |
'primary-button-id' => 'frm-onboarding-consent-tracking', |
| 29 |
'primary-button-with-icon' => true, |
| 30 |
'secondary-button-text' => __( 'Skip', 'formidable' ), |
| 31 |
'footer-class' => 'frm-justify-center', |
| 32 |
'display-back-button' => false, |
| 33 |
) |
| 34 |
); |
| 35 |
?> |
| 36 |
|
| 37 |
<div class="dropdown frm-mt-lg"> |
| 38 |
<div id="frm-onboarding-consent-tracking-list" class="frm-dropdown-toggle frm-cursor-pointer" data-toggle="dropdown"> |
| 39 |
<span class="frm_bstooltip" data-placement="right"> |
| 40 |
<?php esc_html_e( 'Allow Formidable Forms to', 'formidable' ); ?> |
| 41 |
</span> |
| 42 |
|
| 43 |
<?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown6_icon frm_svg13', array( 'aria-hidden' => 'true' ) ); ?> |
| 44 |
</div> |
| 45 |
|
| 46 |
<div class="frm-dropdown-menu frm-mt-sm" aria-labelledby="frm-onboarding-consent-tracking-list"> |
| 47 |
<div class="frm-flex frm-gap-xs frm-items-center frm-py-sm"> |
| 48 |
<span><?php FrmAppHelper::icon_by_class( 'frmfont frm_user_icon frm_svg15', array( 'aria-hidden' => 'true' ) ); ?></span> |
| 49 |
|
| 50 |
<div class="frm-flex-col frm-gap-2xs frm-ml-2xs"> |
| 51 |
<h4 class="frm-flex frm-gap-xs frm-items-center frm-text-sm frm-font-medium frm-text-grey-700 frm-m-0"> |
| 52 |
<?php |
| 53 |
esc_html_e( 'View Basic Profile Info', 'formidable' ); |
| 54 |
|
| 55 |
FrmAppHelper::tooltip_icon( |
| 56 |
__( 'Never miss important updates, get security warnings before they become public knowledge, and receive notifications about special offers and awesome new features.', 'formidable' ), |
| 57 |
array( |
| 58 |
'class' => 'frm-inline-flex', |
| 59 |
) |
| 60 |
); |
| 61 |
?> |
| 62 |
</h4> |
| 63 |
<span class="frm-text-xs frm-text-grey-500 frm-m-0"><?php esc_html_e( 'Your WordPress user’s: first & last name and email address', 'formidable' ); ?></span> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
|
| 67 |
<div class="frm-flex frm-gap-xs frm-items-center frm-py-sm"> |
| 68 |
<span><?php FrmAppHelper::icon_by_class( 'frmfont frm_sample_form_icon frm_svg15', array( 'aria-hidden' => 'true' ) ); ?></span> |
| 69 |
|
| 70 |
<div class="frm-flex-col frm-gap-2xs frm-ml-2xs"> |
| 71 |
<h4 class="frm-flex frm-gap-xs frm-items-center frm-text-sm frm-font-medium frm-text-grey-700 frm-m-0"> |
| 72 |
<?php |
| 73 |
esc_html_e( 'View Basic Website Info', 'formidable' ); |
| 74 |
|
| 75 |
FrmAppHelper::tooltip_icon( |
| 76 |
__( 'To provide additional functionality that’s relevant to your website, avoid WordPress or PHP incompatibilities that can break your website, and recognize which languages & regions the plugin should be translated and tailored to.', 'formidable' ), |
| 77 |
array( |
| 78 |
'class' => 'frm-inline-flex', |
| 79 |
) |
| 80 |
); |
| 81 |
?> |
| 82 |
</h4> |
| 83 |
<span class="frm-text-xs frm-text-grey-500 frm-m-0"><?php esc_html_e( 'Homepage URL & title, WP & PHP versions, site language', 'formidable' ); ?></span> |
| 84 |
</div> |
| 85 |
</div> |
| 86 |
|
| 87 |
<div class="frm-flex frm-gap-xs frm-items-center frm-py-sm"> |
| 88 |
<span><?php FrmAppHelper::icon_by_class( 'frmfont frm_puzzle_icon_thin frm_svg15', array( 'aria-hidden' => 'true' ) ); ?></span> |
| 89 |
|
| 90 |
<div class="frm-flex-col frm-gap-2xs frm-ml-2xs"> |
| 91 |
<h4 class="frm-flex frm-gap-xs frm-items-center frm-text-sm frm-font-medium frm-text-grey-700 frm-m-0"> |
| 92 |
<?php esc_html_e( 'View Basic Plugin Info', 'formidable' ); ?> |
| 93 |
</h4> |
| 94 |
<span class="frm-text-xs frm-text-grey-500 frm-m-0"><?php esc_html_e( 'Current plugin & SDK versions, and if active or uninstalled', 'formidable' ); ?></span> |
| 95 |
</div> |
| 96 |
</div> |
| 97 |
|
| 98 |
<div class="frm-flex frm-gap-xs frm-items-center frm-py-sm"> |
| 99 |
<span><?php FrmAppHelper::icon_by_class( 'frmfont frm-field-colors-style frm_svg20', array( 'aria-hidden' => 'true' ) ); ?></span> |
| 100 |
|
| 101 |
<div class="frm-flex-col frm-gap-2xs frm-ml-2xs"> |
| 102 |
<h4 class="frm-flex frm-gap-xs frm-items-center frm-text-sm frm-font-medium frm-text-grey-700 frm-m-0"> |
| 103 |
<?php |
| 104 |
esc_html_e( 'View Plugins & Themes List', 'formidable' ); |
| 105 |
|
| 106 |
FrmAppHelper::tooltip_icon( |
| 107 |
__( 'To ensure compatibility and avoid conflicts with your installed plugins and themes.', 'formidable' ), |
| 108 |
array( |
| 109 |
'class' => 'frm-inline-flex', |
| 110 |
) |
| 111 |
); |
| 112 |
?> |
| 113 |
</h4> |
| 114 |
<span class="frm-text-xs frm-text-grey-500 frm-m-0"><?php esc_html_e( 'Names, slugs, versions, and if active or not', 'formidable' ); ?></span> |
| 115 |
</div> |
| 116 |
</div> |
| 117 |
</div> |
| 118 |
</div> |
| 119 |
</section> |
| 120 |
|