| @@ -1,8 +1,6 @@ | ||
| 1 | 1 | <div id="wp-chatbot-shortcode-template-container" |
| 2 | - class="<?php | |
| 3 | -if (!defined('ABSPATH')) exit; // Exit if accessed directly | |
| 4 | -echo esc_attr($wp_chatbot_enable_rtl);?> wp-chatbot-shortcode-template-container template-vertical"> | |
| 2 | + class="<?php echo esc_html($wp_chatbot_enable_rtl);?> wp-chatbot-shortcode-template-container template-vertical"> | |
| 5 | 3 | <div class="wp-chatbot-product-container"> |
| 6 | 4 | <div class="wp-chatbot-product-details"> |
| 7 | 5 | <div class="wp-chatbot-product-image-col"> |
| 8 | 6 | <div id="wp-chatbot-product-image"></div> |
| @@ -40,9 +38,9 @@ | ||
| 40 | 38 | <h3> <?php if (get_option('qlcd_wp_chatbot_host') != '') { |
| 41 | 39 | $welcomes = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_welcome')))); |
| 42 | 40 | $host = qcld_wpb_randmom_message_handle(qcld_wpbot()->helper->qcld_wb_chatbot_str_replace(maybe_unserialize(get_option('qlcd_wp_chatbot_host')))); |
| 43 | 41 | |
| 44 | - echo esc_html( $welcomes . ' ' . $host ); | |
| 42 | + echo $welcomes . ' ' . $host; | |
| 45 | 43 | } ?></h3> |
| 46 | 44 | <?php |
| 47 | 45 | if( function_exists( 'qcld_wpbotml' ) && count( qcld_wpbotml()->languages ) > 1){ |
| 48 | 46 | do_action('ml_render_lan_dropdown'); |
| @@ -60,13 +58,12 @@ | ||
| 60 | 58 | </div> |
| 61 | 59 | <!--wp-chatbot-ball-inner--> |
| 62 | 60 | <div class="wp-chatbot-footer"> |
| 63 | 61 | <div id="wp-chatbot-editor-area" class="wp-chatbot-editor-area"> |
| 64 | - | |
| 65 | - <input id="wp-chatbot-editor" class="wp-chatbot-editor" required="" placeholder="<?php echo esc_attr( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'))) ); ?>" | |
| 62 | + <input id="wp-chatbot-editor" class="wp-chatbot-editor" required="" placeholder="<?php echo qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_send_a_msg'))); ?>" | |
| 66 | 63 | > |
| 67 | 64 | <?php do_action('wpbot_voice_icon'); ?> |
| 68 | - <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><i class="dashicons dashicons-email" aria-hidden="true"></i></button> | |
| 65 | + <button type="button" id="wp-chatbot-send-message" class="wp-chatbot-button"><i class="fa fa-paper-plane" aria-hidden="true"></i></button> | |
| 69 | 66 | </div> |
| 70 | 67 | <!--wp-chatbot-editor-container--> |
| 71 | 68 | </div> |
| 72 | 69 | <!--wp-chatbot-footer--> |
| @@ -83,10 +80,10 @@ | ||
| 83 | 80 | } else { |
| 84 | 81 | $wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png'; |
| 85 | 82 | } |
| 86 | 83 | ?> |
| 87 | - <img src="<?php echo esc_url( $wp_chatbot_custom_icon_path ); ?>" alt="Agent Image"> | |
| 88 | - <h3 class="chatbot-agent-name"><?php echo esc_html( qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_agent'))) ); ?></h3> | |
| 84 | + <img src="<?php echo $wp_chatbot_custom_icon_path; ?>" alt="Agent Image"> | |
| 85 | + <h3 class="chatbot-agent-name"><?php echo qcld_wpb_randmom_message_handle(maybe_unserialize(get_option('qlcd_wp_chatbot_agent'))); ?></h3> | |
| 89 | 86 | </div> |
| 90 | 87 | <!--chatbot-agent--> |
| 91 | 88 | </div> |
| 92 | 89 | <!--wp-chatbot-widget--> |