PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 2.8.16
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v2.8.16
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
wpfunnels / admin / modules / settings / views / general-settings.php

general-settings.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 2.8.16, at admin/modules/settings/views/general-settings.php

82 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * View general settings
4 *
5 * @package
6 */
7
8 $builders = \WPFunnels\Wpfnl_functions::get_supported_builders();
9
10 ?>
11
12
13 <div class="wpfnl-box">
14 <div class="wpfnl-field-wrapper">
15 <label><?php echo __('Funnel Type', 'wpfnl'); ?></label>
16 <div class="wpfnl-fields">
17 <select name="page-builder" id="wpfunnels-funnel-type">
18 <!-- <option value=""><?php echo __('Select Funnel Type', 'wpfnl'); ?></option> -->
19 <?php if( $this->is_allow_sales ){ ?>
20 <option value="sales" <?php selected($this->general_settings['funnel_type'], 'sales'); ?> ><?php echo __('Sales', 'wpfnl'); ?></option>
21 <?php } ?>
22 <option value="lead" <?php selected($this->general_settings['funnel_type'], 'lead'); ?> ><?php echo __('Lead Gen', 'wpfnl'); ?></option>
23 </select>
24 </div>
25 </div>
26 <!-- /field-wrapper -->
27
28 <div class="wpfnl-field-wrapper">
29 <label><?php echo __('Page Builder', 'wpfnl'); ?></label>
30 <div class="wpfnl-fields">
31 <select name="page-builder" id="wpfunnels-page-builder">
32 <?php
33 foreach ( $builders as $key => $value ) { ?>
34 <option value="<?php echo $key; ?>" <?php selected($this->general_settings['builder'], $key); ?> ><?php echo $value; ?></option>
35 <?php }
36 ?>
37 </select>
38 </div>
39 </div>
40
41
42 <div class="wpfnl-field-wrapper sync-template">
43 <label class="has-tooltip">
44 <?php echo __('Sync Template', 'wpfnl'); ?>
45
46 <span class="wpfnl-tooltip">
47 <?php require WPFNL_DIR . '/admin/partials/icons/question-tooltip-icon.php'; ?>
48 <p><?php echo __('Click to get the updated funnel templates, made using your preferred page builder, when creating funnels.', 'wpfnl'); ?></p>
49 </span>
50 </label>
51 <div class="wpfnl-fields">
52 <button class="btn-default clear-template" id="clear-template">
53 <span class="sync-icon"><?php require WPFNL_DIR . '/admin/partials/icons/sync-icon.php'; ?></span>
54 <span class="check-icon"><?php require WPFNL_DIR . '/admin/partials/icons/check-icon.php'; ?></span>
55 Sync Templates
56 </button>
57 <span class="wpfnl-alert"></span>
58 </div>
59 </div>
60 <!-- /field-wrapper -->
61
62
63 <!-- <div class="wpfnl-field-wrapper sync-template">-->
64 <!-- <label class="has-tooltip">-->
65 <!-- --><?php //echo __( 'WPFunnels Transients', 'wpfnl' ); ?>
66 <!-- <span class="wpfnl-tooltip">-->
67 <!-- --><?php //require WPFNL_DIR . '/admin/partials/icons/question-tooltip-icon.php'; ?>
68 <!-- <p>--><?php //echo __('This tool will clear the WPFunnels transients cache.', 'wpfnl'); ?><!--</p>-->
69 <!-- </span>-->
70 <!-- </label>-->
71 <!-- <div class="wpfnl-fields">-->
72 <!-- <button class="btn-default clear-template" id="clear-transients">-->
73 <!-- <span class="sync-icon">--><?php //require WPFNL_DIR . '/admin/partials/icons/sync-icon.php'; ?><!--</span>-->
74 <!-- <span class="check-icon">--><?php //require WPFNL_DIR . '/admin/partials/icons/check-icon.php'; ?><!--</span>-->
75 <!-- --><?php //echo __('Delete transients', 'wpfnl'); ?>
76 <!-- </button>-->
77 <!-- <span class="wpfnl-alert"></span>-->
78 <!-- </div>-->
79 <!-- </div>-->
80 </div>
81 <!-- /settings-box -->
82