| @@ -20,42 +20,13 @@ | ||
| 20 | 20 | </div> |
| 21 | 21 | <!-- wp-chatbot-product-details--> |
| 22 | 22 | </div> |
| 23 | 23 | <!-- wp-chatbot-product-container--> |
| 24 | - <?php $avatar_loc = get_option('qcld_chatbot_avatar_location', 'inside'); ?> | |
| 25 | - <div id="wp-chatbot-board-container" class="wp-chatbot-board-container wp-chatbot-avatar-<?php echo esc_attr($avatar_loc); ?>"> | |
| 24 | + <div id="wp-chatbot-board-container" class="wp-chatbot-board-container"> | |
| 26 | 25 | <div class="wp-chatbot-header"> |
| 27 | - | |
| 28 | - <div class="wp-chatbot-header-welcome-text"> | |
| 29 | - | |
| 30 | - | |
| 31 | - <div id="wp-chatbot-desktop-expand" title="<?php esc_attr_e('Expand', 'chatbot'); ?>"><span class="dashicons dashicons-fullscreen-alt"></span></div> | |
| 32 | - | |
| 33 | - <?php | |
| 34 | - if (!defined('ABSPATH')) exit; // Exit if accessed directly | |
| 35 | - if (get_option('wp_chatbot_icon') == "custom.png") { | |
| 36 | - $wp_chatbot_custom_icon_path = (!empty(get_option('wp_chatbot_custom_icon_path'))) ? get_option('wp_chatbot_custom_icon_path') : QCLD_wpCHATBOT_IMG_URL . 'icon-1.png'; | |
| 37 | - | |
| 38 | - } else if (get_option('wp_chatbot_icon') != "custom.png") { | |
| 39 | - $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . get_option('wp_chatbot_icon'); | |
| 40 | - } else { | |
| 41 | - $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png'; | |
| 42 | - } | |
| 43 | - ?> | |
| 44 | - <img src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" | |
| 45 | - alt="wpChatIcon" qcld_agent="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" > | |
| 46 | - | |
| 47 | - | |
| 48 | - </div> | |
| 49 | - | |
| 50 | - <div class="wp-chatbot-header-icon-right"> | |
| 51 | 26 | <div id="wp-chatbot-desktop-reload" title="Reset"><span class="dashicons dashicons-update-alt"></span></div> |
| 52 | - | |
| 53 | - <div id="wp-chatbot-desktop-close" title="<?php echo esc_attr(get_option('qlcd_wp_chatbot_close_lan') != '' ? get_option('qlcd_wp_chatbot_close_lan') : 'Close'); ?>"><span class="dashicons dashicons-no"></span></div> | |
| 54 | - | |
| 55 | - </div> | |
| 56 | - | |
| 57 | - | |
| 27 | + <!-- <div id="wp-chatbot-desktop-close" title="<?php // echo(get_option('qlcd_wp_chatbot_close_lan') != '' ? get_option('qlcd_wp_chatbot_close_lan') : 'Close'); ?>"><i class="fa fa-times" aria-hidden="true"></i></div> --> | |
| 28 | + <div id="wp-chatbot-desktop-close"><span class="dashicons dashicons-no"></span></div> | |
| 58 | 29 | </div> |
| 59 | 30 | <!--wp-chatbot-header--> |
| 60 | 31 | <div class="wp-chatbot-ball-inner wp-chatbot-content"> |
| 61 | 32 | <!-- only show on Mobile app --> |
| @@ -75,26 +46,22 @@ | ||
| 75 | 46 | <div class="wp-chatbot-footer"> |
| 76 | 47 | <div id="wp-chatbot-editor-container" class="wp-chatbot-editor-container"> |
| 77 | 48 | <input id="wp-chatbot-editor" class="wp-chatbot-editor" required placeholder="<?php echo esc_attr(wpb_randmom_message_handle(unserialize(get_option('qlcd_wp_chatbot_send_a_msg')))); ?>" |
| 78 | 49 | > |
| 79 | - <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><span class="dashicons dashicons-arrow-up-alt"></span></button> | |
| 50 | + <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><?php esc_html_e('Send', 'wpchatbot'); ?></button> | |
| 80 | 51 | </div> |
| 81 | 52 | <!--wp-chatbot-editor-container--> |
| 82 | 53 | <div class="wp-chatbot-tab-nav"> |
| 83 | 54 | <ul> |
| 84 | - <li><a class="wp-chatbot-operation-option" data-option="help" href="" title="<?php echo esc_html__('Help', 'chatbot'); ?>"></a></li> | |
| 55 | + <li><a class="wp-chatbot-operation-option" data-option="help" href="" title="<?php echo esc_html__('Help', 'wpchatbot'); ?>"></a></li> | |
| 85 | 56 | |
| 86 | - <li class="wp-chatbot-operation-active"><a class="wp-chatbot-operation-option" data-option="chat" href="" title="<?php echo esc_html__('Chat', 'chatbot'); ?>" ></a></li> | |
| 87 | - <li><a class="wp-chatbot-operation-option" data-option="support" href="" title="<?php echo esc_html__('Support', 'chatbot'); ?>" ></a></li> | |
| 57 | + <li class="wp-chatbot-operation-active"><a class="wp-chatbot-operation-option" data-option="chat" href="" title="<?php echo esc_html__('Chat', 'wpchatbot'); ?>" ></a></li> | |
| 58 | + <li><a class="wp-chatbot-operation-option" data-option="support" href="" title="<?php echo esc_html__('Support', 'wpchatbot'); ?>" ></a></li> | |
| 88 | 59 | </ul> |
| 89 | 60 | </div> |
| 90 | 61 | <!--wp-chatbot-tab-nav--> |
| 91 | 62 | </div> |
| 92 | 63 | <!--wp-chatbot-footer--> |
| 93 | - | |
| 94 | - | |
| 95 | - | |
| 96 | - | |
| 97 | 64 | </div> |
| 98 | 65 | <!-- wp-chatbot-board-container--> |
| 99 | 66 | </div> |
| 100 | 67 | </div> |