PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.4.6
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.4.6
7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / views / admin / sshare / display-options / tpl--position-settings.php
wordpress-popup / views / admin / sshare / display-options Last commit date
position-horizontal-vertical.php 5 years ago position-offset.php 5 years ago template.php 6 years ago tpl--floating-social.php 6 years ago tpl--inline-content.php 5 years ago tpl--position-settings.php 5 years ago tpl--shortcode.php 6 years ago tpl--widget.php 5 years ago
tpl--position-settings.php
110 lines
1 <?php
2 /**
3 * Floating positioning section.
4 *
5 * @package Hustle
6 * @since 4.0.0
7 */
8
9 ?>
10 <div class="sui-form-field">
11
12 <label for="hustle-settings--<?php echo esc_attr( $prefix ); ?>-enable" class="sui-toggle hustle-toggle-with-container" data-toggle-on="<?php echo esc_attr( $prefix ); ?>-enabled">
13 <input
14 type="checkbox"
15 name="<?php echo esc_html( $prefix ); ?>_enabled"
16 data-attribute="<?php echo esc_html( $prefix ); ?>_enabled"
17 id="hustle-settings--<?php echo esc_html( $prefix ); ?>-enable"
18 aria-labelledby="hustle-settings--<?php echo esc_html( $prefix ); ?>-enable-label"
19 <?php checked( $settings[ $prefix . '_enabled' ], '1' ); ?>
20 />
21 <span class="sui-toggle-slider" aria-hidden="true"></span>
22
23 <?php /* translators: position label */ ?>
24 <span id="hustle-settings--<?php echo esc_html( $prefix ); ?>-enable-label" class="sui-toggle-label"><?php printf( esc_html__( 'Enable %s', 'hustle' ), esc_html( $label ) ); ?></span>
25 </label>
26
27 <div class="sui-toggle-content" data-toggle-content="<?php echo esc_attr( $prefix ); ?>-enabled">
28
29 <span class="sui-description"><?php echo $description; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></span>
30
31 <div class="sui-border-frame">
32
33 <?php
34 // SETTINGS: Horizontal and Vertical Position.
35 $this->render(
36 'admin/sshare/display-options/position-horizontal-vertical',
37 array(
38 'prefix' => $prefix,
39 'settings' => $settings,
40 'offset_x' => $offset_x,
41 'offset_y' => $offset_y,
42 'positions' => $positions,
43 )
44 );
45 ?>
46
47 <?php
48 // SETTINGS: Offset.
49 if ( ! empty( $offset_x ) || ! empty( $offset_y ) ) :
50 $this->render(
51 'admin/sshare/display-options/position-offset',
52 array(
53 'prefix' => $prefix,
54 'settings' => $settings,
55 )
56 );
57 endif;
58 ?>
59
60 <?php // SETTINGS: Alignment. ?>
61 <?php if ( ! empty( $alignment ) ) : ?>
62
63 <div class="sui-form-field">
64
65 <label class="sui-settings-label"><?php esc_html_e( 'Alignment', 'hustle' ); ?></label>
66 <span class="sui-description" style="margin-bottom: 10px;"><?php esc_html_e( 'You can choose between Left align, Middle or Right align. For example, choosing the left align will push the social bar to the left of the parent container.', 'hustle' ); ?></span>
67
68 <?php
69 $this->render(
70 'admin/global/sui-components/sui-tabs',
71 array(
72 'name' => $prefix . '_align',
73 'radio' => true,
74 'saved_value' => $settings[ $prefix . '_align' ],
75 'sidetabs' => true,
76 'content' => false,
77 'options' => array(
78 'left' => array(
79 'value' => 'left',
80 'label' => __( 'Left', 'hustle' ),
81 'sui-icon' => 'align-left',
82 'icon-size' => 'md',
83 ),
84 'center' => array(
85 'value' => 'center',
86 'label' => __( 'Center', 'hustle' ),
87 'sui-icon' => 'align-center',
88 'icon-size' => 'md',
89 ),
90 'right' => array(
91 'value' => 'right',
92 'label' => __( 'Right', 'hustle' ),
93 'sui-icon' => 'align-right',
94 'icon-size' => 'md',
95 ),
96 ),
97 )
98 );
99 ?>
100
101 </div>
102
103 <?php endif; ?>
104
105 </div>
106
107 </div>
108
109 </div>
110