step-01.php
8 months ago
step-02.php
1 week ago
step-03.php
1 week ago
step-04.php
10 months ago
step-05.php
6 months ago
step-06.php
1 year ago
step-01.php
67 lines
| 1 | <div class="ekit-admin-fields-container-fieldset"> |
| 2 | <?php |
| 3 | $filter = \ElementsKit_Lite\Libs\Framework\Attr::instance()->utils->get_option( 'settings', array() ); |
| 4 | |
| 5 | $this->utils->input( |
| 6 | array( |
| 7 | 'type' => 'radio', |
| 8 | 'name' => 'settings[filter_widget_module]', |
| 9 | 'value' => 'basic', |
| 10 | 'description' => esc_html__( 'General widgets will be activated to build your website. Best suited for lightweight-fast starter websites.', 'elementskit-lite' ), |
| 11 | 'label' => esc_html__( 'Basic (Recommended)', 'elementskit-lite' ), |
| 12 | 'options' => array( |
| 13 | 'checked' => ! empty( $filter['filter_widget_module'] ) ? $filter['filter_widget_module'] === 'basic' : true, |
| 14 | ), |
| 15 | ) |
| 16 | ); |
| 17 | $this->utils->input( |
| 18 | array( |
| 19 | 'type' => 'radio', |
| 20 | 'name' => 'settings[filter_widget_module]', |
| 21 | 'value' => 'advanced', |
| 22 | 'description' => esc_html__( 'All the free dynamic widgets will be activated to increase flexibility & functionality to build your complex website in no-time.', 'elementskit-lite' ), |
| 23 | 'label' => esc_html__( 'Advanced', 'elementskit-lite' ), |
| 24 | 'options' => array( |
| 25 | 'checked' => ! empty( $filter['filter_widget_module'] ) ? $filter['filter_widget_module'] === 'advanced' : false, |
| 26 | ), |
| 27 | ) |
| 28 | ); |
| 29 | $this->utils->input( |
| 30 | array( |
| 31 | 'type' => 'radio', |
| 32 | 'name' => 'settings[filter_widget_module]', |
| 33 | 'value' => 'custom', |
| 34 | 'class' => 'ekit-onboard-custom-filter', |
| 35 | 'description' => esc_html__( 'You choose your website as per your need.', 'elementskit-lite' ), |
| 36 | 'label' => esc_html__( 'Custom', 'elementskit-lite' ), |
| 37 | 'options' => array( |
| 38 | 'checked' => ! empty( $filter['filter_widget_module'] ) ? $filter['filter_widget_module'] === 'custom' : false, |
| 39 | ), |
| 40 | ) |
| 41 | ); |
| 42 | |
| 43 | // Hidden input to enable inline SVG by default |
| 44 | $this->utils->input( |
| 45 | array( |
| 46 | 'type' => 'hidden', |
| 47 | 'name' => 'user_data[inline_svg][is_enable]', |
| 48 | 'value' => '1', |
| 49 | ) |
| 50 | ); |
| 51 | ?> |
| 52 | </div> |
| 53 | |
| 54 | <div class="ekit-onboard-section ekit-onboard-module"> |
| 55 | <h2 class="ekit-onboard-section-title"><?php echo esc_html__( 'Modules', 'elementskit-lite' ); ?></h2> |
| 56 | <?php require self::get_dir() . 'views/settings-sections/modules.php'; ?> |
| 57 | </div> |
| 58 | |
| 59 | <div class="ekit-onboard-section ekit-onboard-widget"> |
| 60 | <?php require self::get_dir() . 'views/settings-sections/widgets.php'; ?> |
| 61 | </div> |
| 62 | |
| 63 | <div class="ekit-onboard-pagination"> |
| 64 | <a class="ekit-onboard-btn ekit-onboard-pagi-btn prev" href="#"><i class="icon icon-left-arrow"></i><?php echo esc_html__( 'Back', 'elementskit-lite' ); ?></a> |
| 65 | <a class="ekit-onboard-btn ekit-onboard-pagi-btn next" href="#"><?php echo esc_html__( 'Next Step', 'elementskit-lite' ); ?></a> |
| 66 | </div> |
| 67 |