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 / admin.php

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

130 lines 7.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="wrap">
2 <h2>Button contact VR</h2>
3
4 <h2 class="nav-tab-wrapper">
5 <a href="admin.php?page=contact_vr" class="nav-tab nav-tab-active">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">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 } ?>
17
18 <form method="post" action="options.php">
19 <?php settings_fields('pzf-settings-group'); ?>
20 <table class="form-table">
21 <tr valign="top">
22 <th scope="row">Hotline</th>
23 <td><input placeholder="0123 456 789" type="text" name="pzf_phone" value="<?php echo esc_attr(get_option('pzf_phone')); ?>" pattern="[0-9]{5,25}" title="Valid phone number from 5 to 25 digits" />
24 <label for="pzf_color_phone">
25 <input id="pzf_color_phone" class="my-color-field" name="pzf_color_phone" type="text" value="<?php echo esc_attr(get_option('pzf_color_phone')); ?>"
26 pattern="^#([A-Fa-f0-9]{6})$" title="Color must be in the format #RRGGBB" maxlength="7" />
27 </label>
28 </td>
29 </tr>
30 <tr valign="top">
31 <th scope="row">Hotline 2</th>
32 <td><input placeholder="0123 456 789" type="text" name="pzf_phone2" value="<?php echo esc_attr(get_option('pzf_phone2')); ?>" pattern="[0-9]{5,25}" title="Valid phone number from 5 to 25 digits" />
33 <label for="pzf_color_phone2">
34 <input id="pzf_color_phone2" class="my-color-field" name="pzf_color_phone2" type="text" value="<?php echo esc_attr(get_option('pzf_color_phone2')); ?>" pattern="^#([A-Fa-f0-9]{6})$" title="Color must be in the format #RRGGBB" maxlength="7" />
35 </label>
36 </td>
37 </tr>
38 <tr valign="top">
39 <th scope="row">Hotline 3</th>
40 <td>
41 <input placeholder="0123 456 789" type="text" name="pzf_phone3" value="<?php echo esc_attr(get_option('pzf_phone3')); ?>" pattern="[0-9]{5,25}" title="Valid phone number from 5 to 25 digits" />
42 <label for="pzf_color_phone3">
43 <input id="pzf_color_phone3" class="my-color-field" name="pzf_color_phone3" type="text" value="<?php echo esc_attr(get_option('pzf_color_phone3')); ?>" pattern="^#([A-Fa-f0-9]{6})$" title="Color must be in the format #RRGGBB" maxlength="7" />
44 </label>
45 </td>
46 </tr>
47 <tr valign="top" style=" border-bottom: 1px dashed #bfbfbf; ">
48 <th scope="row" valign="top">Hotline bar (show/hide)</th>
49 <td>
50 <label for="pzf_phone_bar">
51 <input id="pzf_phone_bar" name="pzf_phone_bar" type="checkbox" value="1" <?php echo esc_attr(get_option('pzf_phone_bar')) == '1' ? 'checked="checked"' : '' ?> />
52 </label>
53 </td>
54 </tr>
55 <tr valign="top">
56 <th scope="row">Zalo</th>
57 <td><input placeholder="0123 456 789" type="text" name="pzf_zalo" value="<?php echo esc_attr(get_option('pzf_zalo')); ?>" pattern="\d{5,25}" title="Valid phone number from 5 to 25 digits" /></td>
58 </tr>
59 <tr valign="top">
60 <th scope="row">Telegram</th>
61 <td><input placeholder="Link telegram" type="url" name="pzf_telegram" value="<?php echo esc_attr(get_option('pzf_telegram')); ?>" title="URL hợp lệ" /></td>
62 </tr>
63 <tr valign="top">
64 <th scope="row">Instagram</th>
65 <td><input placeholder="Link instagram" type="url" name="pzf_instagram" value="<?php echo esc_attr(get_option('pzf_instagram')); ?>" title="URL hợp lệ" /></td>
66 </tr>
67 <tr valign="top">
68 <th scope="row">Youtube</th>
69 <td><input placeholder="Link youtube" type="url" name="pzf_youtube" value="<?php echo esc_attr(get_option('pzf_youtube')); ?>" title="URL hợp lệ" /></td>
70 </tr>
71 <tr valign="top">
72 <th scope="row">Tiktok</th>
73 <td><input placeholder="Link tiktok" type="url" name="pzf_tiktok" value="<?php echo esc_attr(get_option('pzf_tiktok')); ?>" title="URL hợp lệ" /></td>
74 </tr>
75 <tr valign="top">
76 <th scope="row">Link fanpage</th>
77 <td><input placeholder="Link fanpage" type="url" name="pzf_linkfanpage" value="<?php echo esc_attr(get_option('pzf_linkfanpage')); ?>" title="URL hợp lệ" /></td>
78 </tr>
79 <tr valign="top">
80 <th scope="row">Link messenger</th>
81 <td><input placeholder="Link messenger" type="url" name="pzf_linkmessenger" value="<?php echo esc_attr(get_option('pzf_linkmessenger')); ?>" title="URL hợp lệ" /></td>
82 </tr>
83 <tr valign="top">
84 <th scope="row">Whatsapp</th>
85 <td><input placeholder="0123456789" type="text" name="pzf_whatsapp" value="<?php echo esc_attr(get_option('pzf_whatsapp')); ?>" pattern="\d{5,25}" title="Valid phone number from 5 to 25 digits" /></td>
86 </tr>
87 <tr valign="top">
88 <th scope="row">Viber</th>
89 <td><input placeholder="0123 456 789" type="text" name="pzf_viber" value="<?php echo esc_attr(get_option('pzf_viber')); ?>" pattern="\d{5,25}" title="Valid phone number from 5 to 25 digits" /></td>
90 </tr>
91 <tr valign="top">
92 <th scope="row">Link map</th>
93 <td>
94 <input placeholder="Link google map" type="url" name="pzf_linkggmap" value="<?php echo esc_attr(get_option('pzf_linkggmap')); ?>" title="URL hợp lệ" />
95 <label for="pzf_color_linkggmap">
96 <input id="pzf_color_linkggmap" class="my-color-field" name="pzf_color_linkggmap" type="text" value="<?php echo esc_attr(get_option('pzf_color_linkggmap')); ?>" pattern="^#([A-Fa-f0-9]{6})$" title="Color must be in the format #RRGGBB" maxlength="7" />
97 </label>
98 </td>
99 </tr>
100 <tr valign="top" style=" border-bottom: 1px dashed #bfbfbf; ">
101 <th scope="row">Contact link</th>
102 <td>
103 <input placeholder="/lien-he/" type="url" name="pzf_contact_link" value="<?php echo esc_attr(get_option('pzf_contact_link')); ?>" title="URL hợp lệ" />
104 <label for="pzf_color_contact">
105 <input id="pzf_color_contact" class="my-color-field" name="pzf_color_contact" type="text" value="<?php echo esc_attr(get_option('pzf_color_contact')); ?>" pattern="^#([A-Fa-f0-9]{6})$" title="Color must be in the format #RRGGBB" maxlength="7" />
106 </label>
107 </td>
108 </tr>
109 </table>
110
111 <?php submit_button(); ?>
112 </form>
113
114 <hr />
115
116 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2>
117 <p>
118 <?php
119 echo wp_kses(
120 sprintf(
121 // translators: %s will be replaced with the actual link
122 __('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'),
123 'href="https://r.buttonizer.io/support/community?utm_source=wp-plugin-chat-button-legacy" target="_blank"'
124 ),
125 ["a" => ["href" => [], "target" => []]]
126 );
127 ?>
128 </p>
129 </div>
130