PluginProbe
Floating Button – Easily Create Sticky, Fixed & Floating Buttons / 5.1.1
Floating Button – Easily Create Sticky, Fixed & Floating Buttons v5.1.1
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.1.1, at admin/settings/main.php

159 lines 5.9 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>
56 <div data-tab-content="2" class="tabs-content is-hidden">
57 <div class="panel-block icon-default">
58 <div class="field">
59 <label class="label">
60 <?php esc_attr_e( 'Main Icon', 'floating-button' ); ?>
61 </label>
62 <?php self::option( $button_icon ); ?>
63 </div>
64 </div>
65 </div>
66 <div data-tab-content="3" class="tabs-content is-hidden">
67
68 <div class="panel-block">
69 <div class="columns is-multiline">
70 <div class="field column is-4">
71 <label class="label">
72 <?php esc_attr_e( 'Position', 'floating-button' ); ?><?php echo self::tooltip( $position_help ); ?>
73 </label>
74 <?php self::option( $position ); ?>
75 </div>
76 <div class="field column is-4">
77 <label class="label">
78 <?php esc_attr_e( 'Button shape', 'floating-button' ); ?><?php echo self::tooltip( $position_help ); ?>
79 </label>
80 <?php self::option( $shape ); ?>
81 </div>
82 <div class="field column is-4">
83 <label class="label">
84 <?php esc_attr_e( 'Size', 'floating-button' ); ?>
85 </label>
86 <?php self::option( $size ); ?>
87 </div>
88 <div class="field column is-4">
89 <label class="label">
90 <?php esc_attr_e( 'Button animation', 'floating-button' ); ?><?php echo self::tooltip( $button_animation_helper ); ?>
91 </label>
92 <?php self::option( $button_animation ); ?>
93 </div>
94 <div class="field column is-4">
95 <label class="label">
96 <?php esc_attr_e( 'Sub-buttons Animation', 'floating-button' ); ?>
97 </label>
98 <?php self::option( $animation ); ?>
99 </div>
100 </div>
101 </div>
102
103 <div class="panel-block">
104 <div class="columns is-multiline">
105
106 <div class="field column is-4">
107 <label class="label">
108 <?php esc_attr_e( 'Button color', 'floating-button' ); ?>
109 </label>
110 <?php self::option( $button_color ); ?>
111 </div>
112
113 <div class="field column is-4">
114 <label class="label">
115 <?php esc_attr_e( 'Button hover color', 'floating-button' ); ?>
116 </label>
117 <?php self::option( $button_hcolor ); ?>
118 </div>
119
120 <div class="field column is-4">
121 <label class="label">
122 <?php esc_attr_e( 'Icon color', 'floating-button' ); ?>
123 </label>
124 <?php self::option( $icon_color ); ?>
125 </div>
126
127 <div class="field column is-4">
128 <label class="label">
129 <?php esc_attr_e( 'Tooltip background', 'floating-button' ); ?>
130 </label>
131 <?php self::option( $tooltip_background ); ?>
132 </div>
133
134 <div class="field column is-4">
135 <label class="label">
136 <?php esc_attr_e( 'Tooltip color', 'floating-button' ); ?>
137 </label>
138 <?php self::option( $tooltip_color ); ?>
139 </div>
140
141 </div>
142 </div>
143
144
145 </div>
146 <div data-tab-content="4" class="tabs-content is-hidden">
147 <div class="panel-block">
148 <div class="field">
149 <label class="label">
150 <?php esc_attr_e( 'Class for element', 'floating-button' ); ?><?php self::tooltip( $main_button_class_help ); ?>
151 </label>
152 <?php self::option( $main_button_class ); ?>
153 </div>
154 </div>
155 </div>
156 </div>
157 </div>
158
159