PluginProbe
Bubble Menu – Floating Button Menu with Sticky Navigation / 3.0.5
Bubble Menu – Floating Button Menu with Sticky Navigation v3.0.5
trunk 1.3 2.0 2.2 2.2.1 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.1 4.1.1
bubble-menu / admin / settings / menu.php

menu.php in Bubble Menu – Floating Button Menu with Sticky Navigation 3.0.5, at admin/settings/menu.php

174 lines 6.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * 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
15 include_once( 'options/menu.php' );
16 ?>
17
18 <div class="menu-items">
19 <?php if ( $count_i > 0 ) :
20 for ( $i = 0; $i < $count_i; $i ++ ) : ?>
21
22 <div class="panel">
23
24 <div class="panel-heading">
25 <div class="level-item icon-select"></div>
26 <div class="level-item">
27 <span class="item-label-text"><?php $item_header = ! empty( $param['item_tooltip'][ $i ] ) ? $param['item_tooltip'][ $i ] : '(' . esc_attr__( 'no label', 'bubble-menu' ) . ')';
28 echo esc_html( $item_header ); ?></span>
29 </div>
30 <div class="level-item element-type"></div>
31 <div class="level-item toogle-element">
32 <span class="dashicons dashicons-arrow-down"></span>
33 <span class="dashicons dashicons-arrow-up is-hidden"></span>
34 </div>
35 </div>
36
37 <div class="toogle-content is-hidden">
38
39 <div class="panel-block">
40 <div class="field">
41 <label class="label is-small">
42 <?php esc_attr_e( 'Label Text', 'bubble-menu' ); ?><?php self::tooltip( $item_tooltip_help ); ?>
43 </label>
44 <?php self::option( $item_tooltip_[ $i ] ); ?>
45 </div>
46 </div>
47
48 <label class="panel-block">
49 <?php self::option( $item_tooltip_include_[ $i ] ); ?><?php esc_attr_e( 'Enable Tooltip', 'bubble-menu' ); ?>
50 </label>
51 <div class="panel-block">
52 <div class="field item-link-blank">
53 <label class="label">
54 <?php esc_attr_e( 'Show Tooltip', 'bubble-menu' ); ?>
55 </label>
56 <?php self::option( $item_tooltip_show_[ $i ] ); ?>
57 </div>
58 </div>
59
60 <p class="panel-tabs">
61 <a class="is-active" data-tab="1"><?php esc_attr_e( "Type", 'bubble-menu' ); ?></a>
62 <a data-tab="2"><?php esc_attr_e( "Icon", 'bubble-menu' ); ?></a>
63 <a data-tab="3"><?php esc_attr_e( "Style", 'bubble-menu' ); ?></a>
64 <a data-tab="4"><?php esc_attr_e( "Attributes", 'bubble-menu' ); ?></a>
65 </p>
66
67 <div data-tab-content="1" class="tabs-content">
68 <div class="panel-block">
69 <div class="field">
70 <label class="label">
71 <?php esc_attr_e( 'Item type', 'bubble-menu' ); ?><?php self::tooltip( $item_type_help ); ?>
72
73 </label>
74 <?php self::option( $item_type_[ $i ] ); ?>
75 </div>
76 <div class="field item-link">
77 <label class="label item-link-text">
78 <?php esc_attr_e( 'Link', 'bubble-menu' ); ?>
79 </label>
80 <?php self::option( $item_link_[ $i ] ); ?>
81 </div>
82
83 <div class="field item-link-blank">
84 <label class="label">
85 <?php esc_attr_e( 'Open link', 'bubble-menu' ); ?>
86 </label>
87 <?php self::option( $open_link_[ $i ] ); ?>
88 </div>
89
90 </div>
91
92 </div>
93
94 <div data-tab-content="2" class="tabs-content is-hidden">
95 <div class="panel-block icon-default">
96 <div class="field">
97 <label class="label">
98 <?php esc_attr_e( 'Icon', 'bubble-menu' ); ?>
99 </label>
100 <?php self::option( $item_icon_[ $i ] ); ?>
101 </div>
102 </div>
103
104 </div>
105
106 <div data-tab-content="3" class="tabs-content is-hidden">
107 <div class="panel-block">
108 <div class="field">
109 <label class="label">
110 <?php esc_attr_e( 'Color', 'bubble-menu' ); ?>
111 </label>
112 <?php self::option( $item_color_[ $i ] ); ?>
113 </div>
114 </div>
115 <div class="panel-block">
116 <div class="field">
117 <label class="label">
118 <?php esc_attr_e( 'Hover Color', 'bubble-menu' ); ?>
119 </label>
120 <?php self::option( $item_hcolor_[ $i ] ); ?>
121 </div>
122 </div>
123
124
125 </div>
126
127 <div data-tab-content="4" class="tabs-content is-hidden">
128 <div class="panel-block">
129 <div class="field">
130 <label class="label">
131 <?php esc_attr_e( 'ID for element', 'bubble-menu' ); ?><?php self::tooltip( $button_id_help ); ?>
132 </label>
133 <?php self::option( $button_id_[ $i ] ); ?>
134 </div>
135 </div>
136 <div class="panel-block">
137 <div class="field">
138 <label class="label">
139 <?php esc_attr_e( 'Class for element', 'bubble-menu' ); ?><?php self::tooltip( $button_class_help ); ?>
140 </label>
141 <?php self::option( $button_class_[ $i ] ); ?>
142 </div>
143 </div>
144 <div class="panel-block">
145 <div class="field">
146 <label class="label">
147 <?php esc_attr_e( 'Attribute: rel', 'bubble-menu' ); ?>
148 </label>
149 <?php self::option( $link_rel_[ $i ] ); ?>
150 </div>
151 </div>
152 </div>
153
154 <div class="panel-block actions">
155 <a class="item-delete"><?php esc_attr_e( "Remove", 'bubble-menu' ); ?></a>
156 </div>
157
158 </div>
159
160 </div>
161
162
163 <?php endfor; ?>
164
165 <?php endif; ?>
166
167 </div>
168
169
170
171 <div class="submit-bottom">
172 <input type="button" value="<?php esc_attr_e( 'Add item', 'bubble-menu' ); ?>" class="add-item">
173 </div>
174