PluginProbe
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder / 3.6.0
Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder v3.6.0
3.6.0 3.5.0 trunk 1.0.10 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.6.1 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.2 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 All 110 releases
buttonizer-multifunctional-button / modules / chat-button / inc / all-in-one.php

all-in-one.php in Buttonizer – Floating Menus, Sticky Buttons, & Popup Builder 3.6.0, at modules/chat-button/inc/all-in-one.php

140 lines 5.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!-- Version: 3.0 -->
2 <div class="wrap">
3 <h2>All in one</h2>
4 <h2 class="nav-tab-wrapper">
5 <a href="admin.php?page=contact_vr" class="nav-tab">Button contact</a>
6 <a href="admin.php?page=contact_vr_showroom" class="nav-tab">Showroom</a>
7 <a href="admin.php?page=contact_vr_contact_form" class="nav-tab">Contact form (beta)</a>
8 <a href="admin.php?page=contact_vr_all_in_one" class="nav-tab nav-tab-active">All in one</a>
9 <a href="admin.php?page=contact_vr_setting" class="nav-tab">Setting</a>
10 </h2>
11
12 <?php if (isset($_GET['settings-updated'])): ?>
13 <div id="message" class="updated">
14 <p><strong><?php esc_html_e('Settings saved.', 'button-contact-vr'); ?></strong></p>
15 </div>
16 <?php endif; ?>
17
18 <form method="post" action="options.php">
19 <?php settings_fields('pzf_settings_all_in_one'); ?>
20 <table class="form-table">
21 <tr valign="top">
22 <th scope="row">Enable:</th>
23 <td>
24 <input id="pzf_enable_all_in_one" name="pzf_enable_all_in_one" type="checkbox" value="1"
25 <?php checked(get_option('pzf_enable_all_in_one'), '1'); ?> />
26 </td>
27 </tr>
28 <!-- <tr valign="top">
29 <th scope="row">Note:</th>
30 <td>
31 <input placeholder="contact" type="text" name="pzf_note_all_in_one"
32 value="<?php echo esc_attr(get_option('pzf_note_all_in_one')); ?>" />
33 <br>
34 <i>Show on hover</i>
35 </td>
36 </tr> -->
37 <!-- <tr valign="top">
38 <th scope="row">Note (show/hide)</th>
39 <td>
40 <input id="pzf_note_bar_all_in_one" name="pzf_note_bar_all_in_one" type="checkbox" value="1"
41 <?php checked(get_option('pzf_note_bar_all_in_one'), '1'); ?> />
42 </td>
43 </tr> -->
44 <tr valign="top">
45 <th scope="row">Color all in one:</th>
46 <td>
47 <input id="pzf_color_all_in_one" class="my-color-field" name="pzf_color_all_in_one" type="text" value="<?php echo esc_attr(get_option('pzf_color_all_in_one')); ?>" pattern="^#([A-Fa-f0-9]{6})$" title="Color must be in the format #RRGGBB" maxlength="7" />
48 </td>
49 </tr>
50 <tr valign="top">
51 <th scope="row">Style icon:</th>
52 <td>
53 <ul id="style-icon-vr">
54 <?php
55 $icons = range(1, 5);
56 $color = get_option('pzf_color_all_in_one') ?: '#2196f3';
57 foreach ($icons as $icon): ?>
58 <li>
59 <label for="pzf_icon_all_in_one<?php echo esc_attr($icon); ?>">
60 <span style="background: <?php echo esc_attr($color); ?>">
61 <img src="<?php echo esc_url(PZF_URL . 'img/icon' . $icon . '.png'); ?>">
62 </span>
63 <input id="pzf_icon_all_in_one<?php echo esc_attr($icon); ?>" name="pzf_icon_all_in_one" type="radio" value="<?php echo esc_attr($icon); ?>"
64 <?php checked(get_option('pzf_icon_all_in_one'), $icon); ?> />
65 icon <?php echo esc_attr($icon); ?>
66 </label>
67 </li>
68 <?php endforeach; ?>
69 </ul>
70 </td>
71 </tr>
72 <tr valign="top">
73 <th scope="row">Item show/hidden:</th>
74 <td>
75 <input id="pzf_hide_default_all_in_one" name="pzf_hide_default_all_in_one" type="checkbox" value="1"
76 <?php checked(get_option('pzf_hide_default_all_in_one'), '1'); ?> />
77 <i>Show</i><br>
78 <i>Default is hidden</i>
79 </td>
80 </tr>
81 </table>
82 <?php submit_button(); ?>
83 </form>
84
85 <hr />
86
87 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2>
88 <p>
89 <?php
90 echo wp_kses(
91 sprintf(
92 // translators: %s will be replaced with the actual link
93 __('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'),
94 'href="https://r.buttonizer.io/support/community?utm_source=wp-plugin-chat-button-legacy" target="_blank"'
95 ),
96 ["a" => ["href" => [], "target" => []]]
97 );
98 ?>
99 </p>
100 </div>
101
102 <!-- CSS Admin All in one -->
103 <style type="text/css">
104 ul#style-icon-vr {
105 margin: 0;
106 padding: 0;
107 list-style-type: none;
108 }
109
110 ul#style-icon-vr li {
111 display: inline-block;
112 margin-bottom: 0;
113 margin-right: 15px;
114 text-align: center;
115 }
116
117 ul#style-icon-vr li label {
118 display: block;
119 cursor: pointer;
120 }
121
122 ul#style-icon-vr li span {
123 display: block;
124 width: 30px;
125 height: 30px;
126 border-radius: 50%;
127 position: relative;
128 margin: 0 auto;
129 padding: 8px;
130 }
131
132 ul#style-icon-vr li span img {
133 max-width: 27px;
134 position: absolute;
135 left: 50%;
136 top: 50%;
137 transform: translate(-50%, -50%);
138 }
139 </style>
140