PluginProbe
Floating Button – Easily Create Sticky, Fixed & Floating Buttons / 5.3
Floating Button – Easily Create Sticky, Fixed & Floating Buttons v5.3
trunk 2.0.2 3.0 4.0 4.1.2 4.3 5.0 5.0.1 5.1 5.1.1 5.2 5.3 5.3.1 6.0 6.0.1 6.0.10 6.0.11 6.0.12 6.0.13 6.0.2 6.0.3 6.0.4 6.0.5 6.0.6 6.0.7 All 31 releases
floating-button / admin / settings / main.php

main.php in Floating Button – Easily Create Sticky, Fixed & Floating Buttons 5.3, at admin/settings/main.php

165 lines 6.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Main Settings
4 *
5 * @package Wow_Plugin
6 * @copyright Copyright (c) 2018, Dmytro Lobov
7 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
8 * @since 1.0
9 */
10
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit;
13 }
14 include_once( 'options/main.php' );
15
16 ?>
17
18 <div class="panel">
19 <div class="panel-heading">
20 <div class="level-item icon-select"></div>
21 <div class="level-item">
22 <span class="item-label-text">
23 <?php $item_header = ! empty( $param['item_tooltip'] ) ? $param['item_tooltip'] : '(' . esc_attr__( 'no label', 'floating-button' ) . ')';
24 echo esc_html( $item_header ); ?>
25 </span>
26 </div>
27 <div class="level-item element-type"></div>
28 </div>
29 <div class="toogle-content">
30 <div class="panel-block">
31 <div class="field">
32 <label class="label is-small">
33 <?php esc_attr_e( 'Label Text', 'floating-button' ); ?>
34 </label>
35 <?php self::option( $item_tooltip ); ?>
36 </div>
37 </div>
38 <label class="panel-block checkTooltip">
39 <?php self::option( $item_tooltip_include ); ?><?php esc_attr_e( 'Enable Tooltip', 'floating-button' ); ?>
40 </label>
41 <p class="panel-tabs">
42 <a class="is-active" data-tab="1"><?php esc_attr_e( "Type", 'floating-button' ); ?></a>
43 <a data-tab="2"><?php esc_attr_e( "Icons", 'floating-button' ); ?></a>
44 <a data-tab="3"><?php esc_attr_e( "Style", 'floating-button' ); ?></a>
45 <a data-tab="4"><?php esc_attr_e( "Attributes", 'floating-button' ); ?></a>
46 </p>
47 <div data-tab-content="1" class="tabs-content">
48 <div class="panel-block field">
49 <label class="label">
50 <?php esc_attr_e( 'Button type', 'floating-button' ); ?><?php self::tooltip( $item_type_help ); ?>
51
52 </label>
53 <?php self::option( $item_type ); ?>
54 </div>
55 <div class="panel-block field item-link">
56 <label class="label item-link-text">
57 <?php esc_attr_e( 'Link', 'floating-button' ); ?>
58 </label>
59 <?php self::option( $item_link ); ?>
60 </div>
61 </div>
62 <div data-tab-content="2" class="tabs-content is-hidden">
63 <div class="panel-block icon-default">
64 <div class="field">
65 <label class="label">
66 <?php esc_attr_e( 'Main Icon', 'floating-button' ); ?>
67 </label>
68 <?php self::option( $button_icon ); ?>
69 </div>
70 </div>
71 </div>
72 <div data-tab-content="3" class="tabs-content is-hidden">
73
74 <div class="panel-block">
75 <div class="columns is-multiline">
76 <div class="field column is-4">
77 <label class="label">
78 <?php esc_attr_e( 'Position', 'floating-button' ); ?><?php echo self::tooltip( $position_help ); ?>
79 </label>
80 <?php self::option( $position ); ?>
81 </div>
82 <div class="field column is-4">
83 <label class="label">
84 <?php esc_attr_e( 'Button shape', 'floating-button' ); ?><?php echo self::tooltip( $position_help ); ?>
85 </label>
86 <?php self::option( $shape ); ?>
87 </div>
88 <div class="field column is-4">
89 <label class="label">
90 <?php esc_attr_e( 'Size', 'floating-button' ); ?>
91 </label>
92 <?php self::option( $size ); ?>
93 </div>
94 <div class="field column is-4">
95 <label class="label">
96 <?php esc_attr_e( 'Button animation', 'floating-button' ); ?><?php echo self::tooltip( $button_animation_helper ); ?>
97 </label>
98 <?php self::option( $button_animation ); ?>
99 </div>
100 <div class="field column is-4">
101 <label class="label">
102 <?php esc_attr_e( 'Sub-buttons Animation', 'floating-button' ); ?>
103 </label>
104 <?php self::option( $animation ); ?>
105 </div>
106 </div>
107 </div>
108
109 <div class="panel-block">
110 <div class="columns is-multiline">
111
112 <div class="field column is-4">
113 <label class="label">
114 <?php esc_attr_e( 'Button color', 'floating-button' ); ?>
115 </label>
116 <?php self::option( $button_color ); ?>
117 </div>
118
119 <div class="field column is-4">
120 <label class="label">
121 <?php esc_attr_e( 'Button hover color', 'floating-button' ); ?>
122 </label>
123 <?php self::option( $button_hcolor ); ?>
124 </div>
125
126 <div class="field column is-4">
127 <label class="label">
128 <?php esc_attr_e( 'Icon color', 'floating-button' ); ?>
129 </label>
130 <?php self::option( $icon_color ); ?>
131 </div>
132
133 <div class="field column is-4">
134 <label class="label">
135 <?php esc_attr_e( 'Tooltip background', 'floating-button' ); ?>
136 </label>
137 <?php self::option( $tooltip_background ); ?>
138 </div>
139
140 <div class="field column is-4">
141 <label class="label">
142 <?php esc_attr_e( 'Tooltip color', 'floating-button' ); ?>
143 </label>
144 <?php self::option( $tooltip_color ); ?>
145 </div>
146
147 </div>
148 </div>
149
150
151 </div>
152 <div data-tab-content="4" class="tabs-content is-hidden">
153 <div class="panel-block">
154 <div class="field">
155 <label class="label">
156 <?php esc_attr_e( 'Class for element', 'floating-button' ); ?><?php self::tooltip( $main_button_class_help ); ?>
157 </label>
158 <?php self::option( $main_button_class ); ?>
159 </div>
160 </div>
161 </div>
162 </div>
163 </div>
164
165