PluginProbe
Float menu – awesome floating side menu / 4.1
Float menu – awesome floating side menu v4.1
7.2.5 trunk 2.1 2.2 3.0.1 3.1 3.2.2 3.3.1 3.5 3.5.1 3.5.2 3.5.3. 3.5.4 4.0 4.1 4.1.1 4.2 4.3 4.3.1 4.3.2 5.0 5.0.1 5.0.2 5.0.3 5.1 All 57 releases
float-menu / admin / settings / menu.php

menu.php in Float menu – awesome floating side menu 4.1, at admin/settings/menu.php

142 lines 6.3 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 <div class="menu-items">
18 <?php if ( $count_i > 0 ) : ?>
19
20 <?php for ( $i = 0; $i < $count_i; $i ++ ) : ?>
21 <div class="panel">
22 <div class="panel-heading">
23 <div class="level-item icon-select">
24 </div>
25 <div class="level-item">
26 <span class="item-label-text"><?php $item_header = ! empty( $param['menu_1']['item_tooltip'][ $i ] ) ? $param['menu_1']['item_tooltip'][ $i ] : '(' . esc_attr__( 'no label', $this->plugin['text'] ) . ')';
27 echo esc_html( $item_header ); ?></span>
28
29 </div>
30 <div class="level-item element-type">
31 </div>
32 <div class="level-item toogle-element">
33 <span class="dashicons dashicons-arrow-down"></span>
34 <span class="dashicons dashicons-arrow-up is-hidden"></span>
35 </div>
36 </div>
37 <div class="toogle-content is-hidden">
38 <div class="panel-block">
39 <div class="field">
40 <label class="label is-small">
41 <?php esc_attr_e( 'Label Text', $this->plugin['text'] ); ?><?php self::tooltip( $item_tooltip_help ); ?>
42 </label>
43 <?php self::option( $item_tooltip_[ $i ] ); ?>
44 </div>
45 </div>
46
47 <p class="panel-tabs">
48 <a class="is-active" data-tab="1"><?php esc_attr_e("Type",$this->plugin['text'] ); ?></a>
49 <a data-tab="2"><?php esc_attr_e("Icon",$this->plugin['text'] ); ?></a>
50 <a data-tab="3"><?php esc_attr_e("Style",$this->plugin['text'] ); ?></a>
51 <a data-tab="4"><?php esc_attr_e("Attributes",$this->plugin['text'] ); ?></a>
52 </p>
53 <div data-tab-content="1" class="tabs-content">
54 <div class="panel-block">
55 <div class="field">
56 <label class="label">
57 <?php esc_attr_e( 'Item type', $this->plugin['text'] ); ?><?php self::tooltip( $item_type_help ); ?>
58
59 </label>
60 <?php self::option( $item_type_[ $i ] ); ?>
61 </div>
62 <div class="field item-link">
63 <label class="label item-link-text">
64 <?php esc_attr_e( 'Link', $this->plugin['text'] ); ?>
65 </label>
66 <?php self::option( $item_link_[ $i ] ); ?>
67 </div>
68
69 </div>
70 <label class="panel-block item-link-blank">
71 <?php self::option( $new_tab_[ $i ] ); ?><?php esc_attr_e( 'Open link in a new tab', $this->plugin['text'] ); ?>
72 </label>
73 </div>
74 <div data-tab-content="2" class="tabs-content is-hidden">
75 <div class="panel-block icon-default">
76 <div class="field">
77 <label class="label">
78 <?php esc_attr_e( 'Icon', $this->plugin['text'] ); ?>
79 </label>
80 <?php self::option( $item_icon_[ $i ] ); ?>
81 </div>
82 </div>
83 </div>
84 <div data-tab-content="3" class="tabs-content is-hidden">
85 <div class="panel-block">
86 <div class="field">
87 <label class="label">
88 <?php esc_attr_e( 'Font Color', $this->plugin['text'] ); ?>
89 </label>
90 <?php self::option( $color_[ $i ] ); ?>
91 </div>
92 </div>
93 <div class="panel-block">
94 <div class="field">
95 <label class="label">
96 <?php esc_attr_e( 'Background', $this->plugin['text'] ); ?>
97 </label>
98 <?php self::option( $bcolor_[ $i ] ); ?>
99 </div>
100 </div>
101 </div>
102 <div data-tab-content="4" class="tabs-content is-hidden">
103 <div class="panel-block">
104 <div class="field">
105 <label class="label">
106 <?php esc_attr_e( 'ID for element', $this->plugin['text'] ); ?><?php self::tooltip( $button_id_help ); ?>
107 </label>
108 <?php self::option( $button_id_[ $i ] ); ?>
109 </div>
110 </div>
111 <div class="panel-block">
112 <div class="field">
113 <label class="label">
114 <?php esc_attr_e( 'Class for element', $this->plugin['text'] ); ?><?php self::tooltip( $button_class_help ); ?>
115 </label>
116 <?php self::option( $button_class_[ $i ] ); ?>
117 </div>
118 </div>
119 <div class="panel-block">
120 <div class="field">
121 <label class="label">
122 <?php esc_attr_e( 'Attribute: rel', $this->plugin['text'] ); ?>
123 </label>
124 <?php self::option( $link_rel_[ $i ] ); ?>
125 </div>
126 </div>
127 </div>
128 <div class="panel-block actions">
129 <a class="item-delete"><?php esc_attr_e('Remove', $this->plugin['text'] ); ?></a>
130 </div>
131 </div>
132 </div>
133
134 <?php endfor; ?>
135
136 <?php endif; ?>
137 </div>
138
139 <div class="submit-bottom">
140 <input type="button" value="<?php esc_attr_e( 'Add item', $this->plugin['text'] ); ?>" class="add-item">
141 </div>
142