PluginProbe ʕ •ᴥ•ʔ
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor / 4.0.0
ElementsKit Elementor Addons – Advanced Widgets & Templates Addons for Elementor v4.0.0
4.0.2 4.0.1 4.0.0 3.10.02 3.10.01 3.9.10 3.9.9 3.9.8 3.9.7 3.9.5 3.9.6 3.9.3 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.1 2.3.1.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.4.0 2.5.0 2.5.1 2.5.10 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.2 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.4.7 3.4.8 3.4.9 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.6.0 3.6.1 3.7.0 3.7.1 3.7.2 3.7.3 3.7.4 3.7.5 3.7.6 3.7.7 3.7.8 3.7.9 3.8.0 3.8.1 3.8.2 3.9.0 3.9.1 3.9.2 trunk 1.2.6 1.2.7 1.2.9 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.11 1.5.12 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.0.9.1 2.0.9.2 2.0.9.3
elementskit-lite / libs / framework / controls / settings / switch.php
elementskit-lite / libs / framework / controls / settings Last commit date
color.php 4 years ago date.php 4 years ago hidden.php 4 years ago radio.php 4 years ago switch.php 6 months ago text.php 4 years ago
switch.php
65 lines
1 <div class="attr-input attr-input-switch <?php echo esc_attr( $class ); ?>">
2 <?php
3 // note:
4 // $options['large_img'] $options['icon'] $options['small_img'] self::strify($name) $label $value
5 // $options['checked'] true / false
6 $no_demo = array(
7 'sticky-content',
8 'nav-menu',
9 'header-info',
10 'elementskit-icon-pack',
11 'back-to-top',
12 'image-swap',
13 'facebook-messenger',
14 'advanced-tooltip',
15 'fluent-forms',
16 'zoom',
17 'form-conditional-fields',
18 'pro-form-reset-button',
19 'google_sheet_for_elementor_pro_form',
20 'pro-form-signature-field'
21 );
22 ?>
23 <div class="ekit-admin-input-switch ekit-admin-card-shadow attr-card-body">
24 <input <?php echo esc_attr( $options['checked'] === true ? 'checked' : '' ); ?>
25 type="checkbox" value="<?php echo esc_attr( $value ); ?>"
26 class="ekit-admin-control-input"
27 name="<?php echo esc_attr( $name ); ?>"
28 id="ekit-admin-switch__<?php echo esc_attr( self::strify( $name ) . $value ); ?>"
29
30 <?php
31 if ( isset( $attr ) ) {
32 foreach ( $attr as $k => $v ) {
33 echo esc_attr($k) .'='. esc_attr($v);
34 }
35 }
36 ?>
37 >
38
39 <label class="ekit-admin-control-label" for="ekit-admin-switch__<?php echo esc_attr( self::strify( $name ) . $value ); ?>">
40 <span class="ekit-admin-control-label-text"><?php echo esc_html( $label ); ?></span>
41 <span class="ekit-admin-control-label-switch" data-active="ON" data-inactive="OFF"></span>
42 </label>
43
44
45 </div>
46 <?php
47 $slug = 'elementskit/';
48 if ( ! in_array( $value, $no_demo ) ) :
49 if ( $value === 'parallax' ) {
50 $value = 'effects';
51 }
52
53 if ( $value === 'liquid-glass' ) {
54 $value = 'elementor-liquid-glass';
55 }
56
57 if ( $value === 'badge' ) {
58 $value = 'elementor-global-badge';
59 }
60
61 ?>
62 <a target="_blank" href="https://wpmet.com/plugin/<?php echo esc_attr( $slug ) . esc_attr( $value ); ?>/" class="ekit-admin-demo-tooltip"><?php esc_html_e( 'Live Demo', 'elementskit-lite' ); ?></a>
63 <?php endif; ?>
64 </div>
65