| 1 |
<?php |
| 2 |
/** |
| 3 |
* Clone Elements 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 |
// Elements for clone Menu 1 |
| 12 |
$menu_1_item_icon = array( |
| 13 |
'name' => 'param[menu_1][item_icon][]', |
| 14 |
'class' => 'icons', |
| 15 |
'type' => 'select', |
| 16 |
'val' => 'fas fa-hand-point-up', |
| 17 |
'option' => $icons_new, |
| 18 |
); |
| 19 |
$menu_1_item_tooltip_include = array( |
| 20 |
'name' => 'param[menu_1][item_tooltip_include][]', |
| 21 |
'class' => 'tooltip-include', |
| 22 |
'type' => 'checkbox', |
| 23 |
'val' => '0', |
| 24 |
'func' => 'itemtooltip(this);checkboxchecked(this);', |
| 25 |
); |
| 26 |
$menu_1_item_tooltip = array( |
| 27 |
'name' => 'param[menu_1][item_tooltip][]', |
| 28 |
'class' => 'item-tooltip', |
| 29 |
'type' => 'text', |
| 30 |
'val' => '', |
| 31 |
); |
| 32 |
|
| 33 |
$menu_1_button_color = array( |
| 34 |
'name' => 'param[menu_1][button_color][]', |
| 35 |
'type' => 'color', |
| 36 |
'val' => '#009688', |
| 37 |
); |
| 38 |
$menu_1_button_hcolor = array( |
| 39 |
'name' => 'param[menu_1][button_hcolor][]', |
| 40 |
'type' => 'color', |
| 41 |
'val' => '#009688', |
| 42 |
); |
| 43 |
$menu_1_icon_color = array( |
| 44 |
'name' => 'param[menu_1][icon_color][]', |
| 45 |
'type' => 'color', |
| 46 |
'val' => '#ffffff', |
| 47 |
); |
| 48 |
$menu_1_item_type = array( |
| 49 |
'name' => 'param[menu_1][item_type][]', |
| 50 |
'type' => 'select', |
| 51 |
'val' => 'link', |
| 52 |
'class' => 'item-type', |
| 53 |
'option' => array( |
| 54 |
'link' => esc_attr__( 'Link', 'floating-button' ), |
| 55 |
'login' => esc_attr__( 'Login', 'floating-button' ), |
| 56 |
'logout' => esc_attr__( 'Logout', 'floating-button' ), |
| 57 |
'register' => esc_attr__( 'Register', 'floating-button' ), |
| 58 |
'lostpassword' => esc_attr__( 'Lostpassword', 'floating-button' ), |
| 59 |
), |
| 60 |
'func' => 'itemtype(this);', |
| 61 |
); |
| 62 |
$menu_1_item_link = array( |
| 63 |
'name' => 'param[menu_1][item_link][]', |
| 64 |
'type' => 'text', |
| 65 |
'val' => '', |
| 66 |
); |
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
$menu_1_button_id = array( |
| 71 |
'name' => 'param[menu_1][button_id][]', |
| 72 |
'type' => 'text', |
| 73 |
'val' => '', |
| 74 |
); |
| 75 |
|
| 76 |
$menu_1_button_id_help = array( |
| 77 |
'text' => esc_attr__( 'Set ID for element.', 'floating-button' ), |
| 78 |
); |
| 79 |
|
| 80 |
$menu_1_button_class = array( |
| 81 |
'name' => 'param[menu_1][button_class][]', |
| 82 |
'type' => 'text', |
| 83 |
'val' => '', |
| 84 |
); |
| 85 |
|
| 86 |
$menu_1_button_class_help = array( |
| 87 |
'title' => esc_attr__( 'Set Class for element.', 'floating-button' ), |
| 88 |
'ul' => array( |
| 89 |
__( 'You may enter several classes separated by a space.', 'floating-button' ), |
| 90 |
), |
| 91 |
); |
| 92 |
|
| 93 |
$menu_1_link_rel = array( |
| 94 |
'name' => 'param[menu_1][link_rel][]', |
| 95 |
'type' => 'text', |
| 96 |
'val' => '', |
| 97 |
); |
| 98 |
|
| 99 |
// Elements for clone Menu 2 |
| 100 |
$menu_2_item_icon = array( |
| 101 |
'name' => 'param[menu_2][item_icon][]', |
| 102 |
'class' => 'icons', |
| 103 |
'type' => 'select', |
| 104 |
'val' => 'fas fa-hand-point-up', |
| 105 |
'option' => $icons_new, |
| 106 |
); |
| 107 |
|
| 108 |
$menu_2_item_tooltip_include = array( |
| 109 |
'name' => 'param[menu_2][item_tooltip_include][]', |
| 110 |
'class' => 'tooltip-include', |
| 111 |
'type' => 'checkbox', |
| 112 |
'val' => '0', |
| 113 |
'func' => 'itemtooltip(this);checkboxchecked(this);', |
| 114 |
); |
| 115 |
$menu_2_item_tooltip = array( |
| 116 |
'name' => 'param[menu_2][item_tooltip][]', |
| 117 |
'class' => 'item-tooltip', |
| 118 |
'type' => 'text', |
| 119 |
'val' => '', |
| 120 |
|
| 121 |
); |
| 122 |
|
| 123 |
|
| 124 |
$menu_2_button_color = array( |
| 125 |
'name' => 'param[menu_2][button_color][]', |
| 126 |
'type' => 'color', |
| 127 |
'val' => '#009688', |
| 128 |
); |
| 129 |
$menu_2_button_hcolor = array( |
| 130 |
'name' => 'param[menu_2][button_hcolor][]', |
| 131 |
'type' => 'color', |
| 132 |
'val' => '#009688', |
| 133 |
); |
| 134 |
$menu_2_icon_color = array( |
| 135 |
'name' => 'param[menu_2][icon_color][]', |
| 136 |
'type' => 'color', |
| 137 |
'val' => '#ffffff', |
| 138 |
); |
| 139 |
$menu_2_item_type = array( |
| 140 |
'name' => 'param[menu_2][item_type][]', |
| 141 |
'type' => 'select', |
| 142 |
'class' => 'item-type', |
| 143 |
'val' => 'link', |
| 144 |
'option' => array( |
| 145 |
'link' => esc_attr__( 'Link', 'floating-button' ), |
| 146 |
'login' => esc_attr__( 'Login', 'floating-button' ), |
| 147 |
'logout' => esc_attr__( 'Logout', 'floating-button' ), |
| 148 |
'register' => esc_attr__( 'Register', 'floating-button' ), |
| 149 |
'lostpassword' => esc_attr__( 'Lostpassword', 'floating-button' ), |
| 150 |
), |
| 151 |
'func' => 'itemtype(this);', |
| 152 |
); |
| 153 |
$menu_2_item_link = array( |
| 154 |
'name' => 'param[menu_2][item_link][]', |
| 155 |
'type' => 'text', |
| 156 |
'val' => '', |
| 157 |
); |
| 158 |
|
| 159 |
$menu_2_button_id = array( |
| 160 |
'name' => 'param[menu_2][button_id][]', |
| 161 |
'type' => 'text', |
| 162 |
'val' => '', |
| 163 |
); |
| 164 |
|
| 165 |
$menu_2_button_id_help = array( |
| 166 |
'text' => esc_attr__( 'Set ID for element.', 'floating-button' ), |
| 167 |
); |
| 168 |
|
| 169 |
$menu_2_button_class = array( |
| 170 |
'name' => 'param[menu_2][button_class][]', |
| 171 |
'type' => 'text', |
| 172 |
'val' => '', |
| 173 |
); |
| 174 |
|
| 175 |
$menu_2_button_class_help = array( |
| 176 |
'title' => esc_attr__( 'Set Class for element.', 'floating-button' ), |
| 177 |
'ul' => array( |
| 178 |
__( 'You may enter several classes separated by a space.', 'floating-button' ), |
| 179 |
), |
| 180 |
); |
| 181 |
|
| 182 |
$menu_2_link_rel = array( |
| 183 |
'name' => 'param[menu_2][link_rel][]', |
| 184 |
'type' => 'text', |
| 185 |
'val' => '', |
| 186 |
); |