Changeset 3173035
- Timestamp:
- 10/21/2024 03:09:03 PM (17 months ago)
- Location:
- button-contact-vr/trunk
- Files:
-
- 8 edited
-
button-contact-vr.php (modified) (4 diffs)
-
inc/admin.php (modified) (7 diffs)
-
inc/all-in-one.php (modified) (9 diffs)
-
inc/button-contact.php (modified) (4 diffs)
-
inc/contact-form.php (modified) (4 diffs)
-
inc/setting.php (modified) (1 diff)
-
inc/showroom.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
button-contact-vr/trunk/button-contact-vr.php
r3148917 r3173035 1 1 <?php 2 2 3 /** 3 4 * Plugin Name: Button contact VR 4 * Plugin URI: webvocuc.com5 * Plugin URI: https://webvocuc.com 5 6 * Description: Button contact call, zalo, whatsapp, messenger, popup form,... 6 * Version: 4.7. 9.17 * Version: 4.7.10 7 8 * Author: VirusTran 8 9 * Author URI: virustran … … 10 11 */ 11 12 12 if ( ! defined( 'ABSPATH' )) {13 if (! defined('ABSPATH')) { 13 14 exit; 14 15 } 15 16 16 define( 'PZF_FILE', __FILE__ ); 17 define( 'PZF_NAME', basename( PZF_FILE ) ); 18 define( 'PZF_BASE_NAME', plugin_basename( PZF_FILE ) ); 19 define( 'PZF_PATH', plugin_dir_path( PZF_FILE ) ); 20 define( 'PZF_URL', plugin_dir_url( PZF_FILE ) ); 21 22 function register_mysettings() { 17 define('PZF_FILE', __FILE__); 18 define('PZF_NAME', basename(PZF_FILE)); 19 define('PZF_BASE_NAME', plugin_basename(PZF_FILE)); 20 define('PZF_PATH', plugin_dir_path(PZF_FILE)); 21 define('PZF_URL', plugin_dir_url(PZF_FILE)); 22 23 function register_mysettings() 24 { 23 25 // Group 1: Phone numbers and colors 24 register_setting( 'pzf-settings-group', 'pzf_phone', [25 'sanitize_callback' => 'sanitize_text_field_with_limit' 26 ]); 27 register_setting( 'pzf-settings-group', 'pzf_phone2', [28 'sanitize_callback' => 'sanitize_text_field_with_limit' 29 ]); 30 register_setting( 'pzf-settings-group', 'pzf_phone3', [31 'sanitize_callback' => 'sanitize_text_field_with_limit' 32 ]); 33 register_setting( 'pzf-settings-group', 'pzf_color_phone', [34 'sanitize_callback' => 'sanitize_hex_color_with_limit' 35 ]); 36 register_setting( 'pzf-settings-group', 'pzf_color_phone2', [37 'sanitize_callback' => 'sanitize_hex_color_with_limit' 38 ]); 39 register_setting( 'pzf-settings-group', 'pzf_color_phone3', [26 register_setting('pzf-settings-group', 'pzf_phone', [ 27 'sanitize_callback' => 'sanitize_text_field_with_limit' 28 ]); 29 register_setting('pzf-settings-group', 'pzf_phone2', [ 30 'sanitize_callback' => 'sanitize_text_field_with_limit' 31 ]); 32 register_setting('pzf-settings-group', 'pzf_phone3', [ 33 'sanitize_callback' => 'sanitize_text_field_with_limit' 34 ]); 35 register_setting('pzf-settings-group', 'pzf_color_phone', [ 36 'sanitize_callback' => 'sanitize_hex_color_with_limit' 37 ]); 38 register_setting('pzf-settings-group', 'pzf_color_phone2', [ 39 'sanitize_callback' => 'sanitize_hex_color_with_limit' 40 ]); 41 register_setting('pzf-settings-group', 'pzf_color_phone3', [ 40 42 'sanitize_callback' => 'sanitize_hex_color_with_limit' 41 43 ]); 42 44 43 45 // Group 2: Social media links 44 register_setting( 'pzf-settings-group', 'pzf_linkfanpage', [45 'sanitize_callback' => 'esc_url_raw' 46 ]); 47 register_setting( 'pzf-settings-group', 'pzf_linkmessenger', [48 'sanitize_callback' => 'esc_url_raw' 49 ]); 50 register_setting( 'pzf-settings-group', 'pzf_whatsapp', [51 'sanitize_callback' => 'sanitize_text_field_with_limit' 52 ]); 53 register_setting( 'pzf-settings-group', 'pzf_zalo', [54 'sanitize_callback' => 'sanitize_text_field_with_limit' 55 ]); 56 register_setting( 'pzf-settings-group', 'pzf_telegram', [57 'sanitize_callback' => 'sanitize_text_field_with_limit' 58 ]); 59 register_setting( 'pzf-settings-group', 'pzf_instagram', [60 'sanitize_callback' => 'sanitize_text_field_with_limit' 61 ]); 62 register_setting( 'pzf-settings-group', 'pzf_youtube', [63 'sanitize_callback' => 'sanitize_text_field_with_limit' 64 ]); 65 register_setting( 'pzf-settings-group', 'pzf_tiktok', [66 'sanitize_callback' => 'sanitize_text_field_with_limit' 67 ]); 68 register_setting( 'pzf-settings-group', 'pzf_viber', [46 register_setting('pzf-settings-group', 'pzf_linkfanpage', [ 47 'sanitize_callback' => 'esc_url_raw' 48 ]); 49 register_setting('pzf-settings-group', 'pzf_linkmessenger', [ 50 'sanitize_callback' => 'esc_url_raw' 51 ]); 52 register_setting('pzf-settings-group', 'pzf_whatsapp', [ 53 'sanitize_callback' => 'sanitize_text_field_with_limit' 54 ]); 55 register_setting('pzf-settings-group', 'pzf_zalo', [ 56 'sanitize_callback' => 'sanitize_text_field_with_limit' 57 ]); 58 register_setting('pzf-settings-group', 'pzf_telegram', [ 59 'sanitize_callback' => 'sanitize_text_field_with_limit' 60 ]); 61 register_setting('pzf-settings-group', 'pzf_instagram', [ 62 'sanitize_callback' => 'sanitize_text_field_with_limit' 63 ]); 64 register_setting('pzf-settings-group', 'pzf_youtube', [ 65 'sanitize_callback' => 'sanitize_text_field_with_limit' 66 ]); 67 register_setting('pzf-settings-group', 'pzf_tiktok', [ 68 'sanitize_callback' => 'sanitize_text_field_with_limit' 69 ]); 70 register_setting('pzf-settings-group', 'pzf_viber', [ 69 71 'sanitize_callback' => 'sanitize_text_field_with_limit' 70 72 ]); 71 73 72 74 // Group 3: Contact link and colors 73 register_setting( 'pzf-settings-group', 'pzf_contact_link', [74 'sanitize_callback' => 'esc_url_raw' 75 ]); 76 register_setting( 'pzf-settings-group', 'pzf_color_contact', [77 'sanitize_callback' => 'sanitize_hex_color_with_limit' 78 ]); 79 register_setting( 'pzf-settings-group', 'pzf_linkggmap', [80 'sanitize_callback' => 'esc_url_raw' 81 ]); 82 register_setting( 'pzf-settings-group', 'pzf_color_linkggmap', [75 register_setting('pzf-settings-group', 'pzf_contact_link', [ 76 'sanitize_callback' => 'esc_url_raw' 77 ]); 78 register_setting('pzf-settings-group', 'pzf_color_contact', [ 79 'sanitize_callback' => 'sanitize_hex_color_with_limit' 80 ]); 81 register_setting('pzf-settings-group', 'pzf_linkggmap', [ 82 'sanitize_callback' => 'esc_url_raw' 83 ]); 84 register_setting('pzf-settings-group', 'pzf_color_linkggmap', [ 83 85 'sanitize_callback' => 'sanitize_hex_color_with_limit' 84 86 ]); 85 87 86 88 // Group 4: Facebook integration 87 register_setting( 'pzf-settings-group', 'pzf_id_fanpage', [88 'sanitize_callback' => 'sanitize_text_field_with_limit' 89 ]); 90 register_setting( 'pzf-settings-group', 'pzf_color_fb', [89 register_setting('pzf-settings-group', 'pzf_id_fanpage', [ 90 'sanitize_callback' => 'sanitize_text_field_with_limit' 91 ]); 92 register_setting('pzf-settings-group', 'pzf_color_fb', [ 91 93 'sanitize_callback' => 'sanitize_hex_color_with_limit' 92 94 ]); 93 95 94 96 // Group 5: Other settings 95 register_setting( 'pzf-settings-group', 'pzf_phone_bar', [96 'sanitize_callback' => 'sanitize_text_field_with_limit' 97 ]); 98 register_setting( 'pzf-settings-group', 'logged_in_greeting', [99 'sanitize_callback' => 'sanitize_text_field_with_limit' 100 ]); 101 102 103 register_setting( 'pzf-settings-group-setting', 'setting_size', [104 'sanitize_callback' => 'sanitize_text_field_with_limit' 105 ]); 106 register_setting( 'pzf-settings-group-setting', 'pzf_location', [107 'sanitize_callback' => 'sanitize_text_field_with_limit' 108 ]); 109 register_setting( 'pzf-settings-group-setting', 'pzf_location_bottom', [110 'sanitize_callback' => 'sanitize_text_field_with_limit' 111 ]); 112 register_setting( 'pzf-settings-group-setting', 'pzf_hide_mobile', [113 'sanitize_callback' => 'sanitize_text_field_with_limit' 114 ]); 115 register_setting( 'pzf-settings-group-setting', 'pzf_hide_desktop', [116 'sanitize_callback' => 'sanitize_text_field_with_limit' 117 ]); 118 register_setting( 'pzf-settings-group-setting', 'pzf_off_effects', [119 'sanitize_callback' => 'sanitize_text_field_with_limit' 120 ]); 121 122 123 register_setting( 'pzf_settings_all_in_one', 'pzf_enable_all_in_one', [124 'sanitize_callback' => 'sanitize_text_field_with_limit' 125 ]); 126 register_setting( 'pzf_settings_all_in_one', 'pzf_note_all_in_one', [127 'sanitize_callback' => 'sanitize_text_field_with_limit' 128 ]); 129 register_setting( 'pzf_settings_all_in_one', 'pzf_note_bar_all_in_one', [130 'sanitize_callback' => 'sanitize_text_field_with_limit' 131 ]); 132 register_setting( 'pzf_settings_all_in_one', 'pzf_color_all_in_one', [133 'sanitize_callback' => 'sanitize_hex_color_with_limit' 134 ]); 135 register_setting( 'pzf_settings_all_in_one', 'pzf_icon_all_in_one', [136 'sanitize_callback' => 'sanitize_text_field_with_limit' 137 ]); 138 register_setting( 'pzf_settings_all_in_one', 'pzf_hide_default_all_in_one', [139 'sanitize_callback' => 'sanitize_text_field_with_limit' 140 ]); 141 142 143 register_setting( 'pzf_settings_contact_form', 'pzf_enable_contact_form', [144 'sanitize_callback' => 'sanitize_text_field_with_limit' 145 ]); 146 register_setting( 'pzf_settings_contact_form', 'pzf_color_contact_form', [147 'sanitize_callback' => 'sanitize_hex_color_with_limit' 148 ]); 149 register_setting( 'pzf_settings_contact_form', 'pzf_bg_contact_form', [150 'sanitize_callback' => 'sanitize_hex_color_with_limit' 151 ]); 152 register_setting( 'pzf_settings_contact_form', 'pzf_max_w_contact_form', [97 register_setting('pzf-settings-group', 'pzf_phone_bar', [ 98 'sanitize_callback' => 'sanitize_text_field_with_limit' 99 ]); 100 register_setting('pzf-settings-group', 'logged_in_greeting', [ 101 'sanitize_callback' => 'sanitize_text_field_with_limit' 102 ]); 103 104 105 register_setting('pzf-settings-group-setting', 'setting_size', [ 106 'sanitize_callback' => 'sanitize_text_field_with_limit' 107 ]); 108 register_setting('pzf-settings-group-setting', 'pzf_location', [ 109 'sanitize_callback' => 'sanitize_text_field_with_limit' 110 ]); 111 register_setting('pzf-settings-group-setting', 'pzf_location_bottom', [ 112 'sanitize_callback' => 'sanitize_text_field_with_limit' 113 ]); 114 register_setting('pzf-settings-group-setting', 'pzf_hide_mobile', [ 115 'sanitize_callback' => 'sanitize_text_field_with_limit' 116 ]); 117 register_setting('pzf-settings-group-setting', 'pzf_hide_desktop', [ 118 'sanitize_callback' => 'sanitize_text_field_with_limit' 119 ]); 120 register_setting('pzf-settings-group-setting', 'pzf_off_effects', [ 121 'sanitize_callback' => 'sanitize_text_field_with_limit' 122 ]); 123 124 125 register_setting('pzf_settings_all_in_one', 'pzf_enable_all_in_one', [ 126 'sanitize_callback' => 'sanitize_text_field_with_limit' 127 ]); 128 register_setting('pzf_settings_all_in_one', 'pzf_note_all_in_one', [ 129 'sanitize_callback' => 'sanitize_text_field_with_limit' 130 ]); 131 register_setting('pzf_settings_all_in_one', 'pzf_note_bar_all_in_one', [ 132 'sanitize_callback' => 'sanitize_text_field_with_limit' 133 ]); 134 register_setting('pzf_settings_all_in_one', 'pzf_color_all_in_one', [ 135 'sanitize_callback' => 'sanitize_hex_color_with_limit' 136 ]); 137 register_setting('pzf_settings_all_in_one', 'pzf_icon_all_in_one', [ 138 'sanitize_callback' => 'sanitize_text_field_with_limit' 139 ]); 140 register_setting('pzf_settings_all_in_one', 'pzf_hide_default_all_in_one', [ 141 'sanitize_callback' => 'sanitize_text_field_with_limit' 142 ]); 143 144 145 register_setting('pzf_settings_contact_form', 'pzf_enable_contact_form', [ 146 'sanitize_callback' => 'sanitize_text_field_with_limit' 147 ]); 148 register_setting('pzf_settings_contact_form', 'pzf_color_contact_form', [ 149 'sanitize_callback' => 'sanitize_hex_color_with_limit' 150 ]); 151 register_setting('pzf_settings_contact_form', 'pzf_bg_contact_form', [ 152 'sanitize_callback' => 'sanitize_hex_color_with_limit' 153 ]); 154 register_setting('pzf_settings_contact_form', 'pzf_max_w_contact_form', [ 153 155 'sanitize_callback' => 'sanitize_text_field_with_limit' 154 156 ]); … … 156 158 157 159 // Sanitize and limit the length of a text field 158 function sanitize_text_field_with_limit( $value ) { 159 $value = wp_strip_all_tags( $value ); // Remove HTML tags 160 return substr( $value, 0, 255 ); // Limit to 255 characters 160 function sanitize_text_field_with_limit($value) 161 { 162 $value = wp_strip_all_tags($value); // Remove HTML tags 163 return substr($value, 0, 255); // Limit to 255 characters 161 164 } 162 165 163 166 // Sanitize and limit the length of a hex color field 164 function sanitize_hex_color_with_limit( $value ) { 165 $value = sanitize_hex_color( $value ); // Sanitize hex color 166 return substr( $value, 0, 7 ); // Limit to 7 characters 167 function sanitize_hex_color_with_limit($value) 168 { 169 $value = sanitize_hex_color($value); // Sanitize hex color 170 return substr($value, 0, 7); // Limit to 7 characters 167 171 } 168 172 … … 171 175 172 176 // add menu admin wp 173 function pzf_create_menu() { 174 add_menu_page('Button contact VR', 'Button contact', 'administrator', 'contact_vr', 'pzf_settings_page',plugins_url('/img/icon.png', __FILE__), 100); 175 add_action( 'admin_init', 'register_mysettings' ); 177 function pzf_create_menu() 178 { 179 add_menu_page('Button contact VR', 'Button contact', 'administrator', 'contact_vr', 'pzf_settings_page', plugins_url('/img/icon.png', __FILE__), 100); 180 add_action('admin_init', 'register_mysettings'); 176 181 177 182 // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null ) 178 add_submenu_page( 'contact_vr', 'Contact form', 'Contact form', 'administrator', 'contact_vr_contact_form', 'pzf_settings_contact_form', 10 ); 179 add_submenu_page( 'contact_vr', 'Showroom', 'Showroom', 'administrator', 'contact_vr_showroom', 'pzf_settings_showroom', 20 ); 180 add_submenu_page( 'contact_vr', 'All in one', 'All in one', 'administrator', 'contact_vr_all_in_one', 'pzf_settings_all_in_one', 30 ); 181 add_submenu_page( 'contact_vr', 'Setting', 'Setting', 'administrator', 'contact_vr_setting', 'pzf_settings_page_setting', 40 ); 182 183 } 184 add_action('admin_menu', 'pzf_create_menu'); 183 add_submenu_page('contact_vr', 'Contact form', 'Contact form', 'administrator', 'contact_vr_contact_form', 'pzf_settings_contact_form', 10); 184 add_submenu_page('contact_vr', 'Showroom', 'Showroom', 'administrator', 'contact_vr_showroom', 'pzf_settings_showroom', 20); 185 add_submenu_page('contact_vr', 'All in one', 'All in one', 'administrator', 'contact_vr_all_in_one', 'pzf_settings_all_in_one', 30); 186 add_submenu_page('contact_vr', 'Setting', 'Setting', 'administrator', 'contact_vr_setting', 'pzf_settings_page_setting', 40); 187 } 188 add_action('admin_menu', 'pzf_create_menu'); 185 189 186 190 // add link setting - add setting: 4.2 187 add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'add_action_links' ); 188 function add_action_links ( $actions ) { 189 $mylinks = array( 190 '<a href="' . admin_url( 'admin.php?page=contact_vr' ) . '">'.esc_html__( 'Settings', 'settings_pzf' ).'</a>', 191 ); 192 $actions = array_merge( $actions, $mylinks ); 193 return $actions; 191 add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'add_action_links'); 192 function add_action_links($actions) 193 { 194 $mylinks = array( 195 '<a href="' . admin_url('admin.php?page=contact_vr') . '">' . esc_html__('Settings', 'button-contact-vr') . '</a>', 196 ); 197 $actions = array_merge($actions, $mylinks); 198 return $actions; 194 199 } 195 200 // Register and enqueue custom admin CSS 196 function custom_admin_css() { 197 wp_register_style( 'custom-admin', plugins_url( 'css/style-admin.css', __FILE__ ) ); 198 wp_enqueue_style( 'custom-admin' ); 199 } 200 add_action( 'admin_enqueue_scripts', 'custom_admin_css' ); 201 function custom_admin_css() 202 { 203 wp_register_style('custom-admin', plugins_url('css/style-admin.css', __FILE__), [], 1); 204 wp_enqueue_style('custom-admin'); 205 } 206 add_action('admin_enqueue_scripts', 'custom_admin_css'); 201 207 202 208 // add backend 203 function pzf_settings_page() { 204 include PZF_PATH. '/inc/admin.php'; 205 } 206 function pzf_settings_page_setting() { 207 include PZF_PATH. '/inc/setting.php'; 208 } 209 function pzf_settings_all_in_one() { 210 include PZF_PATH. '/inc/all-in-one.php'; 211 } 212 function pzf_settings_contact_form() { 213 include PZF_PATH. '/inc/contact-form.php'; 214 } 215 function pzf_settings_showroom() { 216 include PZF_PATH. '/inc/showroom.php'; 209 function pzf_settings_page() 210 { 211 include PZF_PATH . '/inc/admin.php'; 212 } 213 function pzf_settings_page_setting() 214 { 215 include PZF_PATH . '/inc/setting.php'; 216 } 217 function pzf_settings_all_in_one() 218 { 219 include PZF_PATH . '/inc/all-in-one.php'; 220 } 221 function pzf_settings_contact_form() 222 { 223 include PZF_PATH . '/inc/contact-form.php'; 224 } 225 function pzf_settings_showroom() 226 { 227 include PZF_PATH . '/inc/showroom.php'; 217 228 } 218 229 // end backend -
button-contact-vr/trunk/inc/admin.php
r3148917 r3173035 10 10 </h2> 11 11 12 <?php if ( isset($_GET['settings-updated'])) { ?>12 <?php if (isset($_GET['settings-updated'])) { ?> 13 13 <div id="message" class="updated"> 14 <p><strong><?php _e('Settings saved.') ?></strong></p>14 <p><strong><?php esc_html_e('Settings saved.', 'button-contact-vr') ?></strong></p> 15 15 </div> 16 16 <?php } ?> 17 17 18 18 <form method="post" action="options.php"> 19 <?php settings_fields( 'pzf-settings-group'); ?>19 <?php settings_fields('pzf-settings-group'); ?> 20 20 <table class="form-table"> 21 21 <tr valign="top"> … … 23 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 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" />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 27 </label> 28 28 </td> … … 41 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 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" />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 44 </label> 45 45 </td> … … 49 49 <td> 50 50 <label for="pzf_phone_bar"> 51 <input id="pzf_phone_bar" name="pzf_phone_bar" type="checkbox" value="1" <?php echo get_option('pzf_phone_bar') == '1' ? 'checked="checked"' : '' ?> />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 52 </label> 53 53 </td> … … 55 55 <tr valign="top"> 56 56 <th scope="row">Zalo</th> 57 <td><input placeholder="0123 456 789" type="text" name="pzf_zalo" value="<?php echo get_option('pzf_zalo'); ?>" pattern="\d{5,25}" title="Valid phone number from 5 to 25 digits" /></td>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 58 </tr> 59 59 <tr valign="top"> 60 60 <th scope="row">Telegram</th> 61 <td><input placeholder="Link telegram" type="url" name="pzf_telegram" value="<?php echo get_option('pzf_telegram'); ?>" title="URL hợp lệ" /></td>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 62 </tr> 63 63 <tr valign="top"> 64 64 <th scope="row">Instagram</th> 65 <td><input placeholder="Link instagram" type="url" name="pzf_instagram" value="<?php echo get_option('pzf_instagram'); ?>" title="URL hợp lệ" /></td>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 66 </tr> 67 67 <tr valign="top"> 68 68 <th scope="row">Youtube</th> 69 <td><input placeholder="Link youtube" type="url" name="pzf_youtube" value="<?php echo get_option('pzf_youtube'); ?>" title="URL hợp lệ" /></td>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 70 </tr> 71 71 <tr valign="top"> 72 72 <th scope="row">Tiktok</th> 73 <td><input placeholder="Link tiktok" type="url" name="pzf_tiktok" value="<?php echo get_option('pzf_tiktok'); ?>" title="URL hợp lệ" /></td>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 74 </tr> 75 75 <tr valign="top"> 76 76 <th scope="row">Link fanpage</th> 77 <td><input placeholder="Link fanpage" type="url" name="pzf_linkfanpage" value="<?php echo get_option('pzf_linkfanpage'); ?>" title="URL hợp lệ" /></td>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 78 </tr> 79 79 <tr valign="top"> 80 80 <th scope="row">Link messenger</th> 81 <td><input placeholder="Link messenger" type="url" name="pzf_linkmessenger" value="<?php echo get_option('pzf_linkmessenger'); ?>" title="URL hợp lệ" /></td>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 82 </tr> 83 83 <tr valign="top"> 84 84 <th scope="row">Whatsapp</th> 85 <td><input placeholder="0123456789" type="text" name="pzf_whatsapp" value="<?php echo get_option('pzf_whatsapp'); ?>" pattern="\d{5,25}" title="Valid phone number from 5 to 25 digits" /></td>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 86 </tr> 87 87 <tr valign="top"> 88 88 <th scope="row">Viber</th> 89 <td><input placeholder="0123 456 789" type="text" name="pzf_viber" value="<?php echo get_option('pzf_viber'); ?>" pattern="\d{5,25}" title="Valid phone number from 5 to 25 digits" /></td>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 90 </tr> 91 91 <tr valign="top"> 92 92 <th scope="row">Link map</th> 93 93 <td> 94 <input placeholder="Link google map" type="url" name="pzf_linkggmap" value="<?php echo get_option('pzf_linkggmap'); ?>" title="URL hợp lệ" />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 95 <label for="pzf_color_linkggmap"> 96 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" /> … … 101 101 <th scope="row">Contact link</th> 102 102 <td> 103 <input placeholder="/lien-he/" type="url" name="pzf_contact_link" value="<?php echo get_option('pzf_contact_link'); ?>" title="URL hợp lệ" />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 104 <label for="pzf_color_contact"> 105 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" /> … … 114 114 <hr /> 115 115 116 <h2><?php esc_html_e( 'Support', 'support_pzf'); ?></h2>116 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2> 117 117 <p> 118 <?php _e( 'For submitting any support queries, feedback, bug reports or feature requests, please visit <a href="https://wordpress.org/plugins/button-contact-vr/" target="_blank">this link</a>.', 'support_pzf' ); ?> 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://wordpress.org/plugins/button-contact-vr/" target="_blank"' 124 ), 125 ["a" => ["href" => [], "target" => []]] 126 ); 127 ?> 119 128 </p> 120 <h2><?php esc_html_e( 'Help', 'support_pzf'); ?></h2>129 <h2><?php esc_html_e('Help', 'button-contact-vr'); ?></h2> 121 130 <p> 122 <?php _e( 'Please visit <a href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank">this link</a>.', 'help_pzf' ); ?> 131 132 <?php 133 echo wp_kses( 134 sprintf( 135 // translators: %s will be replaced with the actual link 136 __('Please visit <a %s>this link</a>.', 'button-contact-vr'), 137 'href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank"' 138 ), 139 ["a" => ["href" => [], "target" => []]] 140 ); 141 ?> 123 142 </p> 124 143 -
button-contact-vr/trunk/inc/all-in-one.php
r3143999 r3173035 10 10 </h2> 11 11 12 <?php if ( isset($_GET['settings-updated'])): ?>12 <?php if (isset($_GET['settings-updated'])): ?> 13 13 <div id="message" class="updated"> 14 <p><strong><?php _e('Settings saved.'); ?></strong></p>14 <p><strong><?php esc_html_e('Settings saved.', 'button-contact-vr'); ?></strong></p> 15 15 </div> 16 16 <?php endif; ?> … … 18 18 <form method="post" action="options.php"> 19 19 <?php settings_fields('pzf_settings_all_in_one'); ?> 20 <table class="form-table"> 20 <table class="form-table"> 21 21 <tr valign="top"> 22 22 <th scope="row">Enable:</th> 23 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'); ?> />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 26 </td> 27 </tr> 28 <!-- <tr valign="top">27 </tr> 28 <!-- <tr valign="top"> 29 29 <th scope="row">Note:</th> 30 30 <td> … … 35 35 </td> 36 36 </tr> --> 37 <!-- <tr valign="top">37 <!-- <tr valign="top"> 38 38 <th scope="row">Note (show/hide)</th> 39 39 <td> … … 47 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 48 </td> 49 </tr> 49 </tr> 50 50 <tr valign="top"> 51 51 <th scope="row">Style icon:</th> … … 57 57 foreach ($icons as $icon): ?> 58 58 <li> 59 <label for="pzf_icon_all_in_one<?php echo $icon; ?>">59 <label for="pzf_icon_all_in_one<?php echo esc_attr($icon); ?>"> 60 60 <span style="background: <?php echo esc_attr($color); ?>"> 61 <img src="/wp-content/plugins/button-contact-vr/img/icon<?php echo $icon; ?>.png">61 <img src="/wp-content/plugins/button-contact-vr/img/icon<?php echo esc_attr($icon); ?>.png"> 62 62 </span> 63 <input id="pzf_icon_all_in_one<?php echo $icon; ?>" name="pzf_icon_all_in_one" type="radio" value="<?php echo $icon; ?>"64 <?php checked(get_option('pzf_icon_all_in_one'), $icon); ?> />65 icon <?php echo $icon; ?>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 66 </label> 67 67 </li> 68 68 <?php endforeach; ?> 69 </ul> 69 </ul> 70 70 </td> 71 </tr> 71 </tr> 72 72 <tr valign="top"> 73 73 <th scope="row">Item show/hidden:</th> 74 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'); ?> />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 77 <i>Show</i><br> 78 78 <i>Default is hidden</i> 79 79 </td> 80 </tr> 80 </tr> 81 81 </table> 82 82 83 <?php submit_button(); ?> 83 84 </form> … … 85 86 <hr /> 86 87 87 <h2><?php esc_html_e('Support', ' support_pzf'); ?></h2>88 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2> 88 89 <p> 89 <?php _e('For submitting any support queries, feedback, bug reports, or feature requests, please visit <a href="https://wordpress.org/plugins/button-contact-vr/" target="_blank">this link</a>.', 'support_pzf'); ?> 90 <?php 91 echo wp_kses( 92 sprintf( 93 // translators: %s will be replaced with the actual link 94 __('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'), 95 'href="https://wordpress.org/plugins/button-contact-vr/" target="_blank"' 96 ), 97 ["a" => ["href" => [], "target" => []]] 98 ); 99 ?> 90 100 </p> 91 <h2><?php esc_html_e('Help', ' support_pzf'); ?></h2>101 <h2><?php esc_html_e('Help', 'button-contact-vr'); ?></h2> 92 102 <p> 93 <?php _e('Please visit <a href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank">this link</a>.', 'help_pzf'); ?> 103 104 <?php 105 echo wp_kses( 106 sprintf( 107 // translators: %s will be replaced with the actual link 108 __('Please visit <a %s>this link</a>.', 'button-contact-vr'), 109 'href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank"' 110 ), 111 ["a" => ["href" => [], "target" => []]] 112 ); 113 ?> 94 114 </p> 95 115 </div> … … 102 122 list-style-type: none; 103 123 } 124 104 125 ul#style-icon-vr li { 105 126 display: inline-block; … … 108 129 text-align: center; 109 130 } 131 110 132 ul#style-icon-vr li label { 111 133 display: block; 112 134 cursor: pointer; 113 135 } 136 114 137 ul#style-icon-vr li span { 115 138 display: block; … … 118 141 border-radius: 50%; 119 142 position: relative; 120 margin: 0 auto;padding: 8px; 143 margin: 0 auto; 144 padding: 8px; 121 145 } 146 122 147 ul#style-icon-vr li span img { 123 148 max-width: 27px; -
button-contact-vr/trunk/inc/button-contact.php
r3144514 r3173035 1 1 <?php 2 2 3 final class PZF { 3 final class PZF 4 { 4 5 5 6 protected static $_instance = null; 6 7 7 public static function instance() { 8 if ( is_null( self::$_instance ) ) { 8 public static function instance() 9 { 10 if (is_null(self::$_instance)) { 9 11 self::$_instance = new self(); 10 12 } … … 12 14 } 13 15 14 public function __construct() { 15 add_action( 'plugins_loaded', array( $this, 'init_hooks' ) ); 16 public function __construct() 17 { 18 add_action('plugins_loaded', array($this, 'init_hooks')); 16 19 } 17 20 18 public function init_hooks() { 19 add_action( 'wp_footer', array( $this, 'pzf_frontend' ) ); // add frontend to footer 20 add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); //add style to frontend 21 add_action( 'admin_enqueue_scripts', array( $this, 'mw_enqueue_color_picker' ) ); // add scripts to frontend 21 public function init_hooks() 22 { 23 add_action('wp_footer', array($this, 'pzf_frontend')); // add frontend to footer 24 add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts')); //add style to frontend 25 add_action('admin_enqueue_scripts', array($this, 'mw_enqueue_color_picker')); // add scripts to frontend 22 26 } 23 27 24 28 //add style to frontend 25 public function enqueue_scripts() { 26 wp_enqueue_style( 'pzf-style', PZF_URL . 'css/style.css', array() ); 29 public function enqueue_scripts() 30 { 31 wp_enqueue_style('pzf-style', PZF_URL . 'css/style.css', array(), 1); 27 32 } 28 33 // public function enqueue_scripts() { … … 30 35 31 36 // add scripts to frontend 32 function mw_enqueue_color_picker() { 33 wp_enqueue_style( 'wp-color-picker' ); 34 wp_enqueue_script( 'my-script-handle', PZF_URL . 'js/script.js', array( 'wp-color-picker' ), false, true ); 37 function mw_enqueue_color_picker() 38 { 39 wp_enqueue_style('wp-color-picker'); 40 wp_enqueue_script('my-script-handle', PZF_URL . 'js/script.js', array('wp-color-picker'), 1, true); 35 41 } 36 42 37 43 // add frontend to footer theme 38 public function pzf_frontend() { ?> 44 public function pzf_frontend() 45 { ?> 39 46 <!-- if gom all in one show --> 40 <?php if (get_option('pzf_hide_default_all_in_one')){47 <?php if (get_option('pzf_hide_default_all_in_one')) { 41 48 $class_active_allinone = ''; 42 } elseif (!get_option('pzf_enable_all_in_one')) {49 } elseif (!get_option('pzf_enable_all_in_one')) { 43 50 $class_active_allinone = ''; 44 } 45 else{ 51 } else { 46 52 $class_active_allinone = 'active'; 47 } ?>48 <div id="button-contact-vr" class="<?php echo $class_active_allinone;?>">53 } ?> 54 <div id="button-contact-vr" class="<?php echo esc_html($class_active_allinone); ?>"> 49 55 <div id="gom-all-in-one"><!-- v3 --> 50 56 <?php 51 if(get_option('pzf_linkggmap')){ 52 ?> 53 <!-- map --> 54 <div id="map-vr" class="button-contact"> 55 <div class="phone-vr"> 56 <div class="phone-vr-circle-fill"></div> 57 <div class="phone-vr-img-circle"> 58 <a target="_blank" href="<?php echo esc_html(get_option('pzf_linkggmap')); ?>"> 59 <img alt="google map" src="<?php echo PZF_URL.'img/showroom4.png'; ?>" /> 57 if (get_option('pzf_linkggmap')) { 58 ?> 59 <!-- map --> 60 <div id="map-vr" class="button-contact"> 61 <div class="phone-vr"> 62 <div class="phone-vr-circle-fill"></div> 63 <div class="phone-vr-img-circle"> 64 <a target="_blank" href="<?php echo esc_html(get_option('pzf_linkggmap')); ?>"> 65 <img alt="google map" src="<?php echo esc_url(PZF_URL) . 'img/showroom4.png'; ?>" /> 66 </a> 67 </div> 68 </div> 69 </div> 70 <!-- end map --> 71 <?php }; ?> 72 73 <?php 74 if (get_option('pzf_contact_link')) { 75 ?> 76 <!-- contact --> 77 <div id="contact-vr" class="button-contact"> 78 <div class="phone-vr"> 79 <div class="phone-vr-circle-fill"></div> 80 <div class="phone-vr-img-circle"> 81 <a href="<?php echo esc_html(get_option('pzf_contact_link')); ?>"> 82 <img alt="Liên hệ" src="<?php echo esc_url(PZF_URL) . 'img/contact.png'; ?>" /> 83 </a> 84 </div> 85 </div> 86 </div> 87 <!-- end contact --> 88 <?php }; ?> 89 90 <?php 91 if (get_option('pzf_viber')) { 92 ?> 93 <!-- viber --> 94 <div id="viber-vr" class="button-contact"> 95 <div class="phone-vr"> 96 <div class="phone-vr-circle-fill"></div> 97 <div class="phone-vr-img-circle"> 98 <a target="_blank" href="viber://add?number=<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_viber'))); ?>"> 99 <img alt="Viber" src="<?php echo esc_url(PZF_URL) . 'img/viber.png'; ?>" /> 100 </a> 101 </div> 102 </div> 103 </div> 104 <!-- end viber --> 105 <?php }; ?> 106 107 <?php 108 if (get_option('pzf_linkfanpage')) { 109 ?> 110 <!-- fanpage --> 111 <div id="fanpage-vr" class="button-contact"> 112 <div class="phone-vr"> 113 <div class="phone-vr-circle-fill"></div> 114 <div class="phone-vr-img-circle"> 115 <a target="_blank" href="<?php echo esc_url(get_option('pzf_linkfanpage')); ?>"> 116 <img alt="Fanpage" src="<?php echo esc_url(PZF_URL) . 'img/Facebook.png'; ?>" /> 117 </a> 118 </div> 119 </div> 120 </div> 121 <!-- end fanpage --> 122 <?php }; ?> 123 124 125 <?php 126 if (get_option('pzf_linkmessenger')) { 127 ?> 128 <!-- messenger --> 129 <div id="messenger-vr" class="button-contact"> 130 <div class="phone-vr"> 131 <div class="phone-vr-circle-fill"></div> 132 <div class="phone-vr-img-circle"> 133 <a target="_blank" href="<?php echo esc_url(get_option('pzf_linkmessenger')); ?>"> 134 <img alt="messenger" src="<?php echo esc_url(PZF_URL) . 'img/messenger.png'; ?>" /> 135 </a> 136 </div> 137 </div> 138 </div> 139 <!-- end messenger --> 140 <?php }; ?> 141 142 <?php 143 if (get_option('pzf_tiktok')) { 144 ?> 145 <!-- tiktok --> 146 <div id="tiktok-vr" class="button-contact"> 147 <div class="phone-vr"> 148 <div class="phone-vr-circle-fill"></div> 149 <div class="phone-vr-img-circle"> 150 <a target="_blank" href="<?php echo esc_url(get_option('pzf_tiktok')); ?>"> 151 <img alt="tiktok" src="<?php echo esc_url(PZF_URL) . 'img/tiktok.png'; ?>" /> 152 </a> 153 </div> 154 </div> 155 </div> 156 <!-- end tiktok --> 157 <?php }; ?> 158 159 <?php 160 if (get_option('pzf_telegram')) { 161 ?> 162 <!-- telegram --> 163 <div id="telegram-vr" class="button-contact"> 164 <div class="phone-vr"> 165 <div class="phone-vr-circle-fill"></div> 166 <div class="phone-vr-img-circle"> 167 <a target="_blank" href="<?php echo esc_url(get_option('pzf_telegram')); ?>"> 168 <img alt="telegram" src="<?php echo esc_url(PZF_URL) . 'img/telegram.png'; ?>" /> 169 </a> 170 </div> 171 </div> 172 </div> 173 <!-- end telegam --> 174 <?php }; ?> 175 176 <?php 177 if (get_option('pzf_instagram')) { 178 ?> 179 <!-- instagram --> 180 <div id="instagram-vr" class="button-contact"> 181 <div class="phone-vr"> 182 <div class="phone-vr-circle-fill"></div> 183 <div class="phone-vr-img-circle"> 184 <a target="_blank" href="<?php echo esc_url(get_option('pzf_instagram')); ?>"> 185 <img alt="Instagram" src="<?php echo esc_url(PZF_URL) . 'img/instagram.png'; ?>" /> 186 </a> 187 </div> 188 </div> 189 </div> 190 <!-- end instagram --> 191 <?php }; ?> 192 193 <?php 194 if (get_option('pzf_youtube')) { 195 ?> 196 <!-- youtube --> 197 <div id="youtube-vr" class="button-contact"> 198 <div class="phone-vr"> 199 <div class="phone-vr-circle-fill"></div> 200 <div class="phone-vr-img-circle"> 201 <a target="_blank" href="<?php echo esc_url(get_option('pzf_youtube')); ?>"> 202 <img alt="youtube" src="<?php echo esc_url(PZF_URL) . 'img/youtube.png'; ?>" /> 203 </a> 204 </div> 205 </div> 206 </div> 207 <!-- end youtube --> 208 <?php }; ?> 209 210 <?php 211 if (get_option('pzf_zalo')) { 212 ?> 213 <!-- zalo --> 214 <div id="zalo-vr" class="button-contact"> 215 <div class="phone-vr"> 216 <div class="phone-vr-circle-fill"></div> 217 <div class="phone-vr-img-circle"> 218 <a target="_blank" href="https://zalo.me/<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_zalo'))); ?>"> 219 <img alt="Zalo" src="<?php echo esc_url(PZF_URL) . 'img/zalo.png'; ?>" /> 220 </a> 221 </div> 222 </div> 223 </div> 224 <!-- end zalo --> 225 <?php }; ?> 226 227 <?php 228 if (get_option('pzf_whatsapp')) { 229 ?> 230 <!-- whatsapp --> 231 <div id="whatsapp-vr" class="button-contact"> 232 <div class="phone-vr"> 233 <div class="phone-vr-circle-fill"></div> 234 <div class="phone-vr-img-circle"> 235 <a target="_blank" href=" https://wa.me/<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_whatsapp'))); ?>"> 236 <img alt="Whatsapp" src="<?php echo esc_url(PZF_URL) . 'img/whatsapp.png'; ?>" /> 237 </a> 238 </div> 239 </div> 240 </div> 241 <!-- end whatsapp --> 242 <?php }; ?> 243 244 <?php 245 if (get_option('pzf_phone')) { 246 ?> 247 <!-- Phone --> 248 <div id="phone-vr" class="button-contact"> 249 <div class="phone-vr"> 250 <div class="phone-vr-circle-fill"></div> 251 <div class="phone-vr-img-circle"> 252 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone'))); ?>"> 253 <img alt="Phone" src="<?php echo esc_url(PZF_URL) . 'img/phone.png'; ?>" /> 254 </a> 255 </div> 256 </div> 257 </div> 258 <?php 259 if (get_option('pzf_phone_bar') == '1') { ?> 260 <div class="phone-bar phone-bar-n"> 261 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone'))); ?>"> 262 <span class="text-phone"><?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone'))); ?> 263 </span> 60 264 </a> 61 265 </div> 62 </div> 63 </div> 64 <!-- end map --> 65 <?php }; ?> 66 67 <?php 68 if(get_option('pzf_contact_link')){ 69 ?> 70 <!-- contact --> 71 <div id="contact-vr" class="button-contact"> 72 <div class="phone-vr"> 73 <div class="phone-vr-circle-fill"></div> 74 <div class="phone-vr-img-circle"> 75 <a href="<?php echo esc_html(get_option('pzf_contact_link')); ?>"> 76 <img alt="Liên hệ" src="<?php echo PZF_URL.'img/contact.png'; ?>" /> 77 </a> 78 </div> 79 </div> 80 </div> 81 <!-- end contact --> 82 <?php }; ?> 83 84 <?php 85 if(get_option('pzf_viber')){ 86 ?> 87 <!-- viber --> 88 <div id="viber-vr" class="button-contact"> 89 <div class="phone-vr"> 90 <div class="phone-vr-circle-fill"></div> 91 <div class="phone-vr-img-circle"> 92 <a target="_blank" href="viber://add?number=<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_viber'))); ?>"> 93 <img alt="Viber" src="<?php echo PZF_URL.'img/viber.png'; ?>" /> 94 </a> 95 </div> 96 </div> 97 </div> 98 <!-- end viber --> 99 <?php }; ?> 100 101 <?php 102 if(get_option('pzf_linkfanpage')){ 103 ?> 104 <!-- fanpage --> 105 <div id="fanpage-vr" class="button-contact"> 106 <div class="phone-vr"> 107 <div class="phone-vr-circle-fill"></div> 108 <div class="phone-vr-img-circle"> 109 <a target="_blank" href="<?php echo esc_url(get_option('pzf_linkfanpage')); ?>"> 110 <img alt="Fanpage" src="<?php echo PZF_URL.'img/Facebook.png'; ?>" /> 111 </a> 112 </div> 113 </div> 114 </div> 115 <!-- end fanpage --> 116 <?php }; ?> 117 118 119 <?php 120 if(get_option('pzf_linkmessenger')){ 121 ?> 122 <!-- messenger --> 123 <div id="messenger-vr" class="button-contact"> 124 <div class="phone-vr"> 125 <div class="phone-vr-circle-fill"></div> 126 <div class="phone-vr-img-circle"> 127 <a target="_blank" href="<?php echo esc_url(get_option('pzf_linkmessenger')); ?>"> 128 <img alt="messenger" src="<?php echo PZF_URL.'img/messenger.png'; ?>" /> 129 </a> 130 </div> 131 </div> 132 </div> 133 <!-- end messenger --> 134 <?php }; ?> 135 136 <?php 137 if(get_option('pzf_tiktok')){ 138 ?> 139 <!-- tiktok --> 140 <div id="tiktok-vr" class="button-contact"> 141 <div class="phone-vr"> 142 <div class="phone-vr-circle-fill"></div> 143 <div class="phone-vr-img-circle"> 144 <a target="_blank" href="<?php echo esc_url(get_option('pzf_tiktok')); ?>"> 145 <img alt="tiktok" src="<?php echo PZF_URL.'img/tiktok.png'; ?>" /> 146 </a> 147 </div> 148 </div> 149 </div> 150 <!-- end tiktok --> 151 <?php }; ?> 152 153 <?php 154 if(get_option('pzf_telegram')){ 155 ?> 156 <!-- telegram --> 157 <div id="telegram-vr" class="button-contact"> 158 <div class="phone-vr"> 159 <div class="phone-vr-circle-fill"></div> 160 <div class="phone-vr-img-circle"> 161 <a target="_blank" href="<?php echo esc_url(get_option('pzf_telegram')); ?>"> 162 <img alt="telegram" src="<?php echo PZF_URL.'img/telegram.png'; ?>" /> 163 </a> 164 </div> 165 </div> 166 </div> 167 <!-- end telegam --> 168 <?php }; ?> 169 170 <?php 171 if(get_option('pzf_instagram')){ 172 ?> 173 <!-- instagram --> 174 <div id="instagram-vr" class="button-contact"> 175 <div class="phone-vr"> 176 <div class="phone-vr-circle-fill"></div> 177 <div class="phone-vr-img-circle"> 178 <a target="_blank" href="<?php echo esc_url(get_option('pzf_instagram')); ?>"> 179 <img alt="Instagram" src="<?php echo PZF_URL.'img/instagram.png'; ?>" /> 180 </a> 181 </div> 182 </div> 183 </div> 184 <!-- end instagram --> 185 <?php }; ?> 186 187 <?php 188 if(get_option('pzf_youtube')){ 189 ?> 190 <!-- youtube --> 191 <div id="youtube-vr" class="button-contact"> 192 <div class="phone-vr"> 193 <div class="phone-vr-circle-fill"></div> 194 <div class="phone-vr-img-circle"> 195 <a target="_blank" href="<?php echo esc_url(get_option('pzf_youtube')); ?>"> 196 <img alt="youtube" src="<?php echo PZF_URL.'img/youtube.png'; ?>" /> 197 </a> 198 </div> 199 </div> 200 </div> 201 <!-- end youtube --> 202 <?php }; ?> 203 204 <?php 205 if(get_option('pzf_zalo')){ 206 ?> 207 <!-- zalo --> 208 <div id="zalo-vr" class="button-contact"> 209 <div class="phone-vr"> 210 <div class="phone-vr-circle-fill"></div> 211 <div class="phone-vr-img-circle"> 212 <a target="_blank" href="https://zalo.me/<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_zalo'))); ?>"> 213 <img alt="Zalo" src="<?php echo PZF_URL.'img/zalo.png'; ?>" /> 214 </a> 215 </div> 216 </div> 217 </div> 218 <!-- end zalo --> 219 <?php }; ?> 220 221 <?php 222 if(get_option('pzf_whatsapp')){ 223 ?> 224 <!-- whatsapp --> 225 <div id="whatsapp-vr" class="button-contact"> 226 <div class="phone-vr"> 227 <div class="phone-vr-circle-fill"></div> 228 <div class="phone-vr-img-circle"> 229 <a target="_blank" href=" https://wa.me/<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_whatsapp'))); ?>"> 230 <img alt="Whatsapp" src="<?php echo PZF_URL.'img/whatsapp.png'; ?>" /> 231 </a> 232 </div> 233 </div> 234 </div> 235 <!-- end whatsapp --> 236 <?php }; ?> 237 238 <?php 239 if(get_option('pzf_phone')){ 240 ?> 241 <!-- Phone --> 242 <div id="phone-vr" class="button-contact"> 243 <div class="phone-vr"> 244 <div class="phone-vr-circle-fill"></div> 245 <div class="phone-vr-img-circle"> 246 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone'))); ?>"> 247 <img alt="Phone" src="<?php echo PZF_URL.'img/phone.png'; ?>" /> 248 </a> 249 </div> 250 </div> 251 </div> 252 <?php 253 if(get_option('pzf_phone_bar') == '1'){ ?> 254 <div class="phone-bar phone-bar-n"> 255 <a href="tel:<?php echo preg_replace( '/\D/', '',get_option('pzf_phone')); ?>"> 256 <span class="text-phone"><?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone'))); ?> 257 </span> 258 </a> 259 </div> 260 <?php };?> 261 <!-- end phone --> 262 263 <?php }; ?> 264 <?php 265 if(get_option('pzf_phone2')){ 266 ?> 267 <!-- Phone --> 268 <div id="phone-vr2" class="button-contact"> 269 <div class="phone-vr"> 270 <div class="phone-vr-circle-fill"></div> 271 <div class="phone-vr-img-circle"> 272 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone2'))); ?>"> 273 <img alt="phone" src="<?php echo PZF_URL.'img/phone.png'; ?>" /> 274 </a> 275 </div> 276 </div> 277 </div> 278 <?php 279 if(get_option('pzf_phone_bar') == '1'){ ?> 266 <?php }; ?> 267 <!-- end phone --> 268 269 <?php }; ?> 270 <?php 271 if (get_option('pzf_phone2')) { 272 ?> 273 <!-- Phone --> 274 <div id="phone-vr2" class="button-contact"> 275 <div class="phone-vr"> 276 <div class="phone-vr-circle-fill"></div> 277 <div class="phone-vr-img-circle"> 278 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone2'))); ?>"> 279 <img alt="phone" src="<?php echo esc_url(PZF_URL) . 'img/phone.png'; ?>" /> 280 </a> 281 </div> 282 </div> 283 </div> 284 <?php 285 if (get_option('pzf_phone_bar') == '1') { ?> 280 286 <div class="phone-bar phone-bar2 phone-bar-n"> 281 287 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone2'))); ?>"> … … 283 289 </a> 284 290 </div> 285 <?php };?> 286 <!-- end phone 2 --> 287 288 <?php }; ?> 289 <?php 290 if(get_option('pzf_phone3')){ 291 ?> 292 <!-- Phone3 --> 293 <div id="phone-vr3" class="button-contact"> 291 <?php }; ?> 292 <!-- end phone 2 --> 293 294 <?php }; ?> 295 <?php 296 if (get_option('pzf_phone3')) { 297 ?> 298 <!-- Phone3 --> 299 <div id="phone-vr3" class="button-contact"> 300 <div class="phone-vr"> 301 <div class="phone-vr-circle-fill"></div> 302 <div class="phone-vr-img-circle"> 303 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone3'))); ?>"> 304 <img alt="Phone" src="<?php echo esc_url(PZF_URL) . 'img/phone.png'; ?>" /> 305 </a> 306 </div> 307 </div> 308 </div> 309 <?php 310 if (get_option('pzf_phone_bar') == '1') { ?> 311 <div class="phone-bar phone-bar3 phone-bar-n"> 312 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone3'))); ?>"> 313 <span class="text-phone"><?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone3'))); ?></span> 314 </a> 315 </div> 316 <?php }; ?> 317 <!-- end phone 3--> 318 319 <?php }; ?> 320 </div><!-- end v3 class gom-all-in-one --> 321 322 <?php 323 if (get_option('pzf_enable_all_in_one')) { ?> 324 <div id="all-in-one-vr" class="button-contact"> 294 325 <div class="phone-vr"> 295 326 <div class="phone-vr-circle-fill"></div> 296 327 <div class="phone-vr-img-circle"> 297 <a href="tel:<?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone3'))); ?>"> 298 <img alt="Phone" src="<?php echo PZF_URL.'img/phone.png'; ?>" /> 299 </a> 300 </div> 301 </div> 302 </div> 303 <?php 304 if(get_option('pzf_phone_bar') == '1'){ ?> 305 <div class="phone-bar phone-bar3 phone-bar-n"> 306 <a href="tel:<?php echo preg_replace( '/\D/', '',get_option('pzf_phone3')); ?>"> 307 <span class="text-phone"><?php echo esc_html(preg_replace('/\D/', '', get_option('pzf_phone3'))); ?></span> 308 </a> 309 </div> 310 <?php };?> 311 <!-- end phone 3--> 312 313 <?php }; ?> 314 </div><!-- end v3 class gom-all-in-one --> 315 316 <?php 317 if(get_option('pzf_enable_all_in_one')){ ?> 318 <div id="all-in-one-vr" class="button-contact"> 319 <div class="phone-vr"> 320 <div class="phone-vr-circle-fill"></div> 321 <div class="phone-vr-img-circle"> 322 <img alt="All in one" src="<?php echo PZF_URL.'img/icon'.esc_html(get_option('pzf_icon_all_in_one')).'.png'; ?>" /> 323 </div> 324 </div> 325 <?php 326 if(get_option('pzf_note_bar_all_in_one') == '1'){ ?> 327 <div class="phone-bar" style="background-color: <?php echo esc_html(get_option('pzf_color_all_in_one')); ?>;"> 328 <span class="text-phone"><?php echo esc_html(get_option('pzf_note_all_in_one')); ?></span> 329 </div> 330 <?php };?> 331 </div> 332 <style type="text/css">.phone-bar-n{display: none;}</style> 333 <?php };?> 334 335 </div> 336 337 <!-- Add custom css and js --> 338 <?php //echo get_option('pzf_add_js'); ?> 339 340 <script type="text/javascript"> 341 jQuery(document).ready(function($){ 342 $('#all-in-one-vr').click(function(){ 343 $('#button-contact-vr').toggleClass('active'); 344 }) 345 $('#contact-form-vr').click(function(){ 346 $('#popup-form-contact-vr').addClass('active'); 347 }) 348 $('div#popup-form-contact-vr .bg-popup-vr,div#popup-form-contact-vr .content-popup-vr .close-popup-vr').click(function(){ 349 $('#popup-form-contact-vr').removeClass('active'); 350 }) 351 $('#contact-showroom').click(function(){ 352 $('#popup-showroom-vr').addClass('active'); 353 }) 354 $('div#popup-showroom-vr .bg-popup-vr,.content-popup-vr .close-popup-vr').click(function(){ 355 $('#popup-showroom-vr').removeClass('active'); 356 }) 357 }); 358 </script> 359 360 <!-- end Add custom css and js --> 361 362 363 <?php if(get_option('pzf_color_phone')){ ?> 364 <!-- color phone --> 365 <style> 366 .phone-bar a,#phone-vr .phone-vr-circle-fill,#phone-vr .phone-vr-img-circle,#phone-vr .phone-bar a { 367 background-color: <?php echo esc_html(get_option('pzf_color_phone')); ?>; 368 } 369 #phone-vr .phone-vr-circle-fill { 370 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_phone')); ?>; 371 } 372 .phone-bar2 a,#phone-vr2 .phone-vr-circle-fill,#phone-vr2 .phone-vr-img-circle,#phone-vr2 .phone-bar a { 373 background-color: <?php echo esc_html(get_option('pzf_color_phone2')); ?>; 374 } 375 #phone-vr2 .phone-vr-circle-fill { 376 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_phone2')); ?>; 377 } 378 .phone-bar3 a,#phone-vr3 .phone-vr-circle-fill,#phone-vr3 .phone-vr-img-circle,#phone-vr3 .phone-bar a { 379 background-color: <?php echo esc_html(get_option('pzf_color_phone3')); ?>; 380 } 381 #phone-vr3 .phone-vr-circle-fill { 382 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_phone3')); ?>; 328 <img alt="All in one" src="<?php echo esc_url(PZF_URL) . 'img/icon' . esc_html(get_option('pzf_icon_all_in_one')) . '.png'; ?>" /> 329 </div> 330 </div> 331 <?php 332 if (get_option('pzf_note_bar_all_in_one') == '1') { ?> 333 <div class="phone-bar" style="background-color: <?php echo esc_html(get_option('pzf_color_all_in_one')); ?>;"> 334 <span class="text-phone"><?php echo esc_html(get_option('pzf_note_all_in_one')); ?></span> 335 </div> 336 <?php }; ?> 337 </div> 338 <style type="text/css"> 339 .phone-bar-n { 340 display: none; 383 341 } 384 342 </style> 385 <!-- color phone -->386 343 <?php }; ?> 387 388 <?php if(get_option('pzf_color_contact_form')){ ?> 389 <!-- color contact form --> 344 345 </div> 346 347 <!-- Add custom css and js --> 348 <?php //echo get_option('pzf_add_js'); 349 ?> 350 351 <script type="text/javascript"> 352 jQuery(document).ready(function($) { 353 $('#all-in-one-vr').click(function() { 354 $('#button-contact-vr').toggleClass('active'); 355 }) 356 $('#contact-form-vr').click(function() { 357 $('#popup-form-contact-vr').addClass('active'); 358 }) 359 $('div#popup-form-contact-vr .bg-popup-vr,div#popup-form-contact-vr .content-popup-vr .close-popup-vr').click(function() { 360 $('#popup-form-contact-vr').removeClass('active'); 361 }) 362 $('#contact-showroom').click(function() { 363 $('#popup-showroom-vr').addClass('active'); 364 }) 365 $('div#popup-showroom-vr .bg-popup-vr,.content-popup-vr .close-popup-vr').click(function() { 366 $('#popup-showroom-vr').removeClass('active'); 367 }) 368 }); 369 </script> 370 371 <!-- end Add custom css and js --> 372 373 374 <?php if (get_option('pzf_color_phone')) { ?> 375 <!-- color phone --> 376 <style> 377 .phone-bar a, 378 #phone-vr .phone-vr-circle-fill, 379 #phone-vr .phone-vr-img-circle, 380 #phone-vr .phone-bar a { 381 background-color: <?php echo esc_html(get_option('pzf_color_phone')); ?>; 382 } 383 384 #phone-vr .phone-vr-circle-fill { 385 opacity: 0.7; 386 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_phone')); ?>; 387 } 388 389 .phone-bar2 a, 390 #phone-vr2 .phone-vr-circle-fill, 391 #phone-vr2 .phone-vr-img-circle, 392 #phone-vr2 .phone-bar a { 393 background-color: <?php echo esc_html(get_option('pzf_color_phone2')); ?>; 394 } 395 396 #phone-vr2 .phone-vr-circle-fill { 397 opacity: 0.7; 398 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_phone2')); ?>; 399 } 400 401 .phone-bar3 a, 402 #phone-vr3 .phone-vr-circle-fill, 403 #phone-vr3 .phone-vr-img-circle, 404 #phone-vr3 .phone-bar a { 405 background-color: <?php echo esc_html(get_option('pzf_color_phone3')); ?>; 406 } 407 408 #phone-vr3 .phone-vr-circle-fill { 409 opacity: 0.7; 410 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_phone3')); ?>; 411 } 412 </style> 413 <!-- color phone --> 414 <?php }; ?> 415 416 <?php if (get_option('pzf_color_contact_form')) { ?> 417 <!-- color contact form --> 418 <style> 419 .phone-bar a, 420 #contact-form-vr .phone-vr-circle-fill, 421 #contact-form-vr .phone-vr-img-circle, 422 #contact-form-vr .phone-bar a { 423 background-color: <?php echo esc_html(get_option('pzf_color_contact_form')); ?>; 424 } 425 426 #contact-form-vr .phone-vr-circle-fill { 427 opacity: 0.7; 428 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_contact_form')); ?>; 429 } 430 </style> 431 <!-- color contact form --> 432 <?php }; ?> 433 434 <?php if (get_option('pzf_color_contact')) { ?> 435 <style> 436 #contact-vr .phone-vr-circle-fill, 437 #contact-vr .phone-vr-img-circle { 438 background-color: <?php echo esc_html(get_option('pzf_color_contact')); ?>; 439 } 440 441 #contact-vr .phone-vr-circle-fill { 442 opacity: 0.7; 443 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_contact')); ?>; 444 } 445 </style> 446 <?php }; ?> 447 448 <?php if (esc_html(get_option('pzf_color_linkggmap'))) { ?> 449 <style> 450 #map-vr .phone-vr-circle-fill, 451 #map-vr .phone-vr-img-circle { 452 background-color: <?php echo esc_html(get_option('pzf_color_linkggmap')); ?>; 453 } 454 455 #map-vr .phone-vr-circle-fill { 456 opacity: 0.7; 457 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_linkggmap')); ?>; 458 } 459 </style> 460 <?php }; ?> 461 462 <?php if (esc_html(get_option('pzf_color_showroom'))) { ?> 463 <!-- color showroom --> 464 <style> 465 #contact-showroom .phone-vr-circle-fill, 466 #contact-showroom .phone-vr-img-circle { 467 background-color: <?php echo esc_html(get_option('pzf_color_showroom')); ?>; 468 } 469 470 #contact-showroom .phone-vr-circle-fill { 471 opacity: 0.7; 472 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_showroom')); ?>; 473 } 474 </style> 475 <?php }; ?> 476 <?php if (esc_html(get_option('pzf_color_all_in_one'))) { ?> 477 <!-- color all in one --> 478 <style> 479 #all-in-one-vr .phone-vr-circle-fill, 480 #all-in-one-vr .phone-vr-img-circle { 481 background-color: <?php echo esc_html(get_option('pzf_color_all_in_one')); ?>; 482 } 483 484 #all-in-one-vr .phone-vr-circle-fill { 485 opacity: 0.7; 486 box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_all_in_one')); ?>; 487 } 488 </style> 489 <?php }; ?> 490 491 <?php if (esc_html(get_option('setting_size'))) { ?> 492 <!-- size scale --> 493 <style> 494 #button-contact-vr { 495 transform: scale(<?php echo esc_html(get_option('setting_size')); ?>); 496 } 497 </style> 498 <?php 499 if (esc_html(get_option('setting_size')) < 0.9) { ?> 390 500 <style> 391 .phone-bar a,#contact-form-vr .phone-vr-circle-fill,#contact-form-vr .phone-vr-img-circle,#contact-form-vr .phone-bar a { 392 background-color: <?php echo esc_html(get_option('pzf_color_contact_form')); ?>; 393 } 394 #contact-form-vr .phone-vr-circle-fill { 395 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_contact_form')); ?>; 501 #button-contact-vr { 502 margin: -10px; 396 503 } 397 504 </style> 398 <!-- color contact form --> 399 <?php }; ?> 400 401 <?php if(get_option('pzf_color_contact')){ ?> 402 <style> 403 #contact-vr .phone-vr-circle-fill,#contact-vr .phone-vr-img-circle { 404 background-color: <?php echo esc_html(get_option('pzf_color_contact')); ?>; 405 } 406 #contact-vr .phone-vr-circle-fill { 407 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_contact')); ?>; 408 } 409 </style> 410 <?php };?> 411 412 <?php if(esc_html(get_option('pzf_color_linkggmap'))){ ?> 413 <style> 414 #map-vr .phone-vr-circle-fill,#map-vr .phone-vr-img-circle { 415 background-color: <?php echo esc_html(get_option('pzf_color_linkggmap')); ?>; 416 } 417 #map-vr .phone-vr-circle-fill { 418 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_linkggmap')); ?>; 419 } 420 </style> 421 <?php };?> 422 423 <?php if(esc_html(get_option('pzf_color_showroom'))){ ?> 424 <!-- color showroom --> 425 <style> 426 #contact-showroom .phone-vr-circle-fill,#contact-showroom .phone-vr-img-circle { 427 background-color: <?php echo esc_html(get_option('pzf_color_showroom')); ?>; 428 } 429 #contact-showroom .phone-vr-circle-fill { 430 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_showroom')); ?>; 431 } 432 </style> 433 <?php };?> 434 <?php if(esc_html(get_option('pzf_color_all_in_one'))){ ?> 435 <!-- color all in one --> 436 <style> 437 #all-in-one-vr .phone-vr-circle-fill,#all-in-one-vr .phone-vr-img-circle { 438 background-color:<?php echo esc_html(get_option('pzf_color_all_in_one')); ?>; 439 } 440 #all-in-one-vr .phone-vr-circle-fill { 441 opacity: 0.7;box-shadow: 0 0 0 0 <?php echo esc_html(get_option('pzf_color_all_in_one')); ?>; 442 } 443 </style> 444 <?php };?> 445 446 <?php if(esc_html(get_option('setting_size'))){?> 447 <!-- size scale --> 448 <style> 449 #button-contact-vr {transform: scale(<?php echo esc_html(get_option('setting_size')); ?>);} 450 </style> 451 <?php 452 if(esc_html(get_option('setting_size')) < 0.9){ ?> 453 <style> 454 #button-contact-vr {margin: -10px;} 455 </style> 456 <?php 457 }elseif (get_option('setting_size') > 1.3) {?> 458 <style> 459 #button-contact-vr {margin: 10px;} 460 </style> 461 <?php }; 462 };?> 463 464 <?php if(get_option('pzf_location') == 'right'){ ?> 465 <!-- location left right --> 466 <style> 467 #button-contact-vr {right:0;} 468 .phone-bar a {left: auto;right: 30px;padding: 8px 55px 7px 15px;} 469 #button-contact-vr.active #gom-all-in-one .button-contact {margin-left: 100%;} 470 </style> 471 <?php };?> 472 473 <?php if(get_option('pzf_location_bottom')){ ?> 474 <!-- location bottom --> 475 <style> 476 #button-contact-vr {bottom: <?php echo esc_html(get_option('pzf_location_bottom')); ?>%;} 477 </style> 478 <?php };?> 479 480 <?php if(get_option('pzf_hide_mobile')){ ?> 481 <!-- hide mobile --> 482 <style> 483 @media(max-width: 736px){ 484 #button-contact-vr {display: none;} 485 } 486 </style> 487 <?php };?> 488 489 <?php if(get_option('pzf_hide_desktop')){ ?> 490 <!-- hide desktop --> 491 <style> 492 @media(min-width: 736px){ 493 #button-contact-vr {display: none;} 494 } 495 </style> 496 <?php }; ?> 497 <?php if(get_option('pzf_off_effects')){ ?> 498 <!-- hide desktop --> 499 <style> 500 .phone-vr-img-circle {animation: none;} 501 .phone-vr-circle-fill {animation: none;} 502 </style> 503 <?php }; 504 505 506 }// add frontend to footer theme 505 <?php 506 } elseif (get_option('setting_size') > 1.3) { ?> 507 <style> 508 #button-contact-vr { 509 margin: 10px; 510 } 511 </style> 512 <?php }; 513 }; ?> 514 515 <?php if (get_option('pzf_location') == 'right') { ?> 516 <!-- location left right --> 517 <style> 518 #button-contact-vr { 519 right: 0; 520 } 521 522 .phone-bar a { 523 left: auto; 524 right: 30px; 525 padding: 8px 55px 7px 15px; 526 } 527 528 #button-contact-vr.active #gom-all-in-one .button-contact { 529 margin-left: 100%; 530 } 531 </style> 532 <?php }; ?> 533 534 <?php if (get_option('pzf_location_bottom')) { ?> 535 <!-- location bottom --> 536 <style> 537 #button-contact-vr { 538 bottom: <?php echo esc_html(get_option('pzf_location_bottom')); ?>%; 539 } 540 </style> 541 <?php }; ?> 542 543 <?php if (get_option('pzf_hide_mobile')) { ?> 544 <!-- hide mobile --> 545 <style> 546 @media(max-width: 736px) { 547 #button-contact-vr { 548 display: none; 549 } 550 } 551 </style> 552 <?php }; ?> 553 554 <?php if (get_option('pzf_hide_desktop')) { ?> 555 <!-- hide desktop --> 556 <style> 557 @media(min-width: 736px) { 558 #button-contact-vr { 559 display: none; 560 } 561 } 562 </style> 563 <?php }; ?> 564 <?php if (get_option('pzf_off_effects')) { ?> 565 <!-- hide desktop --> 566 <style> 567 .phone-vr-img-circle { 568 animation: none; 569 } 570 571 .phone-vr-circle-fill { 572 animation: none; 573 } 574 </style> 575 <?php }; 576 } // add frontend to footer theme 507 577 } 508 578 ?> -
button-contact-vr/trunk/inc/contact-form.php
r3144004 r3173035 1 1 <!-- * Version: 3.0 --> 2 2 <div class="wrap"> 3 <h2>Contact Form</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 nav-tab-active">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 <?php if( isset($_GET['settings-updated']) ) { ?> 12 <div id="message" class="updated"> 13 <p><strong><?php _e('Settings saved.') ?></strong></p> 14 </div> 15 <?php } ?> 3 <h2>Contact Form</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 nav-tab-active">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> 16 11 17 12 <h3> 18 13 It is currently under maintenance! 19 14 </h3> 20 21 15 22 <hr />23 16 24 <h2><?php esc_html_e( 'Support', 'support_pzf' ); ?></h2> 25 <p> 26 <?php _e( 'For submitting any support queries, feedback, bug reports or feature requests, please visit <a href="https://wordpress.org/plugins/button-contact-vr/" target="_blank">this link</a>.', 'support_pzf' ); ?> 27 </p> 28 <h2><?php esc_html_e( 'Help', 'support_pzf' ); ?></h2> 29 <p> 30 <?php _e( 'Please visit <a href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank">this link</a>.', 'help_pzf' ); ?> 31 </p> 17 <hr /> 18 19 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2> 20 <p> 21 <?php 22 echo wp_kses( 23 sprintf( 24 // translators: %s will be replaced with the actual link 25 __('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'), 26 'href="https://wordpress.org/plugins/button-contact-vr/" target="_blank"' 27 ), 28 ["a" => ["href" => [], "target" => []]] 29 ); 30 ?> 31 </p> 32 <h2><?php esc_html_e('Help', 'button-contact-vr'); ?></h2> 33 <p> 34 35 <?php 36 echo wp_kses( 37 sprintf( 38 // translators: %s will be replaced with the actual link 39 __('Please visit <a %s>this link</a>.', 'button-contact-vr'), 40 'href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank"' 41 ), 42 ["a" => ["href" => [], "target" => []]] 43 ); 44 ?> 45 </p> 32 46 33 47 </div> … … 38 52 margin: 0; 39 53 } 40 ul#style-icon-vr li {display: inline-block;margin-bottom: 0;margin-right: 15px;text-align: center;} 54 55 ul#style-icon-vr li { 56 display: inline-block; 57 margin-bottom: 0; 58 margin-right: 15px; 59 text-align: center; 60 } 61 41 62 ul#style-icon-vr li label { 42 63 display: block; 43 64 } 65 44 66 ul#style-icon-vr li span { 45 67 display: block; … … 52 74 margin: 0 auto; 53 75 } 76 54 77 td input[type="text"] { 55 78 width: 100%; 56 79 max-width: 330px; 57 80 } 81 58 82 select#pzf_loco_img_contact_form { 59 83 width: 100%; 60 84 max-width: 330px; 61 85 } 86 62 87 ul#style-icon-vr li span img { 63 88 max-width: 27px; … … 65 90 left: 50%; 66 91 top: 50%; 67 transform: translate(-50%, -50%);92 transform: translate(-50%, -50%); 68 93 } 69 td textarea{width:100%;max-width: 420px;min-height: 120px} 94 95 td textarea { 96 width: 100%; 97 max-width: 420px; 98 min-height: 120px 99 } 100 70 101 .tox-notification.tox-notification--in.tox-notification--warning { 71 102 display: none; 72 103 } 73 104 </style> 74 <script src="https://cdn.tiny.cloud/1/v9sn59nuhjw008xh3qqfys27pzr0z8gi1lexbcxy6mqd6shq/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>75 <script src="https://cdn.tiny.cloud/1/v9sn59nuhjw008xh3qqfys27pzr0z8gi1lexbcxy6mqd6shq/tinymce/5/jquery.tinymce.min.js" referrerpolicy="origin"></script>76 <script>77 jQuery('textarea.tiny').tinymce({78 menubar: false,79 height:300,80 plugins: [81 'advlist autolink lists link image charmap print preview anchor',82 'searchreplace visualblocks code fullscreen',83 'insertdatetime media table paste code help wordcount'84 ],85 toolbar: 'undo redo | formatselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help'86 });87 </script> -
button-contact-vr/trunk/inc/setting.php
r3143283 r3173035 1 1 <!-- * Version: 2.0 --> 2 2 <div class="wrap"> 3 <h2>Advanced settings</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">All in one)</a>9 <a href="admin.php?page=contact_vr_setting" class="nav-tab nav-tab-active">Setting</a>10 </h2>11 <?php if( isset($_GET['settings-updated'])) { ?>12 <div id="message" class="updated">13 <p><strong><?php _e('Settings saved.') ?></strong></p>14 </div>15 <?php } ?>3 <h2>Advanced settings</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">All in one)</a> 9 <a href="admin.php?page=contact_vr_setting" class="nav-tab nav-tab-active">Setting</a> 10 </h2> 11 <?php if (isset($_GET['settings-updated'])) { ?> 12 <div id="message" class="updated"> 13 <p><strong><?php esc_html_e('Settings saved.', 'button-contact-vr') ?></strong></p> 14 </div> 15 <?php } ?> 16 16 17 <form method="post" action="options.php">18 <?php settings_fields( 'pzf-settings-group-setting'); ?>19 <table class="form-table">20 <tr valign="top">21 <th scope="row">Size scale</th>22 <td>23 <input placeholder="1" type="number" name="setting_size" value="<?php echo esc_attr(get_option('setting_size')); ?>" step="0.1" />24 <i>Default 1</i><br>25 <i>E.g: 0.8 - 0.9 - 1.1 - 1.2</i>26 </td>27 </tr>28 <tr valign="top">29 <th rowspan="2" scope="row">Location</th>30 <td style="padding-bottom: 0;">31 <select id="pzf_location" name="pzf_location">32 <option value="left" <?php selected(get_option('pzf_location'), 'left'); ?>>Left</option>33 <option value="right" <?php selected(get_option('pzf_location'), 'right'); ?>>Right</option>34 </select>35 </td>36 </tr>37 <tr>38 <td>39 Bottom <input placeholder="0%" type="number" min="0" max="100" name="pzf_location_bottom" value="<?php echo esc_attr(get_option('pzf_location_bottom')); ?>" step="0.1" /> <i>unit %</i>40 </td>41 </tr>42 <tr valign="top">43 <th scope="row">Turn off effects</th>44 <td>45 <input id="pzf_off_effects" name="pzf_off_effects" type="checkbox" value="1" <?php checked(get_option('pzf_off_effects'), '1'); ?> />46 </td>47 </tr>17 <form method="post" action="options.php"> 18 <?php settings_fields('pzf-settings-group-setting'); ?> 19 <table class="form-table"> 20 <tr valign="top"> 21 <th scope="row">Size scale</th> 22 <td> 23 <input placeholder="1" type="number" name="setting_size" value="<?php echo esc_attr(get_option('setting_size')); ?>" step="0.1" /> 24 <i>Default 1</i><br> 25 <i>E.g: 0.8 - 0.9 - 1.1 - 1.2</i> 26 </td> 27 </tr> 28 <tr valign="top"> 29 <th rowspan="2" scope="row">Location</th> 30 <td style="padding-bottom: 0;"> 31 <select id="pzf_location" name="pzf_location"> 32 <option value="left" <?php selected(get_option('pzf_location'), 'left'); ?>>Left</option> 33 <option value="right" <?php selected(get_option('pzf_location'), 'right'); ?>>Right</option> 34 </select> 35 </td> 36 </tr> 37 <tr> 38 <td> 39 Bottom <input placeholder="0%" type="number" min="0" max="100" name="pzf_location_bottom" value="<?php echo esc_attr(get_option('pzf_location_bottom')); ?>" step="0.1" /> <i>unit %</i> 40 </td> 41 </tr> 42 <tr valign="top"> 43 <th scope="row">Turn off effects</th> 44 <td> 45 <input id="pzf_off_effects" name="pzf_off_effects" type="checkbox" value="1" <?php checked(get_option('pzf_off_effects'), '1'); ?> /> 46 </td> 47 </tr> 48 48 49 <tr valign="top"> 50 <th rowspan="2" scope="row">Hide on</th> 51 <td style="padding-bottom: 0;"> 52 <input id="pzf_hide_desktop" name="pzf_hide_desktop" type="checkbox" value="1" <?php checked(get_option('pzf_hide_desktop'), '1'); ?> /> Desktop 53 </td> 54 </tr> 55 <tr> 56 <td><input id="pzf_hide_mobile" name="pzf_hide_mobile" type="checkbox" value="1" <?php checked(get_option('pzf_hide_mobile'), '1'); ?> /> Mobile 57 </td> 58 </tr> 59 </table> 60 <?php submit_button(); ?> 61 </form> 49 <tr valign="top"> 50 <th rowspan="2" scope="row">Hide on</th> 51 <td style="padding-bottom: 0;"> 52 <input id="pzf_hide_desktop" name="pzf_hide_desktop" type="checkbox" value="1" <?php checked(get_option('pzf_hide_desktop'), '1'); ?> /> Desktop 53 </td> 54 </tr> 55 <tr> 56 <td><input id="pzf_hide_mobile" name="pzf_hide_mobile" type="checkbox" value="1" <?php checked(get_option('pzf_hide_mobile'), '1'); ?> /> Mobile 57 </td> 58 </tr> 59 </table> 62 60 63 <hr /> 61 <?php submit_button(); ?> 62 </form> 64 63 65 <h2><?php esc_html_e( 'Support', 'support_pzf' ); ?></h2> 66 <p> 67 <?php _e( 'For submitting any support queries, feedback, bug reports or feature requests, please visit <a href="https://wordpress.org/plugins/button-contact-vr/" target="_blank">this link</a>.', 'support_pzf' ); ?> 68 </p> 69 <h2><?php esc_html_e( 'Help', 'support_pzf' ); ?></h2> 70 <p> 71 <?php _e( 'Please visit <a href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank">this link</a>.', 'help_pzf' ); ?> 72 </p> 64 <hr /> 65 66 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2> 67 <p> 68 <?php 69 echo wp_kses( 70 sprintf( 71 // translators: %s will be replaced with the actual link 72 __('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'), 73 'href="https://wordpress.org/plugins/button-contact-vr/" target="_blank"' 74 ), 75 ["a" => ["href" => [], "target" => []]] 76 ); 77 ?> 78 </p> 79 <h2><?php esc_html_e('Help', 'button-contact-vr'); ?></h2> 80 <p> 81 82 <?php 83 echo wp_kses( 84 sprintf( 85 // translators: %s will be replaced with the actual link 86 __('Please visit <a %s>this link</a>.', 'button-contact-vr'), 87 'href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank"' 88 ), 89 ["a" => ["href" => [], "target" => []]] 90 ); 91 ?> 92 </p> 73 93 74 94 </div> -
button-contact-vr/trunk/inc/showroom.php
r3144004 r3173035 1 1 <!-- * Version: 4.1 --> 2 2 <div class="wrap"> 3 <h2>Contact Form Popup (Beta)</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 nav-tab-active">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 <?php if( isset($_GET['settings-updated']) ) { ?> 12 <div id="message" class="updated"> 13 <p><strong><?php _e('Settings saved.') ?></strong></p> 14 </div> 15 <?php } ?> 3 <h2>Contact Form Popup (Beta)</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 nav-tab-active">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> 16 11 17 12 <h3> 18 13 It is currently under maintenance! 19 14 </h3> 20 21 15 22 <hr />23 16 24 <h2><?php esc_html_e( 'Support', 'support_pzf' ); ?></h2> 25 <p> 26 <?php _e( 'For submitting any support queries, feedback, bug reports or feature requests, please visit <a href="https://wordpress.org/plugins/button-contact-vr/" target="_blank">this link</a>.', 'support_pzf' ); ?> 27 </p> 28 <h2><?php esc_html_e( 'Help', 'support_pzf' ); ?></h2> 29 <p> 30 <?php _e( 'Please visit <a href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank">this link</a>.', 'help_pzf' ); ?> 31 </p> 17 <hr /> 32 18 19 <h2><?php esc_html_e('Support', 'button-contact-vr'); ?></h2> 20 <p> 21 <?php 22 echo wp_kses( 23 sprintf( 24 // translators: %s will be replaced with the actual link 25 __('For submitting any support queries, feedback, bug reports or feature requests, please visit <a %s>this link</a>.', 'button-contact-vr'), 26 'href="https://wordpress.org/plugins/button-contact-vr/" target="_blank"' 27 ), 28 ["a" => ["href" => [], "target" => []]] 29 ); 30 ?> 31 </p> 32 <h2><?php esc_html_e('Help', 'button-contact-vr'); ?></h2> 33 <p> 34 35 <?php 36 echo wp_kses( 37 sprintf( 38 // translators: %s will be replaced with the actual link 39 __('Please visit <a %s>this link</a>.', 'button-contact-vr'), 40 'href="https://webvocuc.com/blog/tag/button-contact-vr" target="_blank"' 41 ), 42 ["a" => ["href" => [], "target" => []]] 43 ); 44 ?> 45 </p> 33 46 </div> 34 47 … … 38 51 margin: 0; 39 52 } 40 ul#style-icon-vr li {display: inline-block;margin-bottom: 0;margin-right: 15px;text-align: center;} 53 54 ul#style-icon-vr li { 55 display: inline-block; 56 margin-bottom: 0; 57 margin-right: 15px; 58 text-align: center; 59 } 60 41 61 ul#style-icon-vr li label { 42 62 display: block; 43 63 } 64 44 65 ul#style-icon-vr li span { 45 66 display: block; … … 52 73 margin: 0 auto; 53 74 } 75 54 76 td input[type="text"] { 55 77 width: 100%; 56 78 max-width: 330px; 57 79 } 80 58 81 select#pzf_loco_img_contact_form { 59 82 width: 100%; 60 83 max-width: 330px; 61 84 } 85 62 86 ul#style-icon-vr li span img { 63 87 max-width: 27px; … … 65 89 left: 50%; 66 90 top: 50%; 67 transform: translate(-50%, -50%);91 transform: translate(-50%, -50%); 68 92 } 69 td textarea{width:100%;max-width: 420px;min-height: 120px} 93 94 td textarea { 95 width: 100%; 96 max-width: 420px; 97 min-height: 120px 98 } 99 70 100 .tox-notification.tox-notification--in.tox-notification--warning { 71 101 display: none; 72 102 } 73 103 </style> 74 <script src="https://cdn.tiny.cloud/1/v9sn59nuhjw008xh3qqfys27pzr0z8gi1lexbcxy6mqd6shq/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>75 <script src="https://cdn.tiny.cloud/1/v9sn59nuhjw008xh3qqfys27pzr0z8gi1lexbcxy6mqd6shq/tinymce/5/jquery.tinymce.min.js" referrerpolicy="origin"></script>76 <script>77 jQuery('textarea.tiny').tinymce({78 menubar: false,79 height:300,80 plugins: [81 'advlist autolink lists link image charmap print preview anchor',82 'searchreplace visualblocks code fullscreen',83 'insertdatetime media table paste code help wordcount'84 ],85 toolbar: 'undo redo | formatselect | bold italic | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help'86 });87 </script> -
button-contact-vr/trunk/readme.txt
r3148917 r3173035 6 6 Tested up to: 6.5.2 7 7 Requires PHP: 5.6 8 Tested up to: 6.6 .19 Stable Tag: 4.7. 9.18 Tested up to: 6.6 9 Stable Tag: 4.7.10 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 129 129 = 4.7.9 130 130 * fix num phone 131 132 = 4.7.10 133 * Bug fixes 134 * Better sanitizing 135 * Updated translations
Note: See TracChangeset
for help on using the changeset viewer.