| @@ -20,20 +20,14 @@ | ||
| 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 | 26 | |
| 28 | 27 | <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") { | |
| 28 | + <?php | |
| 29 | + if (get_option('wp_chatbot_icon') == "custom.png") { | |
| 36 | 30 | $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 | 31 | |
| 38 | 32 | } else if (get_option('wp_chatbot_icon') != "custom.png") { |
| 39 | 33 | $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . get_option('wp_chatbot_icon'); |
| @@ -42,17 +36,14 @@ | ||
| 42 | 36 | } |
| 43 | 37 | ?> |
| 44 | 38 | <img src="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" |
| 45 | 39 | alt="wpChatIcon" qcld_agent="<?php echo esc_url($wp_chatbot_custom_icon_path); ?>" > |
| 46 | - | |
| 47 | - | |
| 48 | 40 | </div> |
| 49 | 41 | |
| 50 | 42 | <div class="wp-chatbot-header-icon-right"> |
| 51 | 43 | <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 | - | |
| 44 | + <!-- <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> --> | |
| 45 | + <div id="wp-chatbot-desktop-close"><span class="dashicons dashicons-no"></span></div> | |
| 55 | 46 | </div> |
| 56 | 47 | |
| 57 | 48 | |
| 58 | 49 | </div> |
| @@ -75,9 +66,9 @@ | ||
| 75 | 66 | <div class="wp-chatbot-footer"> |
| 76 | 67 | <div id="wp-chatbot-editor-container" class="wp-chatbot-editor-container"> |
| 77 | 68 | <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 | 69 | > |
| 79 | - <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><span class="dashicons dashicons-arrow-up-alt"></span></button> | |
| 70 | + <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><?php esc_html_e('Send', 'chatbot'); ?></button> | |
| 80 | 71 | </div> |
| 81 | 72 | <!--wp-chatbot-editor-container--> |
| 82 | 73 | <div class="wp-chatbot-tab-nav"> |
| 83 | 74 | <ul> |