PluginProbe
Lasso Lite – Affiliate Link Manager & Product Displays / 154
Lasso Lite – Affiliate Link Manager & Product Displays v154
158 157 155 156 154 153 152 151 150 149 148 trunk 0.9.9 104 105 106 107 108 109 110 111 112 113 114 115 All 57 releases
simple-urls / admin / views / onboarding / index.php

index.php in Lasso Lite – Affiliate Link Manager & Product Displays 154, at admin/views/onboarding/index.php

80 lines 2.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Onbroarding
4 *
5 * @package Onbroarding
6 */
7
8 use LassoLite\Classes\Config;
9 use LassoLite\Classes\Enum;
10 use LassoLite\Classes\Helper;
11 use LassoLite\Classes\Page;
12 use LassoLite\Classes\Setting;
13 use LassoLite\Classes\Lasso_DB;
14
15 $lasso_options = Setting::get_settings();
16 $should_show_import_step = Helper::should_show_import_page();
17 $onboarding_resume_step = Helper::get_onboarding_current_step( $should_show_import_step );
18 ?>
19
20 <section class="purple-bg pt-3 pb-5 min-vh-116">
21 <div
22 id="onboarding_container"
23 class="container container-sm lite-container"
24 data-dashboard-url="<?php echo htmlspecialchars( Page::get_lite_page_url( Enum::PAGE_DASHBOARD ), ENT_QUOTES, 'UTF-8' ); ?>"
25 data-resume-step="<?php echo esc_attr( $onboarding_resume_step ); ?>"
26 >
27 <!-- LOGO -->
28 <div class="pb-5">
29 <div class="logo-large mx-auto">
30 <img src="<?php echo SIMPLE_URLS_URL; ?>/admin/assets/images/lasso-logo.svg">
31 </div>
32 </div>
33
34 <div class="mt-5 mx-auto white-bg shadow rounded p-5 onboarding-steps-card">
35 <div class="onboarding-resume-loading" aria-hidden="true" role="status">
36 <div class="onboarding-resume-loading__spinner"></div>
37 </div>
38 <div class="onboarding-steps-panel">
39 <!-- WELCOME -->
40 <?php echo Helper::include_with_variables( Helper::get_path_views_folder() . 'onboarding/welcome-step.php',
41 array(
42 'should_show_import_step' => $should_show_import_step
43 ) ); ?>
44
45 <!-- CUSTOMIZE DISPLAY -->
46 <?php echo Helper::include_with_variables( Helper::get_path_views_folder() . 'onboarding/display-step.php', array(
47 'lasso_options' => $lasso_options,
48 'should_show_import_step' => $should_show_import_step
49 ) ); ?>
50
51 <!-- AMAZON ASSOCIATES INFO -->
52 <?php echo Helper::include_with_variables( Helper::get_path_views_folder() . 'onboarding/amazon-step.php', array(
53 'lasso_options' => $lasso_options,
54 'should_show_import_step' => $should_show_import_step
55 ) ); ?>
56
57 <!-- ACTIVATE LICENSE KEY -->
58 <?php echo Helper::include_with_variables( Helper::get_path_views_folder() . 'onboarding/license-step.php', array(
59 'lasso_options' => $lasso_options,
60 'should_show_import_step' => $should_show_import_step
61 ) ); ?>
62
63 <!-- IMPORT -->
64 <?php if ( $should_show_import_step ) : ?>
65 <?php echo Helper::include_with_variables( Helper::get_path_views_folder() . 'onboarding/import-step.php' ); ?>
66 <?php endif; ?>
67
68 </div>
69 </div>
70 </div>
71 </section>
72
73 <!-- URL ADD MODAL -->
74 <?php require SIMPLE_URLS_DIR . '/admin/views/modals/url-add.php'; ?>
75
76 <!-- LICENSE ACTIVATION MODAL -->
77 <?php echo Helper::include_with_variables( SIMPLE_URLS_DIR . '/admin/views/modals/license-activation.php' ); ?>
78 <?php echo Helper::wrapper_js_render( 'default-template-notification-amz', Helper::get_path_views_folder() . '/notifications/default-template-jsrender.html' ); ?>
79 <?php Config::get_footer(); ?>
80