| 1 |
<?php |
| 2 |
|
| 3 |
// Exit if accessed directly |
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; |
| 6 |
} |
| 7 |
?> |
| 8 |
|
| 9 |
<div class="<?php esc_attr_e( 'wrap', 'wpbot' ); ?> "> |
| 10 |
<h1 style="display:none"> |
| 11 |
<?php esc_html_e('WPBot', 'wpbot'); ?> |
| 12 |
</h1> |
| 13 |
</div> |
| 14 |
<div class="<?php esc_attr_e( 'wp-chatbot-wrap', 'wpbot' ); ?> "> |
| 15 |
<div class="<?php esc_attr_e( 'icon32', 'wpbot' ); ?> "><br> |
| 16 |
</div> |
| 17 |
<form action="<?php echo esc_attr($action); ?>" method="POST" id="<?php esc_attr_e( 'wp-chatbot-admin-form', 'wpbot' ); ?>" |
| 18 |
enctype="multipart/form-data', 'wpbot' ); ?> "> |
| 19 |
<div class="<?php esc_attr_e( 'container form-container', 'wpbot' ); ?> "> |
| 20 |
<header class="<?php esc_attr_e( 'wp-chatbot-admin-header', 'wpbot' ); ?> "> |
| 21 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 22 |
<div class="<?php esc_attr_e( 'col-sm-6', 'wpbot' ); ?> "> |
| 23 |
<h2><?php echo __('WPBot Control Panel', 'wpbot'); ?><?php echo get_option('wp_chatbot_index_meta'); ?></h2> |
| 24 |
</div> |
| 25 |
<div class="<?php esc_attr_e( 'col-sm-6 text-right wp-chatbot-version', 'wpbot' ); ?> "> |
| 26 |
|
| 27 |
<div class="<?php esc_attr_e( 'wpchatbot-lite-version-section', 'wpbot' ); ?> "> |
| 28 |
<h3 class="<?php esc_attr_e( 'wpchatbot-liteversion', 'wpbot' ); ?> "> |
| 29 |
<?php esc_html_e('The Lite Version', 'wpbot'); ?> |
| 30 |
</h3> |
| 31 |
<a class="<?php esc_attr_e( 'wpchatbot-Upgrade', 'wpbot' ); ?>" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a> |
| 32 |
</div> |
| 33 |
</div> |
| 34 |
</div> |
| 35 |
</header> |
| 36 |
<section class="<?php esc_attr_e( 'wp-chatbot-tab-container-inner', 'wpbot' ); ?> "> |
| 37 |
<div class="<?php esc_attr_e( 'wp-chatbot-tabs wp-chatbot-tabs-style-flip', 'wpbot' ); ?> "> |
| 38 |
<nav> |
| 39 |
<ul> |
| 40 |
<li tab-data="started', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=started', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-toggle-on', 'wpbot' ); ?> "> </i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> |
| 41 |
<?php esc_html_e('GETTING STARTED', 'wpbot'); ?> |
| 42 |
</span> </a></li> |
| 43 |
<li tab-data="general', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=general', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-toggle-on', 'wpbot' ); ?> "> </i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> |
| 44 |
<?php esc_html_e('GENERAL SETTINGS', 'wpbot'); ?> |
| 45 |
</span> </a></li> |
| 46 |
<li tab-data="themes', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=themes', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-gear faa-spin', 'wpbot' ); ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> |
| 47 |
<?php esc_html_e('ICONS & THEMES', 'wpbot'); ?> |
| 48 |
</span> </a></li> |
| 49 |
<li tab-data="support', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=support', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-life-ring', 'wpbot' ); ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> |
| 50 |
<?php esc_html_e('FAQ Builder', 'wpbot'); ?> |
| 51 |
</span> </a></li> |
| 52 |
<!--<li tab-data="notification', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=notification', 'wpbot' ); ?> "> |
| 53 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> |
| 54 |
<i class="<?php esc_attr_e( 'fa fa-bell-o', 'wpbot' ); ?> "></i> |
| 55 |
</span> |
| 56 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "><?php esc_html_e('Notification Builder', 'wpbot'); ?></span> |
| 57 |
</a></li>--> |
| 58 |
<li tab-data="language', 'wpbot' ); ?> "><a href="<?php esc_attr_e($action .'&tab=language', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-language', 'wpbot' ); ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> |
| 59 |
<?php esc_html_e('LANGUAGE CENTER', 'wpbot'); ?> |
| 60 |
</span> </a></li> |
| 61 |
<li tab-data="startmenu', 'wpbot' ); ?> "><a href="<?php esc_attr_e($action .'&tab=startmenu', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-bars', 'wpbot' ); ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "><?php echo esc_html__('Start Menu', 'wpbot'); ?></span> </a></li> |
| 62 |
|
| 63 |
<!--<li tab-data="hours', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=hours', 'wpbot' ); ?> "> |
| 64 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> |
| 65 |
<i class="<?php esc_attr_e( 'fa fa-calendar', 'wpbot' ); ?> "></i> |
| 66 |
</span> |
| 67 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "><?php esc_html_e('Bot Activity Hour', 'wpbot'); ?></span> |
| 68 |
</a></li>--> |
| 69 |
<li tab-data="ai', 'wpbot' ); ?> "><a href="<?php esc_attr_e($action .'&tab=ai', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-500px', 'wpbot' ); ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> |
| 70 |
<?php esc_html_e('Dialogflow', 'wpbot'); ?> |
| 71 |
</span> </a></li> |
| 72 |
|
| 73 |
<div class="<?php esc_attr_e( 'cxsc-settings_openai_border', 'wpbot' ); ?> "> <a href="<?php esc_attr_e( $action .'_openAi', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-gear', 'wpbot' ); ?> "></i> |
| 74 |
</span> <span class="<?php esc_attr_e( '', 'wpbot' ); ?> "> <?php esc_html_e('Open Ai Settings', 'wpbot'); ?> </span> |
| 75 |
</a> |
| 76 |
</div> |
| 77 |
<li tab-data="custom_css', 'wpbot' ); ?> "> <a href="<?php esc_attr_e($action .'&tab=ai', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-code', 'wpbot' ); ?> "></i> |
| 78 |
</span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> <?php esc_html_e('Custom CSS', 'wpbot'); ?></span> </a> |
| 79 |
</li> |
| 80 |
|
| 81 |
<li tab-data="rpl', 'wpbot' ); ?> "><a href="<?php esc_attr_e($action .'&tab=rpl', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-plug', 'wpbot' ); ?> "></i> </span> <span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "> <?php esc_html_e('Conversational Form', 'wpbot'); ?> </span> </a> |
| 82 |
</li> |
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
<!--<li tab-data="app', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=app', 'wpbot' ); ?> "> |
| 87 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> |
| 88 |
<i class="<?php esc_attr_e( 'fa fa-mobile', 'wpbot' ); ?> "></i> |
| 89 |
</span> |
| 90 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "><?php esc_html_e('MOBILE APP', 'wpbot'); ?></span> |
| 91 |
</a></li> |
| 92 |
<li tab-data="custom', 'wpbot' ); ?> "><a href="<?php echo esc_attr($action); ?>&tab=custom', 'wpbot' ); ?> "> |
| 93 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-icon', 'wpbot' ); ?> "> |
| 94 |
<i class="<?php esc_attr_e( 'fa fa-code', 'wpbot' ); ?> "></i> |
| 95 |
</span> |
| 96 |
<span class="<?php esc_attr_e( 'wpwbot-admin-tab-name', 'wpbot' ); ?> "><?php esc_html_e('Custom CSS', 'wpbot'); ?> </span> |
| 97 |
</a></li>--> |
| 98 |
|
| 99 |
</ul> |
| 100 |
|
| 101 |
</nav> |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
<div class="<?php esc_attr_e( 'content-wrap', 'wpbot' ); ?> "> |
| 107 |
<section id="<?php esc_attr_e( 'section-flip-1', 'wpbot' ); ?> "> |
| 108 |
<div class="<?php esc_attr_e( 'top-section getting_gtarted_section', 'wpbot' ); ?> "> |
| 109 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 110 |
<div class="<?php esc_attr_e( 'content form-container qcbot_help_secion', 'wpbot' ); ?> "> |
| 111 |
<h2 style="margin-top: 10px;"><?php echo esc_html__('WPBot Interactions', 'wpbot'); ?></h2> |
| 112 |
<h3 style=" color: #222; margin: 0; padding: 0 0 12px 0; font-size: 16px; font-weight: bold;"><?php echo esc_html__('You can create user interactions in the following ways:', 'wpbot'); ?></h3> |
| 113 |
<div class="<?php esc_attr_e( 'panel-group', 'wpbot' ); ?>" id="<?php esc_attr_e( 'accordion', 'wpbot' ); ?>" role="tablist" aria-multiselectable="true', 'wpbot' ); ?> "> |
| 114 |
<div class="<?php esc_attr_e( 'panel panel-default', 'wpbot' ); ?> "> |
| 115 |
<div class="<?php esc_attr_e( 'panel-heading', 'wpbot' ); ?>" role="tab" id="<?php esc_attr_e( 'headingOne', 'wpbot' ); ?> "> |
| 116 |
<h4 class="<?php esc_attr_e( 'panel-title', 'wpbot' ); ?> "> |
| 117 |
<a class="<?php esc_attr_e( 'collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne', 'wpbot' ); ?> "> |
| 118 |
<?php echo esc_html__(' Predefined intents - Built-in ChatBot Features', 'wpbot'); ?> |
| 119 |
</a> |
| 120 |
</h4> |
| 121 |
</div> |
| 122 |
<div id="<?php esc_attr_e( 'collapseOne', 'wpbot' ); ?>" class="<?php esc_attr_e( 'panel-collapse collapse', 'wpbot' ); ?>" role="tabpanel" aria-labelledby="headingOne', 'wpbot' ); ?> "> |
| 123 |
<div class="<?php esc_attr_e( 'panel-body', 'wpbot' ); ?> "> |
| 124 |
<?php echo esc_html__(' Predefined intents can work without integration to DialogFlow API and AI. These are readily available as soon as you install the plugin and can be turned on or off individually.', 'wpbot'); ?> |
| 125 |
<div class="<?php esc_attr_e( 'section-container', 'wpbot' ); ?> "> |
| 126 |
<div class="<?php esc_attr_e( 'wpb_column vc_column_container vc_col-sm-6', 'wpbot' ); ?> "> |
| 127 |
<div class="<?php esc_attr_e( 'vc_column-inner ', 'wpbot' ); ?> "> |
| 128 |
<div class="<?php esc_attr_e( 'wpb_wrapper', 'wpbot' ); ?> "> |
| 129 |
<div class="<?php esc_attr_e( 'to-icon-box left txt-left', 'wpbot' ); ?> "> |
| 130 |
<div class="<?php esc_attr_e( 'to-icon-txt fa-4x-txt ', 'wpbot' ); ?> "> |
| 131 |
<h3> |
| 132 |
<span>// </span><?php echo esc_html__('Simple Text Responses', 'wpbot'); ?> |
| 133 |
</h3> |
| 134 |
<p><?php echo esc_html__('Create unlimited text responses from your WordPress backend. The ChatBot uses advanced search algorithm for natural language phrase matching with user input.', 'wpbot'); ?> </p> |
| 135 |
</div> |
| 136 |
</div> |
| 137 |
<div class="<?php esc_attr_e( 'to-icon-box left txt-left', 'wpbot' ); ?> "> |
| 138 |
<div class="<?php esc_attr_e( 'to-icon-txt fa-4x-txt ', 'wpbot' ); ?> "> |
| 139 |
<h3> |
| 140 |
<span>// </span><?php echo esc_html__('Send eMail, Call Me Back & Feedback Collection', 'wpbot'); ?> |
| 141 |
</h3> |
| 142 |
<p><?php echo esc_html__('Users can send a email to the site admin directly from the Chat window for customer support. The Call Me Back feature lets you get call requests from your customers which will be emailed to you. You can also use WPBot to collect Feedback from your customers regarding anything! You can disable/enable these features from the Start Menu.', 'wpbot'); ?> </p> |
| 143 |
</div> |
| 144 |
</div> |
| 145 |
<div class="<?php esc_attr_e( 'to-icon-box left txt-left', 'wpbot' ); ?> "> |
| 146 |
<div class="<?php esc_attr_e( 'to-icon-txt fa-4x-txt ', 'wpbot' ); ?> "> |
| 147 |
<h3> |
| 148 |
<span>// </span><?php echo esc_html__('Advanced Site Search', 'wpbot'); ?> <span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot' ); ?> "><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 149 |
</h3> |
| 150 |
<p><?php echo esc_html__('If no matching text response is found WPBot will conduct an advanced website search and try to match user queries with your website contents and show results.', 'wpbot'); ?> </p> |
| 151 |
</div> |
| 152 |
</div> |
| 153 |
</div> |
| 154 |
</div> |
| 155 |
</div> |
| 156 |
<div class="<?php esc_attr_e( 'wpb_column vc_column_container vc_col-sm-6', 'wpbot' ); ?> "> |
| 157 |
<div class="<?php esc_attr_e( 'vc_column-inner ', 'wpbot' ); ?> "> |
| 158 |
<div class="<?php esc_attr_e( 'wpb_wrapper', 'wpbot' ); ?> "> |
| 159 |
<div class="<?php esc_attr_e( 'to-icon-box left txt-left', 'wpbot' ); ?> "> |
| 160 |
<div class="<?php esc_attr_e( 'to-icon-txt fa-4x-txt ', 'wpbot' ); ?> "> |
| 161 |
<h3> |
| 162 |
<span>// </span><?php echo esc_html__('Frequently Asked Questions', 'wpbot'); ?> |
| 163 |
</h3> |
| 164 |
<p><?php echo esc_html__('Create a set of Frequently Asked Questions or FAQ so users can quickly find answers to the most common questions they have.', 'wpbot'); ?></p> |
| 165 |
</div> |
| 166 |
</div> |
| 167 |
<div class="<?php esc_attr_e( 'to-icon-box left txt-left', 'wpbot' ); ?> "> |
| 168 |
<div class="<?php esc_attr_e( 'to-icon-txt fa-4x-txt ', 'wpbot' ); ?> "> |
| 169 |
<h3> |
| 170 |
<span>// </span><?php echo esc_html__('Ask for name, email, phone number etc.', 'wpbot'); ?> |
| 171 |
</h3> |
| 172 |
<p><?php echo esc_html__('Asking for the name is the default workflow. In the pro version, you can also ask for an email and phone number if you want to or skip the Greetings part altogether and load any intent of your choice.', 'wpbot'); ?></p> |
| 173 |
</div> |
| 174 |
</div> |
| 175 |
<div class="<?php esc_attr_e( 'to-icon-box left txt-left', 'wpbot' ); ?> "> |
| 176 |
<div class="<?php esc_attr_e( 'to-icon-txt fa-4x-txt ', 'wpbot' ); ?> "> |
| 177 |
<h3> |
| 178 |
<span>// </span><?php echo esc_html__('Newsletter Subscription', 'wpbot'); ?> <span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot' ); ?> "><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 179 |
</h3> |
| 180 |
<p><?php echo esc_html__('WPBot can prompt User for eMail subscription. Link this with your Retargeting ChatBot window popup and a special offer. People can register their email address that you can later export as CSV!', 'wpbot'); ?> <strong><?php echo esc_html__('GDPR compliant', 'wpbot'); ?></strong> <?php echo esc_html__('with unsubscribe option from the ChatBot!', 'wpbot'); ?> </p> |
| 181 |
</div> |
| 182 |
</div> |
| 183 |
</div> |
| 184 |
</div> |
| 185 |
</div> |
| 186 |
</div> |
| 187 |
</div> |
| 188 |
</div> |
| 189 |
</div> |
| 190 |
<div class="<?php esc_attr_e( 'panel panel-default', 'wpbot' ); ?> "> |
| 191 |
<div class="<?php esc_attr_e( 'panel-heading', 'wpbot' ); ?>" role="tab" id="<?php esc_attr_e( 'headingTwo', 'wpbot' ); ?> "> |
| 192 |
<h4 class="<?php esc_attr_e( 'panel-title', 'wpbot' ); ?> "> |
| 193 |
<a class="<?php esc_attr_e( 'collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo', 'wpbot' ); ?> "> |
| 194 |
<?php echo esc_html__('Menu Driven - Created with Conversational Form Builder Addon', 'wpbot'); ?> |
| 195 |
</a> |
| 196 |
</h4> |
| 197 |
</div> |
| 198 |
<div id="<?php esc_attr_e( 'collapseTwo', 'wpbot' ); ?>" class="<?php esc_attr_e( 'panel-collapse collapse', 'wpbot' ); ?>" role="tabpanel" aria-labelledby="headingTwo', 'wpbot' ); ?> "> |
| 199 |
<div class="<?php esc_attr_e( 'panel-body', 'wpbot' ); ?> "> |
| 200 |
<p><?php echo esc_html__('Extend the Start Menu with the', 'wpbot'); ?> <strong><?php echo esc_html__('powerful Conversational Forms', 'wpbot'); ?></strong><?php echo esc_html__(' Addon for WPBot. It extends WPBot’s functionality and adds the ability to create <strong>conditional conversations', 'wpbot'); ?></strong> <?php echo esc_html__('and/or', 'wpbot'); ?> <strong><?php echo esc_html__('forms', 'wpbot'); ?></strong> <?php echo esc_html__('for the WPBot. It is a visual,', 'wpbot'); ?> <strong> <?php echo esc_html__('drag and drop', 'wpbot'); ?></strong> <?php echo esc_html__('form builder that is easy to use and very flexible. Supports conditional logic and use of variables to build all types of forms or just ', 'wpbot'); ?><strong><?php echo esc_html__('menu driven', 'wpbot'); ?></strong> |
| 201 |
<strong><?php echo esc_html__('conversations', 'wpbot'); ?> </strong><?php echo esc_html__('with if else logic', 'wpbot'); ?> <strong>. </strong><?php echo esc_html__('Conversations or forms can be', 'wpbot'); ?> <strong><?php echo esc_html__('eMailed', 'wpbot'); ?></strong> <?php echo esc_html__('to you and', 'wpbot'); ?> <strong><?php echo esc_html__('saved in the database', 'wpbot'); ?></strong>. |
| 202 |
</p> |
| 203 |
<h4><?php echo esc_html__('Conversational Form Builder Free or Pro version works with the WPBot Free or Pro versions.', 'wpbot'); ?></h4> |
| 204 |
<a class="<?php esc_attr_e( 'FormBuilder" href="https://wordpress.org/plugins/conversational-forms/" target="_blank', 'wpbot' ); ?> "><?php echo esc_html__('Download Free Version', 'wpbot'); ?></a> |
| 205 |
<a class="<?php esc_attr_e( 'FormBuilder" href="https://www.quantumcloud.com/products/conversations-and-form-builder/" target="_blank', 'wpbot' ); ?> "><?php echo esc_html__('Grab the Pro version', 'wpbot'); ?></a> |
| 206 |
<h4><?php echo esc_html__('What Can You Do with it?', 'wpbot'); ?></h4> |
| 207 |
<p><?php echo esc_html__('Conversation Forms allows you to create a wide variety of forms, that might include:', 'wpbot'); ?></p> |
| 208 |
<ul> |
| 209 |
<li><?php echo esc_html__('Create menu or button driven conversations', 'wpbot'); ?></li> |
| 210 |
<li><?php echo esc_html__('Conditional', 'wpbot'); ?> <strong><?php echo esc_html__('Menu Driven Conversations', 'wpbot'); ?></strong> |
| 211 |
<span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot'); ?>" style="font-size: 9px;"><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 212 |
</li> |
| 213 |
<li><?php echo esc_html__('Standard Contact Forms', 'wpbot'); ?></li> |
| 214 |
<li><?php echo esc_html__('Dynamic,', 'wpbot'); ?> <strong><?php echo esc_html__('conditional Forms', 'wpbot'); ?></strong> <?php echo esc_html__('– where fields can change based on the user selections', 'wpbot'); ?> <span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot'); ?>" style="font-size: 9px;"><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 215 |
</li> |
| 216 |
<li><?php echo esc_html__('Job', 'wpbot'); ?> <strong><?php echo esc_html__('Application Forms', 'wpbot'); ?></strong> |
| 217 |
</li> |
| 218 |
<li> |
| 219 |
<strong><?php echo esc_html__('Lead Capture', 'wpbot'); ?></strong> <?php echo esc_html__('Forms', 'wpbot'); ?> |
| 220 |
</li> |
| 221 |
<li><?php echo esc_html__('Various types of', 'wpbot'); ?> <strong><?php echo esc_html__('Calculators', 'wpbot'); ?></strong> |
| 222 |
<span class="<?php esc_attr_e( 'qc_wpbot_pro" style="font-size: 9px; ', 'wpbot'); ?>"><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 223 |
</li> |
| 224 |
<li><?php echo esc_html__('Feedback ', 'wpbot'); ?><strong><?php echo esc_html__('Survey', 'wpbot'); ?></strong> <?php echo esc_html__('Forms etc.', 'wpbot'); ?> </li> |
| 225 |
</ul> |
| 226 |
|
| 227 |
</div> |
| 228 |
</div> |
| 229 |
</div> |
| 230 |
<div class="<?php esc_attr_e( 'panel panel-default', 'wpbot' ); ?> "> |
| 231 |
<div class="<?php esc_attr_e( 'panel-heading', 'wpbot' ); ?>" role="tab" id="<?php esc_attr_e( 'headingThree', 'wpbot' ); ?> "> |
| 232 |
<h4 class="<?php esc_attr_e( 'panel-title', 'wpbot' ); ?> "> |
| 233 |
<a class="<?php esc_attr_e( 'collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree', 'wpbot' ); ?> "> |
| 234 |
<?php echo esc_html__('DialogFlow ES and CX, OpenAI', 'wpbot'); ?> |
| 235 |
</a> |
| 236 |
</h4> |
| 237 |
</div> |
| 238 |
<div id="<?php esc_attr_e( 'collapseThree', 'wpbot' ); ?>" class="<?php esc_attr_e( 'panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree', 'wpbot' ); ?> "> |
| 239 |
<div class="<?php esc_attr_e( 'panel-body', 'wpbot' ); ?> "> |
| 240 |
<div class="<?php esc_attr_e( 'section-container', 'wpbot' ); ?> "> |
| 241 |
<div class="<?php esc_attr_e( 'wpb_column vc_column_container vc_col-sm-6', 'wpbot' ); ?> "> |
| 242 |
<div class="<?php esc_attr_e( 'wpb_wrapper', 'wpbot' ); ?> "> |
| 243 |
<h2 style="font-size: 20px;', 'wpbot' ); ?> "><?php echo esc_html__('DialogFlow Essential', 'wpbot'); ?></h2> |
| 244 |
<p> |
| 245 |
<?php echo esc_html__('Intents created in Dialogflow give you the power to build a truly human like, intelligent and comprehensive chatbot. Build any type of Intents and Responses (including rich message responses) directly in DialogFlow and train the bot accordingly. When you create custom intents and responses in DialogFlow, WPBot will ', 'wpbot'); ?><strong> <?php echo esc_html__('automatically', 'wpbot'); ?></strong> <?php echo esc_html__('display them when user inputs match with your Custom Intents along with the responses you created. You can also build Rich responses by enabling Facebook messenger Response option.', 'wpbot'); ?> |
| 246 |
</p> |
| 247 |
<p style="text-align: left;"><?php echo esc_html__('In addition you can also Enable ', 'wpbot'); ?><strong><?php echo esc_html__('Advanced Chained Question and Answers', 'wpbot'); ?></strong> <?php echo esc_html__('using follow up Intents, Contexts, Entities etc. and then have resulting answers from your users emailed to you. This feature lets you create a a series of questions in DialogFlow that will be asked by the bot and based on the user inputs a response will be displayed.', 'wpbot'); ?> |
| 248 |
<span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot'); ?>" style="font-size: 9px;"><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 249 |
</p> |
| 250 |
<p style="text-align: left;"><?php echo esc_html__('WPBot also supports Rich responses using Facebook Messenger integration. This allows you to display Image, ', 'wpbot'); ?><strong><?php echo esc_html__('Cards', 'wpbot'); ?></strong><?php echo esc_html__(', Quick Text Reply or Custom PayLoad inside the ChatBot window. You can also insert an', 'wpbot'); ?> <strong><?php echo esc_html__('image', 'wpbot'); ?></strong> <?php echo esc_html__('or', 'wpbot'); ?> <strong><?php echo esc_html__('youtube video', 'wpbot'); ?></strong> <?php echo esc_html__('link inside the DialogFlow responses and they will be automatically rendered by the WPBot!', 'wpbot'); ?> <span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot'); ?>" style="font-size: 9px; "> |
| 251 |
<?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 252 |
</p> |
| 253 |
<h2 style="font-size: 20px;', 'wpbot' ); ?> "><?php echo esc_html__('OpenAI', 'wpbot'); ?></h2><?php echo esc_html__('Connect the ChatBot to OpenAI. OpenAI’s API provides access to GPT-3, for a wide variety of natural language tasks. Train your ChatBot with (pre-trained) GPT-3 to answer any user questions using. Select your preferred Engine from DaVinci, Ada, Curie or Babbag! Add your own API key to the addon to connect to your OpenAI account. To go live, you need to apply to OpenAI.', 'wpbot'); ?> |
| 254 |
</div> |
| 255 |
</div> |
| 256 |
<div class="<?php esc_attr_e( 'wpb_column vc_column_container vc_col-sm-6', 'wpbot' ); ?> "> |
| 257 |
<div class="<?php esc_attr_e( 'wpb_wrapper', 'wpbot' ); ?> "> |
| 258 |
<h2 style="font-size: 20px; "><?php echo esc_html__('DialogFlow CX', 'wpbot'); ?> <span class="<?php esc_attr_e( 'qc_wpbot_pro', 'wpbot' ); ?> "><?php echo esc_html__('PRO', 'wpbot'); ?></span> |
| 259 |
</h2> |
| 260 |
<p><?php echo esc_html__('WPBot supports', 'wpbot'); ?> <strong><?php echo esc_html__('visual workflow builder', 'wpbot'); ?></strong> <?php echo esc_html__('Dialogflow CX. It provides a new way of designing agents, taking a state machine approach to agent design. This gives you clear and explicit control over a conversation, a better end-user experience, and a better development <strong>workflow', 'wpbot'); ?></strong>. </p> |
| 261 |
<ul> |
| 262 |
<li> |
| 263 |
<strong><?php echo esc_html__('Console visualization</strong>: A new <strong>visual builder</strong> makes building and maintaining agents easier. Conversation paths are graphed as a state machine model, which makes conversations easier to design, enhance, and maintain.', 'wpbot'); ?> |
| 264 |
</li> |
| 265 |
<li> |
| 266 |
<strong><?php echo esc_html__('Intuitive and powerful conversation control:', 'wpbot'); ?></strong> <?php echo esc_html__('Conversation states and state transitions are first-class types that provide explicit and powerful control over conversation paths. You can clearly define a series of steps that you want the end-user to go through.', 'wpbot'); ?> |
| 267 |
</li> |
| 268 |
<li> |
| 269 |
<strong><?php echo esc_html__('Flows for agent partitions</strong>: With flows, you can partition your agent into smaller conversation topics. Different team members can own different flows, which makes large and complex agents easy to build.', 'wpbot'); ?> |
| 270 |
</li> |
| 271 |
<img style="width:100%" src="<?php echo QCLD_wpCHATBOT_IMG_URL . '/dialogflow-cx-1024x676.jpg';?>" alt="Dialogflow CX', 'wpbot' ); ?> "> |
| 272 |
</ul> |
| 273 |
</div> |
| 274 |
</div> |
| 275 |
</div> |
| 276 |
</div> |
| 277 |
</div> |
| 278 |
</div> |
| 279 |
</div> |
| 280 |
</section> |
| 281 |
<section id="<?php esc_attr_e( 'section-flip-2', 'wpbot' ); ?> "> |
| 282 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 283 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 284 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 285 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks-notic', 'wpbot' ); ?> "> |
| 286 |
<p class="<?php esc_attr_e( 'd-ib', 'wpbot' ); ?> "><?php echo esc_html__('Please see the plugin`s Getting Started section for how to create interactions.', 'wpbot'); ?> |
| 287 |
<p class="<?php esc_attr_e( 'd-ib', 'wpbot' ); ?> "><?php echo esc_html__('The ChatBot can work with ANY language. Just change the language texts from the ChatBot Settings->Language Center.', 'wpbot'); ?> |
| 288 |
<p class="<?php esc_attr_e( 'd-ib', 'wpbot' ); ?> "><?php echo esc_html__('Please see the plugin`s Help and Debugging section to troubleshoot common issues.', 'wpbot'); ?> |
| 289 |
|
| 290 |
</div> |
| 291 |
|
| 292 |
<b> |
| 293 |
<!-- <p>Please see the plugin's Help and Debugging section to troubleshoot common issues.</p> --> |
| 294 |
</b> |
| 295 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 296 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 297 |
<?php |
| 298 |
$url = get_site_url(); |
| 299 |
$url = parse_url($url); |
| 300 |
$domain = $url['host']; |
| 301 |
|
| 302 |
$admin_email = get_option('admin_email'); |
| 303 |
?> |
| 304 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('Emails Will be Sent to', 'wpbot'); ?></h4> |
| 305 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?> " |
| 306 |
name="qlcd_wp_chatbot_admin_email" |
| 307 |
value="<?php echo(get_option('qlcd_wp_chatbot_admin_email') != '' ? get_option('qlcd_wp_chatbot_admin_email') : $admin_email); ?>"> |
| 308 |
<label for="disable_wp_chatbot', 'wpbot' ); ?>"><?php echo esc_html__('Support and Call Back requests will be sent to this address', 'wpbot'); ?> </label> |
| 309 |
</div> |
| 310 |
</div> |
| 311 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 312 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 313 |
<?php |
| 314 |
$url = get_site_url(); |
| 315 |
$url = parse_url($url); |
| 316 |
$domain = $url['host']; |
| 317 |
$fromEmail = "wordpress@" . $domain; |
| 318 |
?> |
| 319 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('From Email Address', 'wpbot'); ?></h4> |
| 320 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 321 |
name="qlcd_wp_chatbot_from_email" |
| 322 |
value="<?php echo(get_option('qlcd_wp_chatbot_from_email') != '' ? get_option('qlcd_wp_chatbot_from_email') : $fromEmail); ?> "> |
| 323 |
<label for="qlcd_wp_chatbot_from_email', 'wpbot' ); ?>"><?php echo esc_html__('All emails will be sent from this email address. If you change the From Email Address then please make sure the domain remains same. Otherwise, the emails may not be received.', 'wpbot'); ?> </label> |
| 324 |
</div> |
| 325 |
</div> |
| 326 |
</div> |
| 327 |
</div> |
| 328 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 329 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 330 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 331 |
<?php esc_html_e('Disable WPBot', 'wpbot'); ?> |
| 332 |
</h4> |
| 333 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 334 |
<input value="1" id="<?php esc_attr_e( 'disable_wp_chatbot', 'wpbot' ); ?>" type="checkbox" |
| 335 |
name="disable_wp_chatbot" <?php echo(get_option('disable_wp_chatbot') == 1 ? 'checked' : ''); ?>> |
| 336 |
<label for="<?php esc_attr_e('disable_wp_chatbot', 'wpbot' ); ?>"> |
| 337 |
<?php esc_html_e('Disable WPBot to Load', 'wpbot'); ?> |
| 338 |
</label> |
| 339 |
</div> |
| 340 |
</div> |
| 341 |
</div> |
| 342 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 343 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 344 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 345 |
<?php esc_html_e('Disable WPbot on Mobile Device', 'wpbot'); ?> |
| 346 |
</h4> |
| 347 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 348 |
<input value="1" id="<?php esc_attr_e( 'disable_wp_chatbot_on_mobile', 'wpbot' ); ?>" type="checkbox" |
| 349 |
name="disable_wp_chatbot_on_mobile" <?php echo(get_option('disable_wp_chatbot_on_mobile') == 1 ? 'checked' : ''); ?>> |
| 350 |
<label for="<?php esc_attr_e('disable_wp_chatbot_on_mobile', 'wpbot' ); ?>"> |
| 351 |
<?php esc_html_e('Disable WpBot to Load on Mobile Device', 'wpbot'); ?> |
| 352 |
</label> |
| 353 |
</div> |
| 354 |
</div> |
| 355 |
</div> |
| 356 |
|
| 357 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 358 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 359 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 360 |
<?php esc_html_e('Enable RTL', 'wpbot'); ?> |
| 361 |
</h4> |
| 362 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 363 |
<input value="1" id="<?php esc_attr_e( 'enable_wp_chatbot_rtl', 'wpbot' ); ?>" type="checkbox" |
| 364 |
name="enable_wp_chatbot_rtl" <?php echo(get_option('enable_wp_chatbot_rtl') == 1 ? 'checked' : ''); ?>> |
| 365 |
<label for="<?php esc_attr_e( 'enable_wp_chatbot_rtl', 'wpbot' ); ?>"> |
| 366 |
<?php esc_html_e('Enable RTL (Right to Left language) Support for Chat', 'wpbot'); ?> |
| 367 |
</label> |
| 368 |
</div> |
| 369 |
</div> |
| 370 |
</div> |
| 371 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 372 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 373 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> <?php echo esc_html__('Show Start Menu After Greetings', 'wpbot'); ?> </h4> |
| 374 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 375 |
<input value="1" id="<?php esc_attr_e( 'show_menu_after_greetings', 'wpbot' ); ?>" type="checkbox" |
| 376 |
name="show_menu_after_greetings" <?php echo(get_option('show_menu_after_greetings') == 1 ? 'checked' : ''); ?>> |
| 377 |
<label for="show_menu_after_greetings', 'wpbot' ); ?> "><?php echo esc_html__('Show Start Menu After Greetings', 'wpbot'); ?> </label> |
| 378 |
</div> |
| 379 |
</div> |
| 380 |
</div> |
| 381 |
|
| 382 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 383 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 384 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 385 |
<?php esc_html_e('WPBot Open Full Screen in Mobile', 'wpbot'); ?> |
| 386 |
</h4> |
| 387 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 388 |
<input value="1" id="<?php esc_attr_e( 'enable_wp_chatbot_mobile_full_screen', 'wpbot' ); ?>" type="checkbox" |
| 389 |
name="enable_wp_chatbot_mobile_full_screen" <?php echo(get_option('enable_wp_chatbot_mobile_full_screen') == 1 ? 'checked' : ''); ?>> |
| 390 |
<label for="<?php esc_attr_e( 'enable_wp_chatbot_mobile_full_screen', 'wpbot' ); ?>"> |
| 391 |
<?php esc_html_e('Enable WpBot Open Full Screen in Mobile', 'wpbot'); ?> |
| 392 |
</label> |
| 393 |
</div> |
| 394 |
</div> |
| 395 |
</div> |
| 396 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 397 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 398 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('Bot Response Delay', 'wpbot'); ?> </h4> |
| 399 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 400 |
<select name="wpbot_preloading_time" id="<?php esc_attr_e( 'wpbot_preloading_time', 'wpbot' ); ?> "> |
| 401 |
<option value="100" <?php echo(get_option('wpbot_preloading_time') == '100' ? 'selected="selected"' : ''); ?>>0 Second</option> |
| 402 |
<option value="500" <?php echo(get_option('wpbot_preloading_time') == '500' ? 'selected="selected"' : ''); ?>>0.5 Second</option> |
| 403 |
<option value="1000" <?php echo(get_option('wpbot_preloading_time') == '1000' ? 'selected="selected"' : ''); ?>>1 Second</option> |
| 404 |
<option value="2000" <?php echo(get_option('wpbot_preloading_time') == '2000' ? 'selected="selected"' : ''); ?>>2 Second</option> |
| 405 |
<option value="3000" <?php echo(get_option('wpbot_preloading_time') == '3000' ? 'selected="selected"' : ''); ?>>3 Second</option> |
| 406 |
</select> |
| 407 |
<label for="wpbot_preloading_time', 'wpbot' ); ?> "><?php echo esc_html__('Bot Response Delay', 'wpbot'); ?> </label> |
| 408 |
</div> |
| 409 |
</div> |
| 410 |
</div> |
| 411 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 412 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 413 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 414 |
<?php esc_html_e('Override WPBot Icon\'s Position', 'wpbot'); ?> |
| 415 |
</h4> |
| 416 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 417 |
<?php |
| 418 |
$qcld_wb_chatbot_position_x = get_option('wp_chatbot_position_x'); |
| 419 |
if ((!isset($qcld_wb_chatbot_position_x)) || ($qcld_wb_chatbot_position_x == "")) { |
| 420 |
$qcld_wb_chatbot_position_x = __("120", "wp_chatbot"); |
| 421 |
} |
| 422 |
$qcld_wb_chatbot_position_y = get_option('wp_chatbot_position_y'); |
| 423 |
if ((!isset($qcld_wb_chatbot_position_y)) || ($qcld_wb_chatbot_position_y == "")) { |
| 424 |
$qcld_wb_chatbot_position_y = __("120", "wp_chatbot"); |
| 425 |
} ?> |
| 426 |
<input type="number" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> " |
| 427 |
name="wp_chatbot_position_x" |
| 428 |
value="<?php echo($qcld_wb_chatbot_position_x); ?>" |
| 429 |
placeholder="<?php esc_html_e('From Right In px', 'wpbot'); ?>"> |
| 430 |
<span class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> |
| 431 |
<?php esc_html_e('From Right In px', 'wpbot'); ?> |
| 432 |
</span> |
| 433 |
<input type="number" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?>" |
| 434 |
name="wp_chatbot_position_y" |
| 435 |
value="<?php echo($qcld_wb_chatbot_position_y); ?>" |
| 436 |
placeholder="<?php esc_html_e('From Bottom In Px', 'wpbot'); ?> "> |
| 437 |
<span class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> |
| 438 |
<?php esc_html_e('From Bottom In px', 'wpbot'); ?> |
| 439 |
</span> </div> |
| 440 |
</div> |
| 441 |
<!--.col-sm-12--> |
| 442 |
</div> |
| 443 |
<!-- row--> |
| 444 |
|
| 445 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 446 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 447 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong> |
| 448 |
<?php esc_html_e('WPBot', 'wpbot'); ?> |
| 449 |
</strong> |
| 450 |
<?php esc_html_e('Loading Control Options', 'wpbot'); ?> |
| 451 |
</h4> |
| 452 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 453 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 454 |
<div class="<?php esc_attr_e( 'col-sm-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> "> |
| 455 |
<?php esc_html_e('Show on Home Page', 'wpbot'); ?> |
| 456 |
</span> </div> |
| 457 |
<div class="<?php esc_attr_e( 'col-sm-8', 'wpbot' ); ?> "> |
| 458 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 459 |
<input id="<?php esc_attr_e( 'wp-chatbot-show-home-page', 'wpbot' ); ?>" type="radio" |
| 460 |
name="wp_chatbot_show_home_page" |
| 461 |
value="on" <?php echo(get_option('wp_chatbot_show_home_page') == 'on' ? 'checked' : ''); ?>> |
| 462 |
<?php esc_html_e('YES', 'wpbot'); ?> |
| 463 |
</label> |
| 464 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 465 |
<input id="<?php esc_attr_e( 'wp-chatbot-show-home-page', 'wpbot' ); ?>" type="radio" |
| 466 |
name="wp_chatbot_show_home_page" |
| 467 |
value="off" <?php echo(get_option('wp_chatbot_show_home_page') == 'off' ? 'checked' : ''); ?>> |
| 468 |
<?php esc_html_e('NO', 'wpbot'); ?> |
| 469 |
</label> |
| 470 |
</div> |
| 471 |
</div> |
| 472 |
<!-- row--> |
| 473 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 474 |
<div class="<?php esc_attr_e( 'col-sm-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> "> |
| 475 |
<?php esc_html_e('Show on blog posts', 'wpbot'); ?> |
| 476 |
</span> </div> |
| 477 |
<div class="<?php esc_attr_e( 'col-sm-8', 'wpbot' ); ?> "> |
| 478 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 479 |
<input class="<?php esc_attr_e( 'wp-chatbot-show-posts', 'wpbot'); ?>" type="radio" |
| 480 |
name="wp_chatbot_show_posts" |
| 481 |
value="on" <?php echo(get_option('wp_chatbot_show_posts') == 'on' ? 'checked' : ''); ?>> |
| 482 |
<?php esc_html_e('YES', 'wpbot'); ?> |
| 483 |
</label> |
| 484 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 485 |
<input class="<?php esc_attr_e( 'wp-chatbot-show-posts', 'wpbot'); ?>" type="radio" |
| 486 |
name="wp_chatbot_show_posts" |
| 487 |
value="off" <?php echo(get_option('wp_chatbot_show_posts') == 'off' ? 'checked' : ''); ?>> |
| 488 |
<?php esc_html_e('NO', 'wpbot'); ?> |
| 489 |
</label> |
| 490 |
</div> |
| 491 |
</div> |
| 492 |
<!-- row--> |
| 493 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 494 |
<div class="<?php esc_attr_e( 'col-md-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> "> |
| 495 |
<?php esc_html_e('Show on pages', 'wpbot'); ?> |
| 496 |
</span> </div> |
| 497 |
<div class="<?php esc_attr_e( 'col-md-8', 'wpbot' ); ?> "> |
| 498 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 499 |
<input class="<?php esc_attr_e( 'wp-chatbot-show-pages ', 'wpbot'); ?>" type="radio" |
| 500 |
name="wp_chatbot_show_pages" |
| 501 |
value="on" <?php echo(get_option('wp_chatbot_show_pages') == 'on' ? 'checked' : ''); ?>> |
| 502 |
<?php esc_html_e('All Pages', 'wpbot'); ?> |
| 503 |
</label> |
| 504 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 505 |
<input class="<?php esc_attr_e( 'wp-chatbot-show-pages', 'wpbot'); ?>" type="radio" |
| 506 |
name="wp_chatbot_show_pages" |
| 507 |
value="off" <?php echo(get_option('wp_chatbot_show_pages') == 'off' ? 'checked' : ''); ?>> |
| 508 |
<?php esc_html_e('Selected Pages Only ', 'wpbot'); ?> |
| 509 |
</label> |
| 510 |
<div id="<?php esc_attr_e( 'wp-chatbot-show-pages-list', 'wpbot' ); ?> "> |
| 511 |
<ul class="<?php esc_attr_e( 'checkbox-list', 'wpbot' ); ?> "> |
| 512 |
<?php |
| 513 |
$wp_chatbot_pages = get_pages(); |
| 514 |
$wp_chatbot_select_pages = unserialize(get_option('wp_chatbot_show_pages_list')); |
| 515 |
foreach ($wp_chatbot_pages as $wp_chatbot_page) { |
| 516 |
?> |
| 517 |
<li> |
| 518 |
<input id="<?php esc_attr_e( 'wp_chatbot_show_page_'. $wp_chatbot_page->ID, 'wpbot' ); ?>" |
| 519 |
type="checkbox" |
| 520 |
name="wp_chatbot_show_pages_list[]" |
| 521 |
value="<?php echo $wp_chatbot_page->ID; ?>" <?php if (!empty($wp_chatbot_select_pages) && in_array($wp_chatbot_page->ID, $wp_chatbot_select_pages) == true) { |
| 522 |
echo 'checked'; |
| 523 |
} ?> > |
| 524 |
<label for="wp_chatbot_show_page_<?php echo $wp_chatbot_page->ID; ?>"> <?php echo $wp_chatbot_page->post_title; ?></label> |
| 525 |
</li> |
| 526 |
<?php } ?> |
| 527 |
</ul> |
| 528 |
</div> |
| 529 |
</div> |
| 530 |
</div> |
| 531 |
<!--row--> |
| 532 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 533 |
<div class="<?php esc_attr_e( 'col-sm-4 text-right', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> "> |
| 534 |
<?php _e('Exclude from Custom Post', 'wpbot'); ?> |
| 535 |
</span></div> |
| 536 |
<div class="<?php esc_attr_e( 'col-sm-8', 'wpbot' ); ?> "> |
| 537 |
<div id="<?php esc_attr_e( 'wp-chatbot-exclude-post-list', 'wpbot' ); ?> "> |
| 538 |
<ul class="<?php esc_attr_e( 'checkbox-list', 'wpbot' ); ?> "> |
| 539 |
<?php |
| 540 |
$get_cpt_args = array( |
| 541 |
'public' => true, |
| 542 |
'_builtin' => false |
| 543 |
); |
| 544 |
|
| 545 |
$post_types = get_post_types( $get_cpt_args, 'object' ); |
| 546 |
$wp_chatbot_exclude_post_list = maybe_unserialize(get_option('wp_chatbot_exclude_post_list')); |
| 547 |
|
| 548 |
foreach ($post_types as $post_type) { |
| 549 |
?> |
| 550 |
<li> |
| 551 |
<input |
| 552 |
id="<?php esc_attr_e( 'wp_chatbot_exclude_post_'. $post_type->name, 'wpbot' ); ?>" |
| 553 |
type="checkbox" |
| 554 |
name="wp_chatbot_exclude_post_list[]" |
| 555 |
value="<?php echo $post_type->name; ?>" <?php if (!empty($wp_chatbot_exclude_post_list) && in_array($post_type->name, $wp_chatbot_exclude_post_list) == true) { |
| 556 |
echo 'checked'; |
| 557 |
} ?> > |
| 558 |
<label |
| 559 |
for="wp_chatbot_exclude_post_<?php echo $post_type->name; ?> "> <?php echo $post_type->name; ?></label> |
| 560 |
</li> |
| 561 |
<?php } ?> |
| 562 |
</ul> |
| 563 |
</div> |
| 564 |
</div> |
| 565 |
</div> |
| 566 |
</div> |
| 567 |
<!-- cxsc-settings-blocks--> |
| 568 |
</div> |
| 569 |
<!-- col-xs-12--> |
| 570 |
</div> |
| 571 |
<!-- row--> |
| 572 |
|
| 573 |
</div> |
| 574 |
<!-- top-section--> |
| 575 |
</section> |
| 576 |
<section id="<?php esc_attr_e( 'section-flip-3', 'wpbot' ); ?> "> |
| 577 |
<ul class="<?php esc_attr_e( 'nav nav-tabs', 'wpbot' ); ?> "> |
| 578 |
<li class="<?php esc_attr_e( 'active', 'wpbot' ); ?> "><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-icon-theme-settings', 'wpbot' ); ?> "><?php echo esc_html__('Icons & Themes', 'wpbot'); ?></a></li> |
| 579 |
<li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-custom-color-options', 'wpbot' ); ?> "><?php echo esc_html__('Custom Style Options', 'wpbot'); ?></a></li> |
| 580 |
</ul> |
| 581 |
<div class="<?php esc_attr_e( 'tab-content', 'wpbot' ); ?> "> |
| 582 |
<div id="<?php esc_attr_e( 'wp-chatbot-icon-theme-settings', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade in active', 'wpbot' ); ?> "> |
| 583 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 584 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 585 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 586 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 587 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 588 |
<p class="<?php esc_attr_e( 'wpqcld_chk_seft', 'wpbot' ); ?> "> <a target="_blank" href="https://www.quantumcloud.com/products/themes/chatbot-theme/', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL ?>/chatbot-theme.jpg" alt="" /></a> </p> |
| 589 |
</div> |
| 590 |
</div> |
| 591 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 592 |
<?php esc_html_e('WPBot Icon', 'wpbot'); ?> |
| 593 |
</h4> |
| 594 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 595 |
<ul class="<?php esc_attr_e( 'radio-list', 'wpbot' ); ?> "> |
| 596 |
<!--<li><label for="wp_chatbot_icon_0" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-0.png" |
| 597 |
alt="', 'wpbot' ); ?> "> <input id="<?php esc_attr_e( 'wp_chatbot_icon_0', 'wpbot' ); ?>" type="radio" |
| 598 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-0.png' ? 'checked' : ''); ?> |
| 599 |
value="icon-0.png', 'wpbot' ); ?> "> |
| 600 |
<?php esc_html_e('Icon - 0', 'wpbot'); ?></label> |
| 601 |
</li> |
| 602 |
<li><label for="wp_chatbot_icon_1" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-1.png" |
| 603 |
alt="', 'wpbot' ); ?> "> <input id="<?php esc_attr_e( 'wp_chatbot_icon_1', 'wpbot' ); ?>" type="radio" |
| 604 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-1.png' ? 'checked' : ''); ?> |
| 605 |
value="icon-1.png', 'wpbot' ); ?> "> |
| 606 |
<?php esc_html_e('Icon - 1', 'wpbot'); ?></label> |
| 607 |
</li>--> |
| 608 |
<li> |
| 609 |
<label for="wp_chatbot_icon_2" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-2.png" |
| 610 |
alt=""> |
| 611 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_2', 'wpbot' ); ?>" type="radio" |
| 612 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-2.png' ? 'checked' : ''); ?> |
| 613 |
value="icon-2.png"> |
| 614 |
<?php esc_html_e('Icon - 2', 'wpbot'); ?> |
| 615 |
</label> |
| 616 |
</li> |
| 617 |
<li> |
| 618 |
<label for="wp_chatbot_icon_3" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-3.png" |
| 619 |
alt=""> |
| 620 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_3', 'wpbot' ); ?>" type="radio" |
| 621 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-3.png' ? 'checked' : ''); ?> |
| 622 |
value="icon-3.png"> |
| 623 |
<?php esc_html_e('Icon - 3', 'wpbot'); ?> |
| 624 |
</label> |
| 625 |
</li> |
| 626 |
<li> |
| 627 |
<label for="wp_chatbot_icon_4" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-4.png" |
| 628 |
alt="' "> |
| 629 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_4', 'wpbot' ); ?>" type="radio" |
| 630 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-4.png' ? 'checked' : ''); ?> |
| 631 |
value="icon-4.png"> |
| 632 |
<?php esc_html_e('Icon - 4', 'wpbot'); ?> |
| 633 |
</label> |
| 634 |
</li> |
| 635 |
<li> |
| 636 |
<label for="wp_chatbot_icon_5" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-5.png" |
| 637 |
alt=""> |
| 638 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_5', 'wpbot' ); ?>" type="radio" |
| 639 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-5.png' ? 'checked' : ''); ?> |
| 640 |
value="icon-5.png"> |
| 641 |
<?php esc_html_e('Icon - 5', 'wpbot'); ?> |
| 642 |
</label> |
| 643 |
</li> |
| 644 |
<li> |
| 645 |
<label for="wp_chatbot_icon_6" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-6.png" |
| 646 |
alt=" "> |
| 647 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_6', 'wpbot' ); ?>" type="radio" |
| 648 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-6.png' ? 'checked' : ''); ?> |
| 649 |
value="icon-6.png"> |
| 650 |
<?php esc_html_e('Icon - 6', 'wpbot'); ?> |
| 651 |
</label> |
| 652 |
</li> |
| 653 |
<li> |
| 654 |
<label for="wp_chatbot_icon_7" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-7.png" |
| 655 |
alt=" "> |
| 656 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_7', 'wpbot' ); ?>" type="radio" |
| 657 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-7.png' ? 'checked' : ''); ?> |
| 658 |
value="icon-7.png"> |
| 659 |
<?php esc_html_e('Icon - 7', 'wpbot'); ?> |
| 660 |
</label> |
| 661 |
</li> |
| 662 |
<li> |
| 663 |
<label for="wp_chatbot_icon_8" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-8.png" |
| 664 |
alt=""> |
| 665 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_8', 'wpbot' ); ?>" type="radio" |
| 666 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-8.png' ? 'checked' : ''); ?> |
| 667 |
value="icon-8.png"> |
| 668 |
<?php esc_html_e('Icon - 8', 'wpbot'); ?> |
| 669 |
</label> |
| 670 |
</li> |
| 671 |
<li> |
| 672 |
<label for="wp_chatbot_icon_9" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-9.png" |
| 673 |
alt=" "> |
| 674 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_9', 'wpbot' ); ?>" type="radio" |
| 675 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-9.png' ? 'checked' : ''); ?> |
| 676 |
value="icon-9.png"> |
| 677 |
<?php esc_html_e('Icon - 9', 'wpbot'); ?> |
| 678 |
</label> |
| 679 |
</li> |
| 680 |
<li> |
| 681 |
<label for="wp_chatbot_icon_10" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-10.png" |
| 682 |
alt=" "> |
| 683 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_10', 'wpbot' ); ?>" type="radio" |
| 684 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-10.png' ? 'checked' : ''); ?> |
| 685 |
value="icon-10.png"> |
| 686 |
<?php esc_html_e('Icon - 10', 'wpbot'); ?> |
| 687 |
</label> |
| 688 |
</li> |
| 689 |
<li> |
| 690 |
<label for="wp_chatbot_icon_11" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-11.png" |
| 691 |
alt=""> |
| 692 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_11', 'wpbot' ); ?>" type="radio" |
| 693 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-11.png' ? 'checked' : ''); ?> |
| 694 |
value="icon-11.png"> |
| 695 |
<?php esc_html_e('Icon - 11', 'wpbot'); ?> |
| 696 |
</label> |
| 697 |
</li> |
| 698 |
<li> |
| 699 |
<label for="wp_chatbot_icon_12" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-12.png" |
| 700 |
alt=""> |
| 701 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_12', 'wpbot' ); ?>" type="radio" |
| 702 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-12.png' ? 'checked' : ''); ?> |
| 703 |
value="icon-12.png"> |
| 704 |
<?php esc_html_e('Icon - 12', 'wpbot'); ?> |
| 705 |
</label> |
| 706 |
</li> |
| 707 |
<li> |
| 708 |
<label for="wp_chatbot_icon_13" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>/icon-13.png" alt=""> |
| 709 |
<input id="<?php esc_attr_e( 'wp_chatbot_icon_13', 'wpbot' ); ?>" type="radio" |
| 710 |
name="wp_chatbot_icon" <?php echo(get_option('wp_chatbot_icon') == 'icon-13.png' ? 'checked' : ''); ?> |
| 711 |
value="icon-13.png"> |
| 712 |
<?php esc_html_e('Icon - 13', 'wpbot'); ?> |
| 713 |
</label> |
| 714 |
</li> |
| 715 |
<li> |
| 716 |
<?php |
| 717 |
if (get_option('wp_chatbot_custom_icon_path') != "") { |
| 718 |
$wp_chatbot_custom_icon_path = get_option('wp_chatbot_custom_icon_path'); |
| 719 |
} else { |
| 720 |
$wp_chatbot_custom_icon_path = QCLD_wpCHATBOT_IMG_URL . 'custom.png'; |
| 721 |
} |
| 722 |
?> |
| 723 |
<label for="<?php esc_attr_e( 'wp_chatbot_custom_icon_input', 'wpbot' ); ?>" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> <img id="<?php esc_attr_e( 'wp_chatbot_custom_icon_src ', 'wpbot' ); ?>" |
| 724 |
src="<?php echo $wp_chatbot_custom_icon_path; ?>" alt="', 'wpbot' ); ?> "> |
| 725 |
<input id="<?php esc_attr_e( 'wp_chatbot_custom_icon_input', 'wpbot' ); ?>" type="radio" |
| 726 |
name="wp_chatbot_icon" |
| 727 |
value="custom.png" <?php echo(get_option('wp_chatbot_icon') == 'custom.png' ? 'checked' : ''); ?>> |
| 728 |
<?php esc_html_e('Custom Icon', 'wpbot'); ?> |
| 729 |
</label> |
| 730 |
</li> |
| 731 |
</ul> |
| 732 |
</div> |
| 733 |
<!-- cxsc-settings-blocks--> |
| 734 |
<br> |
| 735 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 736 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 737 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 738 |
<?php _e('WPBot Icon Background Color.', 'woochatbot'); ?> |
| 739 |
</h4> |
| 740 |
<input id="<?php esc_attr_e( 'wp_chatbot_floatingiconbg_color', 'wpbot' ); ?>" type="text" |
| 741 |
name="wp_chatbot_floatingiconbg_color" |
| 742 |
value="<?php echo(get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color') : '#fff'); ?>"/> |
| 743 |
</div> |
| 744 |
</div> |
| 745 |
</div> |
| 746 |
</div> |
| 747 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 748 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 749 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 750 |
<?php esc_html_e(' Upload custom Icon ', 'wpbot'); ?> |
| 751 |
</h4> |
| 752 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 753 |
<input type="hidden" name="wp_chatbot_custom_icon_path" |
| 754 |
id="<?php esc_attr_e( 'wp_chatbot_custom_icon_path', 'wpbot' ); ?>" |
| 755 |
value="<?php echo $wp_chatbot_custom_icon_path; ?>"/> |
| 756 |
<button type="button" class="<?php esc_attr_e( 'wp_chatbot_custom_icon_button button', 'wpbot' ); ?> "> |
| 757 |
<?php esc_html_e('Upload Icon', 'wpbot'); ?> |
| 758 |
</button> |
| 759 |
</div> |
| 760 |
</div> |
| 761 |
</div> |
| 762 |
</div> |
| 763 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 764 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 765 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 766 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 767 |
<?php esc_html_e(' WPBot Agent Image', 'wpbot'); ?> |
| 768 |
</h4> |
| 769 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 770 |
<ul class="<?php esc_attr_e( 'radio-list', 'wpbot' ); ?> "> |
| 771 |
<li> |
| 772 |
<label for="wp_chatbot_agent_image_def" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> <img src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>icon-0.png" |
| 773 |
alt="', 'wpbot' ); ?> "> |
| 774 |
<input id="<?php esc_attr_e( 'wp_chatbot_agent_image_def', 'wpbot' ); ?>" type="radio" |
| 775 |
name="wp_chatbot_agent_image" <?php echo(get_option('wp_chatbot_agent_image') == 'agent-0.png' ? 'checked' : ''); ?> |
| 776 |
value="agent-0.png', 'wpbot' ); ?> "> |
| 777 |
<?php esc_html_e('Default Agent', 'wpbot'); ?> |
| 778 |
</label> |
| 779 |
</li> |
| 780 |
<li> |
| 781 |
<?php |
| 782 |
if (get_option('wp_chatbot_custom_agent_path') != "") { |
| 783 |
$wp_chatbot_custom_agent_path = get_option('wp_chatbot_custom_agent_path'); |
| 784 |
} else { |
| 785 |
$wp_chatbot_custom_agent_path = QCLD_wpCHATBOT_IMG_URL . 'custom-agent.png'; |
| 786 |
} |
| 787 |
?> |
| 788 |
<label for="wp_chatbot_agent_image_custom" class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> <img id="<?php esc_attr_e( 'wp_chatbot_custom_agent_src', 'wpbot' ); ?>" |
| 789 |
src="<?php echo esc_url($wp_chatbot_custom_agent_path); ?>" |
| 790 |
alt="Agent', 'wpbot' ); ?> "> |
| 791 |
<input type="radio" name="wp_chatbot_agent_image" |
| 792 |
id="<?php esc_attr_e( 'wp_chatbot_agent_image_custom', 'wpbot' ); ?>" |
| 793 |
value="custom-agent.png" <?php echo(get_option('wp_chatbot_agent_image') == 'custom-agent.png' ? 'checked' : ''); ?>> |
| 794 |
<?php echo esc_html__('Custom Agent', 'wpbot'); ?></label> |
| 795 |
</li> |
| 796 |
</ul> |
| 797 |
</div> |
| 798 |
<!-- cxsc-settings-blocks--> |
| 799 |
</div> |
| 800 |
</div> |
| 801 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 802 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 803 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 804 |
<?php esc_html_e('Custom Agent Icon', 'wpbot'); ?> |
| 805 |
</h4> |
| 806 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 807 |
<input type="hidden" name="wp_chatbot_custom_agent_path" |
| 808 |
id="<?php esc_attr_e( 'wp_chatbot_custom_agent_path', 'wpbot' ); ?>" |
| 809 |
value="<?php echo $wp_chatbot_custom_agent_path; ?>"/> |
| 810 |
<button type="button" class="<?php esc_attr_e( 'wp_chatbot_custom_agent_button button', 'wpbot' ); ?> "> |
| 811 |
<?php esc_html_e('Upload Agent Icon', 'wpbot'); ?> |
| 812 |
</button> |
| 813 |
</div> |
| 814 |
</div> |
| 815 |
</div> |
| 816 |
</div> |
| 817 |
<div id="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 818 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 819 |
<div class="<?php esc_attr_e( 'col-sm-12', 'wpbot' ); ?> "> |
| 820 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 821 |
<?php esc_html_e('WPBot Themes', 'wpbot'); ?> |
| 822 |
</h4> |
| 823 |
</div> |
| 824 |
</div> |
| 825 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 826 |
<div class="<?php esc_attr_e( 'col-sm-3', 'wpbot' ); ?> "> |
| 827 |
<label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_0', 'wpbot' ); ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev', 'wpbot' ); ?>" |
| 828 |
src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-00.JPG" |
| 829 |
alt="Theme Basic', 'wpbot' ); ?> "> |
| 830 |
<input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_0', 'wpbot' ); ?>" type="radio" |
| 831 |
name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-00' ? 'checked' : ''); ?> |
| 832 |
value="template-00"> |
| 833 |
<?php esc_html_e('Theme Basic', 'wpbot'); ?> |
| 834 |
</label> |
| 835 |
</div> |
| 836 |
<div class="<?php esc_attr_e( 'col-sm-3', 'wpbot' ); ?> "> |
| 837 |
<label for="<?php esc_attr_e( 'qcld_wb_chatbot_theme_1', 'wpbot' ); ?>"> <img class="<?php esc_attr_e( 'thumbnail theme_prev', 'wpbot' ); ?>" |
| 838 |
src="<?php echo QCLD_wpCHATBOT_IMG_URL; ?>templates/template-01.JPG" |
| 839 |
alt="Theme Basic', 'wpbot' ); ?> "> |
| 840 |
<input id="<?php esc_attr_e( 'qcld_wb_chatbot_theme_1', 'wpbot' ); ?>" type="radio" |
| 841 |
name="qcld_wb_chatbot_theme" <?php echo(get_option('qcld_wb_chatbot_theme') == 'template-01' ? 'checked' : ''); ?> |
| 842 |
value="template-01"> |
| 843 |
<?php esc_html_e('Theme One', 'wpbot'); ?> |
| 844 |
</label> |
| 845 |
</div> |
| 846 |
</div> |
| 847 |
</div> |
| 848 |
</div> |
| 849 |
<!--<hr> |
| 850 |
<div id="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 851 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 852 |
<div class="<?php esc_attr_e( 'col-sm-12', 'wpbot' ); ?> "> |
| 853 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> <?php esc_html_e('Custom Backgroud', 'wpbot'); ?></h4> |
| 854 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 855 |
<input value="1" id="<?php esc_attr_e( 'qcld_wb_chatbot_change_bg', 'wpbot' ); ?>" type="checkbox" |
| 856 |
name="qcld_wb_chatbot_change_bg" <?php echo(get_option('qcld_wb_chatbot_change_bg') == 1 ? 'checked' : ''); ?>> |
| 857 |
<label for="qcld_wb_chatbot_change_bg', 'wpbot' ); ?> "><?php esc_html_e('Change the wpwBot message board background for Theme 2 and Theme 3.', 'wpbot'); ?> </label> |
| 858 |
</div> |
| 859 |
</div> |
| 860 |
</div> |
| 861 |
<div class="<?php esc_attr_e( 'row qcld-wp-chatbot-board-bg-container', 'wpbot'); ?>" <?php if (get_option('qcld_wb_chatbot_change_bg') != 1) { |
| 862 |
echo 'style="display:none"'; |
| 863 |
} ?>> |
| 864 |
<div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?> "> |
| 865 |
<p class="<?php esc_attr_e( 'wp-chatbot-settings-instruction', 'wpbot' ); ?> "> <?php esc_html_e('Upload wpwBot message board background (Ideal image size 376px X 688px).', 'wpbot'); ?> </p> |
| 866 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 867 |
<?php |
| 868 |
if (get_option('qcld_wb_chatbot_board_bg_path') != "") { |
| 869 |
$qcld_wb_chatbot_board_bg_path = get_option('qcld_wb_chatbot_board_bg_path'); |
| 870 |
} else { |
| 871 |
$qcld_wb_chatbot_board_bg_path = QCLD_wpCHATBOT_IMG_URL . 'background/background.png'; |
| 872 |
} |
| 873 |
?> |
| 874 |
<input type="hidden" name="qcld_wb_chatbot_board_bg_path" |
| 875 |
id="<?php esc_attr_e( 'qcld_wb_chatbot_board_bg_path', 'wpbot' ); ?>" |
| 876 |
value="<?php echo $qcld_wb_chatbot_board_bg_path; ?>"/> |
| 877 |
<button type="button" class="<?php esc_attr_e( 'qcld_wb_chatbot_board_bg_button button', 'wpbot' ); ?> "><?php esc_html_e('Upload WpBot background.', 'wpbot'); ?></button> |
| 878 |
</div> |
| 879 |
</div> |
| 880 |
|
| 881 |
<div class="<?php esc_attr_e( 'col-xs-6', 'wpbot' ); ?> "> |
| 882 |
<p class="<?php esc_attr_e( 'wp-chatbot-settings-instruction', 'wpbot' ); ?> "> <?php esc_html_e('Custom message board background', 'wpbot'); ?> </p> |
| 883 |
<img id="<?php esc_attr_e( 'qcld_wb_chatbot_board_bg_image" style="height:100%;width:100%" |
| 884 |
src="<?php echo $qcld_wb_chatbot_board_bg_path; ?>" |
| 885 |
alt="Custom Background', 'wpbot' ); ?> "> |
| 886 |
</div> |
| 887 |
</div> |
| 888 |
</div>--> |
| 889 |
|
| 890 |
<div id="<?php esc_attr_e( 'wp-chatbot-custom-color-options', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade', 'wpbot' ); ?> "> |
| 891 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 892 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 893 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 894 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 895 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 896 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 897 |
<?php _e('Bot Floating Icon Background Color.', 'woochatbot'); ?> |
| 898 |
</h4> |
| 899 |
<input id="<?php esc_attr_e( 'wp_chatbot_floatingiconbg_color', 'wpbot' ); ?>" type="text" |
| 900 |
name="wp_chatbot_floatingiconbg_color" |
| 901 |
value="<?php echo(get_option('wp_chatbot_floatingiconbg_color') != '' ? get_option('wp_chatbot_floatingiconbg_color') : '#fff'); ?>"/> |
| 902 |
</div> |
| 903 |
</div> |
| 904 |
<h3 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 905 |
<?php _e('Custom Style Options', 'woochatbot'); ?> |
| 906 |
</h3> |
| 907 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 908 |
<input value="1" id="<?php esc_attr_e( 'enable_wp_chatbot_custom_color', 'wpbot' ); ?>" type="checkbox" |
| 909 |
name="enable_wp_chatbot_custom_color" <?php echo(get_option('enable_wp_chatbot_custom_color') == 1 ? 'checked' : ''); ?>> |
| 910 |
<label for="<?php esc_attr_e( 'enable_wp_chatbot_custom_color', 'wpbot' ); ?>"> |
| 911 |
<?php _e('Enable Style Colors ', 'woochatbot'); ?> |
| 912 |
</label> |
| 913 |
</div> |
| 914 |
<br> |
| 915 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 916 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 917 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 918 |
<?php _e('Text Color.', 'woochatbot'); ?> |
| 919 |
</h4> |
| 920 |
<input id="<?php esc_attr_e( 'wp_chatbot_text_color', 'wpbot' ); ?>" type="text" |
| 921 |
name="wp_chatbot_text_color" |
| 922 |
value="<?php echo(get_option('wp_chatbot_text_color') != '' ? get_option('wp_chatbot_text_color') : '#37424c'); ?>"/> |
| 923 |
</div> |
| 924 |
</div> |
| 925 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 926 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 927 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 928 |
<?php _e('Link Color.', 'woochatbot'); ?> |
| 929 |
</h4> |
| 930 |
<input id="<?php esc_attr_e( 'wp_chatbot_link_color', 'wpbot' ); ?>" type="text" |
| 931 |
name="wp_chatbot_link_color" |
| 932 |
value="<?php echo(get_option('wp_chatbot_link_color') != '' ? get_option('wp_chatbot_link_color') : '#e2cc1f'); ?>"/> |
| 933 |
</div> |
| 934 |
</div> |
| 935 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 936 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 937 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 938 |
<?php _e('Link Hover Color.', 'woochatbot'); ?> |
| 939 |
</h4> |
| 940 |
<input id="<?php esc_attr_e( 'wp_chatbot_link_hover_color', 'wpbot' ); ?>" type="text" |
| 941 |
name="wp_chatbot_link_hover_color" |
| 942 |
value="<?php echo(get_option('wp_chatbot_link_hover_color') != '' ? get_option('wp_chatbot_link_hover_color') : '#734006'); ?>"/> |
| 943 |
</div> |
| 944 |
</div> |
| 945 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 946 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 947 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 948 |
<?php _e('Bot Message Background Color.', 'woochatbot'); ?> |
| 949 |
</h4> |
| 950 |
<input id="<?php esc_attr_e( 'wp_chatbot_bot_msg_bg_color', 'wpbot' ); ?>" type="text" |
| 951 |
name="wp_chatbot_bot_msg_bg_color" |
| 952 |
value="<?php echo(get_option('wp_chatbot_bot_msg_bg_color') != '' ? get_option('wp_chatbot_bot_msg_bg_color') : '#1f8ceb'); ?>"/> |
| 953 |
</div> |
| 954 |
</div> |
| 955 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 956 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 957 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 958 |
<?php _e('Bot Message Text Color.', 'woochatbot'); ?> |
| 959 |
</h4> |
| 960 |
<input id="<?php esc_attr_e( 'wp_chatbot_bot_msg_text_color', 'wpbot' ); ?>" type="text" |
| 961 |
name="wp_chatbot_bot_msg_text_color" |
| 962 |
value="<?php echo(get_option('wp_chatbot_bot_msg_text_color') != '' ? get_option('wp_chatbot_bot_msg_text_color') : '#ffffff'); ?>"/> |
| 963 |
</div> |
| 964 |
</div> |
| 965 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 966 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 967 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 968 |
<?php _e('User Message Background Color.', 'woochatbot'); ?> |
| 969 |
</h4> |
| 970 |
<input id="<?php esc_attr_e( 'wp_chatbot_user_msg_bg_color', 'wpbot' ); ?>" type="text" |
| 971 |
name="wp_chatbot_user_msg_bg_color" |
| 972 |
value="<?php echo(get_option('wp_chatbot_user_msg_bg_color') != '' ? get_option('wp_chatbot_user_msg_bg_color') : '#ffffff'); ?>"/> |
| 973 |
</div> |
| 974 |
</div> |
| 975 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 976 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 977 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 978 |
<?php _e('User Message Text Color.', 'woochatbot'); ?> |
| 979 |
</h4> |
| 980 |
<input id="<?php esc_attr_e( 'wp_chatbot_user_msg_text_color', 'wpbot' ); ?>" type="text" |
| 981 |
name="wp_chatbot_user_msg_text_color" |
| 982 |
value="<?php echo(get_option('wp_chatbot_user_msg_text_color') != '' ? get_option('wp_chatbot_user_msg_text_color') : '#000000'); ?>"/> |
| 983 |
</div> |
| 984 |
</div> |
| 985 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 986 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 987 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 988 |
<?php _e('Buttons Background Color.', 'woochatbot'); ?> |
| 989 |
</h4> |
| 990 |
<input id="<?php esc_attr_e( 'wp_chatbot_buttons_bg_color', 'wpbot' ); ?>" type="text" |
| 991 |
name="wp_chatbot_buttons_bg_color" |
| 992 |
value="<?php echo(get_option('wp_chatbot_buttons_bg_color') != '' ? get_option('wp_chatbot_buttons_bg_color') : '#1f8ceb'); ?>"/> |
| 993 |
</div> |
| 994 |
</div> |
| 995 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 996 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 997 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 998 |
<?php _e('Buttons Hover Background Color.', 'woochatbot'); ?> |
| 999 |
</h4> |
| 1000 |
<input id="<?php esc_attr_e( 'wp_chatbot_buttons_bg_color', 'wpbot' ); ?>" type="text" |
| 1001 |
name="wp_chatbot_buttons_bg_color_hover" |
| 1002 |
value="<?php echo(get_option('wp_chatbot_buttons_bg_color_hover') != '' ? get_option('wp_chatbot_buttons_bg_color_hover') : '#1f8ceb'); ?>"/> |
| 1003 |
</div> |
| 1004 |
</div> |
| 1005 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1006 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1007 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1008 |
<?php _e('Buttons Text Color.', 'woochatbot'); ?> |
| 1009 |
</h4> |
| 1010 |
<input id="<?php esc_attr_e( 'wp_chatbot_buttons_text_color', 'wpbot' ); ?>" type="text" |
| 1011 |
name="wp_chatbot_buttons_text_color" |
| 1012 |
value="<?php echo(get_option('wp_chatbot_buttons_text_color') != '' ? get_option('wp_chatbot_buttons_text_color') : '#ffffff'); ?>"/> |
| 1013 |
</div> |
| 1014 |
</div> |
| 1015 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1016 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1017 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1018 |
<?php _e('Buttons Text Color Hover.', 'woochatbot'); ?> |
| 1019 |
</h4> |
| 1020 |
<input id="<?php esc_attr_e( 'wp_chatbot_buttons_text_color', 'wpbot' ); ?>" type="text" |
| 1021 |
name="wp_chatbot_buttons_text_color_hover" |
| 1022 |
value="<?php echo(get_option('wp_chatbot_buttons_text_color_hover') != '' ? get_option('wp_chatbot_buttons_text_color_hover') : '#ffffff'); ?>"/> |
| 1023 |
</div> |
| 1024 |
</div> |
| 1025 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1026 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1027 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1028 |
<?php _e('Header background Color', 'woochatbot'); ?> |
| 1029 |
</h4> |
| 1030 |
<input id="<?php esc_attr_e( 'wp_chatbot_header_background_color', 'wpbot' ); ?>" type="text" |
| 1031 |
name="wp_chatbot_header_background_color" |
| 1032 |
value="<?php echo(get_option('wp_chatbot_header_background_color') != '' ? get_option('wp_chatbot_header_background_color') : '#ffffff'); ?>"/> |
| 1033 |
</div> |
| 1034 |
</div> |
| 1035 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1036 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1037 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1038 |
<?php _e('Theme Primary Color', 'woochatbot'); ?> |
| 1039 |
</h4> |
| 1040 |
<input id="<?php esc_attr_e( 'wp_chatbot_theme_primary_color', 'wpbot' ); ?>" type="text" |
| 1041 |
name="wp_chatbot_theme_primary_color" |
| 1042 |
value="<?php echo(get_option('wp_chatbot_theme_primary_color') != '' ? get_option('wp_chatbot_theme_primary_color') : '#ffffff'); ?>"/> |
| 1043 |
</div> |
| 1044 |
</div> |
| 1045 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1046 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1047 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1048 |
<?php _e('Theme Secondary Color', 'woochatbot'); ?> |
| 1049 |
</h4> |
| 1050 |
<input id="<?php esc_attr_e( 'wp_chatbot_theme_secondary_color', 'wpbot' ); ?>" type="text" |
| 1051 |
name="wp_chatbot_theme_secondary_color" |
| 1052 |
value="<?php echo(get_option('wp_chatbot_theme_secondary_color') != '' ? get_option('wp_chatbot_theme_secondary_color') : '#ffffff'); ?>"/> |
| 1053 |
</div> |
| 1054 |
</div> |
| 1055 |
<div class="cxsc-settings-blocks"> |
| 1056 |
<div class="form-group"> |
| 1057 |
<h4 class="qc-opt-title"> |
| 1058 |
<?php _e('Font size', 'woochatbot'); ?> |
| 1059 |
</h4> |
| 1060 |
<input id="wp_chatbot_font_size" type="number" |
| 1061 |
name="wp_chatbot_font_size" |
| 1062 |
value="<?php echo(get_option('wp_chatbot_font_size') != '' ? get_option('wp_chatbot_font_size') : '16'); ?>"/> |
| 1063 |
</div> |
| 1064 |
</div> |
| 1065 |
<div class="cxsc-settings-blocks"> |
| 1066 |
<div class="form-group"> |
| 1067 |
<h4 class="qc-opt-title"> |
| 1068 |
<?php |
| 1069 |
_e('User message Font family ', 'woochatbot'); |
| 1070 |
$user_font = get_option('wp_chat_user_font_family') != '' ? get_option('wp_chat_user_font_family') : ''; |
| 1071 |
$user_font_family = str_replace("\\", "",$user_font); |
| 1072 |
?> |
| 1073 |
</h4> |
| 1074 |
<input id="wp_chatbot_user_font" type="text" name="wp_chatbot_user_font" |
| 1075 |
value="<?php echo(get_option('wp_chatbot_user_font') != '' ? get_option('wp_chatbot_user_font') : '');?>"> |
| 1076 |
<input id="wp_chat_user_font_family" type="hidden" |
| 1077 |
name="wp_chat_user_font_family" |
| 1078 |
/> |
| 1079 |
</div> |
| 1080 |
</div> |
| 1081 |
<div class="cxsc-settings-blocks"> |
| 1082 |
<div class="form-group"> |
| 1083 |
<h4 class="qc-opt-title"> |
| 1084 |
<?php |
| 1085 |
_e('Bot message Font family ', 'woochatbot'); |
| 1086 |
$bot_font = get_option('wp_chat_bot_font_family') != '' ? get_option('wp_chat_bot_font_family') : ''; |
| 1087 |
$bot_font_family = str_replace("\\", "",$bot_font); |
| 1088 |
?> |
| 1089 |
</h4> |
| 1090 |
<input id="wp_chatbot_bot_font" type="text" name="wp_chatbot_bot_font" |
| 1091 |
value="<?php echo(get_option('wp_chatbot_bot_font') != '' ? get_option('wp_chatbot_bot_font') : '');?>"> |
| 1092 |
<input id="wp_chat_bot_font_family" type="hidden" |
| 1093 |
name="wp_chat_bot_font_family" |
| 1094 |
/> |
| 1095 |
</div> |
| 1096 |
</div> |
| 1097 |
<script> |
| 1098 |
jQuery(function ($) { |
| 1099 |
$('#wp_chat_user_font_family').val(JSON.stringify(<?php echo $user_font_family; ?>)); |
| 1100 |
$('#wp_chat_bot_font_family').val(JSON.stringify(<?php echo $bot_font_family; ?>)); |
| 1101 |
$('#wp_chatbot_user_font') |
| 1102 |
.fontpicker() |
| 1103 |
.on('change', function() { |
| 1104 |
var tmp = this.value.split(':'), |
| 1105 |
family = tmp[0], |
| 1106 |
variant = tmp[1] || '400', |
| 1107 |
weight = parseInt(variant,10), |
| 1108 |
italic = /i$/.test(variant); |
| 1109 |
var css = { |
| 1110 |
fontFamily: "'" + family + "'", |
| 1111 |
fontWeight: weight, |
| 1112 |
fontStyle: italic ? 'italic' : 'normal' |
| 1113 |
}; |
| 1114 |
|
| 1115 |
$('#wp_chat_user_font_family').val(JSON.stringify(css)); |
| 1116 |
}); |
| 1117 |
$('#wp_chatbot_bot_font') |
| 1118 |
.fontpicker() |
| 1119 |
.on('change', function() { |
| 1120 |
var tmp = this.value.split(':'), |
| 1121 |
family = tmp[0], |
| 1122 |
variant = tmp[1] || '400', |
| 1123 |
weight = parseInt(variant,10), |
| 1124 |
italic = /i$/.test(variant); |
| 1125 |
|
| 1126 |
// Set selected font on body |
| 1127 |
var css = { |
| 1128 |
fontFamily: "'" + family + "'", |
| 1129 |
fontWeight: weight, |
| 1130 |
fontStyle: italic ? 'italic' : 'normal' |
| 1131 |
}; |
| 1132 |
$('#wp_chat_bot_font_family').val(JSON.stringify(css)); |
| 1133 |
}); |
| 1134 |
}); |
| 1135 |
</script> |
| 1136 |
</div> |
| 1137 |
</div> |
| 1138 |
</div> |
| 1139 |
</div> |
| 1140 |
</div> |
| 1141 |
</section> |
| 1142 |
<section id="<?php esc_attr_e( 'section-flip-4', 'wpbot' ); ?> "> |
| 1143 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1144 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> </div> |
| 1145 |
</div> |
| 1146 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1147 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1148 |
<?php esc_html_e('Build FAQ Query and Answers', 'wpbot'); ?> |
| 1149 |
</h4> |
| 1150 |
<div class="<?php esc_attr_e( 'block-inner ui-sortable', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-support-builder', 'wpbot' ); ?> "> |
| 1151 |
<?php |
| 1152 |
$support_quereis=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_query'))); |
| 1153 |
$support_ans=$this->qcld_wb_chatbot_str_replace(unserialize( get_option('support_ans'))); |
| 1154 |
if (count($support_ans) >= 1) { |
| 1155 |
//foreach (get_option('support_ans') as $support_ans){ |
| 1156 |
$query_ans_counter=0; |
| 1157 |
foreach (array_combine($support_quereis, $support_ans) as $query => $ans) { |
| 1158 |
?> |
| 1159 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> <span class="<?php esc_attr_e( 'pull-right', 'wpbot' ); ?> "> </span> |
| 1160 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1161 |
<button type="button" |
| 1162 |
class="<?php esc_attr_e( 'btn btn-danger btn-sm wp-chatbot-remove-support pull-right', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-times', 'wpbot' ); ?>" aria-hidden="<?php esc_attr_e( 'true', 'wpbot' ); ?> "></i> </button> |
| 1163 |
<span class="<?php esc_attr_e( 'wp-chatbot-support-cross pull-right', 'wpbot'); ?>" > <i class="<?php esc_attr_e( 'fa fa-crosshairs', 'wpbot' ); ?> " aria-hidden="<?php esc_attr_e( 'true', 'wpbot' ); ?> "></i> </span> |
| 1164 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1165 |
<p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> |
| 1166 |
<?php esc_html_e('FAQ query ', 'wpbot'); ?> |
| 1167 |
</p> |
| 1168 |
<input type="text" class="<?php esc_attr_e( 'form-control', 'wpbot'); ?>" name="support_query[]" |
| 1169 |
placeholder="<?php esc_html_e('FAQ query ', 'wpbot'); ?>" value="<?php esc_attr_e( $query, 'wpbot' ); ?> "> |
| 1170 |
<br> |
| 1171 |
<p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> |
| 1172 |
<?php esc_html_e('FAQ answer', 'wpbot'); ?> |
| 1173 |
</p> |
| 1174 |
<?php wp_editor(html_entity_decode(stripcslashes($ans)), 'support_ans'.'_'.$query_ans_counter, array('textarea_name' => |
| 1175 |
'support_ans[]', |
| 1176 |
'textarea_rows' => 20, |
| 1177 |
'editor_height' => 100, |
| 1178 |
'disabled' => 'disabled', |
| 1179 |
'media_buttons' => false, |
| 1180 |
'tinymce' => array( |
| 1181 |
'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',) |
| 1182 |
)); ?> |
| 1183 |
</div> |
| 1184 |
</div> |
| 1185 |
</div> |
| 1186 |
<?php |
| 1187 |
$query_ans_counter++; |
| 1188 |
} |
| 1189 |
//} |
| 1190 |
} else { |
| 1191 |
?> |
| 1192 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1193 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1194 |
<button type="button" |
| 1195 |
class="<?php esc_attr_e( 'btn btn-danger btn-sm wp-chatbot-remove-support pull-right', 'wpbot' ); ?> "> <i class="<?php esc_attr_e( 'fa fa-times" aria-hidden="true', 'wpbot' ); ?> "></i> </button> |
| 1196 |
<span class="<?php esc_attr_e( 'wp-chatbot-support-cross pull-right', 'wpbot'); ?>" > <i class="<?php esc_attr_e( 'fa fa-crosshairs" aria-hidden="true', 'wpbot' ); ?> "></i> </span> |
| 1197 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1198 |
<p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "> |
| 1199 |
<?php esc_html_e('Support query', 'wpbot'); ?> |
| 1200 |
</p> |
| 1201 |
<input type="text" class="<?php esc_attr_e( 'form-control" name="support_query[]', 'wpbot' ); ?>" |
| 1202 |
placeholder="<?php esc_html_e('Support query ', 'wpbot'); ?> "> |
| 1203 |
<br> |
| 1204 |
<p class="<?php esc_attr_e( 'qc-opt-dcs-font', 'wpbot' ); ?> "><strong> |
| 1205 |
<?php esc_html_e('Support answer', 'wpbot'); ?> |
| 1206 |
</strong></p> |
| 1207 |
<?php wp_editor(html_entity_decode(stripcslashes('')), 'support_ans_0', array('textarea_name' => |
| 1208 |
'support_ans[]', |
| 1209 |
'textarea_rows' => 20, |
| 1210 |
'editor_height' => 100, |
| 1211 |
'disabled' => 'disabled', |
| 1212 |
'media_buttons' => false, |
| 1213 |
'tinymce' => array( |
| 1214 |
'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',) |
| 1215 |
)); ?> |
| 1216 |
</div> |
| 1217 |
<br> |
| 1218 |
</div> |
| 1219 |
</div> |
| 1220 |
<?php |
| 1221 |
} |
| 1222 |
?> |
| 1223 |
</div> |
| 1224 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1225 |
<div class="<?php esc_attr_e( 'col-sm-6 text-left', 'wpbot' ); ?> "></div> |
| 1226 |
<div class="<?php esc_attr_e( 'col-sm-6 text-right', 'wpbot' ); ?> "> |
| 1227 |
<button class="<?php esc_attr_e( 'btn btn-success btn-sm', 'wpbot' ); ?>" type="button" |
| 1228 |
id="<?php esc_attr_e( 'add-more-support-query', 'wpbot' ); ?>"><i |
| 1229 |
class="<?php esc_attr_e( 'fa fa-plus" aria-hidden="true', 'wpbot' ); ?>"></i> |
| 1230 |
<?php esc_html_e('Add More Questions and Answers', 'wpbot'); ?> |
| 1231 |
</button> |
| 1232 |
</div> |
| 1233 |
</div> |
| 1234 |
</div> |
| 1235 |
</section> |
| 1236 |
<!--<section id="<?php esc_attr_e( 'section-flip-4', 'wpbot' ); ?> "> |
| 1237 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1238 |
<div class="<?php esc_attr_e( 'notification-block-inner', 'wpbot' ); ?> "> |
| 1239 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1240 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1241 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1242 |
<?php $notification_interval = get_option('qlcd_wp_chatbot_notification_interval') != "" ? get_option('qlcd_wp_chatbot_notification_interval') : 5 ?> |
| 1243 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('Interval between notifications (in Seconds).', 'wpbot'); ?></h4> |
| 1244 |
<input type="text" class="<?php esc_attr_e( 'form-control', 'wpbot' ); ?>" |
| 1245 |
name="qlcd_wp_chatbot_notification_interval" |
| 1246 |
value="<?php echo $notification_interval ?> "> |
| 1247 |
</div> |
| 1248 |
</div> |
| 1249 |
</div> |
| 1250 |
|
| 1251 |
<?php |
| 1252 |
$notifications = $this->qcld_wb_chatbot_str_replace(unserialize(get_option('qlcd_wp_chatbot_notifications'))); |
| 1253 |
if (!empty($notifications)) { |
| 1254 |
$chatbot_notif_counter=0; |
| 1255 |
foreach ($notifications as $notification) { |
| 1256 |
?> |
| 1257 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1258 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1259 |
<button type="button" |
| 1260 |
class="<?php esc_attr_e( 'btn btn-danger btn-sm wp-chatbot-remove-notification pull-right', 'wpbot' ); ?> "> |
| 1261 |
<i class="<?php esc_attr_e( 'fa fa-times" aria-hidden="true', 'wpbot' ); ?> "></i> |
| 1262 |
</button> |
| 1263 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1264 |
<?php wp_editor(html_entity_decode(stripcslashes($notification)), 'qlcd_wp_chatbot_notifications_'.$chatbot_notif_counter, array('textarea_name' => |
| 1265 |
'qlcd_wp_chatbot_notifications[]', |
| 1266 |
'textarea_rows' => 20, |
| 1267 |
'editor_height' => 100, |
| 1268 |
'disabled' => 'disabled', |
| 1269 |
'media_buttons' => false, |
| 1270 |
'tinymce' => array( |
| 1271 |
'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',) |
| 1272 |
)); ?> |
| 1273 |
</div> |
| 1274 |
</div> |
| 1275 |
|
| 1276 |
</div> |
| 1277 |
|
| 1278 |
<?php |
| 1279 |
$chatbot_notif_counter++; |
| 1280 |
} |
| 1281 |
//} |
| 1282 |
} else { |
| 1283 |
?> |
| 1284 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1285 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1286 |
<button type="button" |
| 1287 |
class="<?php esc_attr_e( 'btn btn-danger btn-sm wp-chatbot-remove-notification pull-right', 'wpbot' ); ?> "> |
| 1288 |
<i class="<?php esc_attr_e( 'fa fa-times" aria-hidden="true', 'wpbot' ); ?> "></i> |
| 1289 |
</button> |
| 1290 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1291 |
<?php wp_editor(html_entity_decode(stripcslashes('')), 'qlcd_wp_chatbot_notifications_0', array('textarea_name' => |
| 1292 |
'qlcd_wp_chatbot_notifications[]', |
| 1293 |
'textarea_rows' => 20, |
| 1294 |
'editor_height' => 100, |
| 1295 |
'disabled' => 'disabled', |
| 1296 |
'media_buttons' => false, |
| 1297 |
'tinymce' => array( |
| 1298 |
'toolbar1' => 'bold,italic,underline,separator,alignleft,aligncenter,alignright,separator,link,unlink',) |
| 1299 |
)); ?> |
| 1300 |
</div> |
| 1301 |
</div> |
| 1302 |
</div> |
| 1303 |
<?php |
| 1304 |
} |
| 1305 |
?> |
| 1306 |
</div> |
| 1307 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1308 |
<div class="<?php esc_attr_e( 'col-sm-6 text-left', 'wpbot' ); ?> "></div> |
| 1309 |
<div class="<?php esc_attr_e( 'col-sm-6 text-right', 'wpbot' ); ?> "> |
| 1310 |
<button class="<?php esc_attr_e( 'btn btn-success btn-sm', 'wpbot' ); ?>" type="button" |
| 1311 |
id="<?php esc_attr_e( 'add-more-notification-message', 'wpbot' ); ?> "> |
| 1312 |
<i class="<?php esc_attr_e( 'fa fa-plus" aria-hidden="true', 'wpbot' ); ?> "></i> <?php esc_html_e('Add', 'wpbot'); ?> |
| 1313 |
</button> |
| 1314 |
</div> |
| 1315 |
</div> |
| 1316 |
|
| 1317 |
</div> |
| 1318 |
|
| 1319 |
</section>--> |
| 1320 |
<section id="<?php esc_attr_e( 'section-flip-5', 'wpbot' ); ?> "> |
| 1321 |
<div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery', 'wpbot' ); ?> "> </div> |
| 1322 |
<ul class="<?php esc_attr_e( 'nav nav-tabs', 'wpbot' ); ?> "> |
| 1323 |
<li class="<?php esc_attr_e( 'active', 'wpbot' ); ?> "><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-general', 'wpbot' ); ?> "> |
| 1324 |
<?php esc_html_e('General', 'wpbot'); ?> |
| 1325 |
</a></li> |
| 1326 |
<li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-support', 'wpbot' ); ?> "> |
| 1327 |
<?php esc_html_e('FAQ', 'wpbot'); ?> |
| 1328 |
</a></li> |
| 1329 |
<li><a data-toggle="tab" href="<?php esc_attr_e( '#wp-chatbot-lng-reserve-keyword', 'wpbot' ); ?> "> |
| 1330 |
<?php esc_html_e('ChatBot Keywords', 'wpbot'); ?> |
| 1331 |
</a></li> |
| 1332 |
</ul> |
| 1333 |
<div class="<?php esc_attr_e( 'tab-content', 'wpbot' ); ?> "> |
| 1334 |
<div id="<?php esc_attr_e( 'wp-chatbot-lng-general', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade in active', 'wpbot' ); ?> "> |
| 1335 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1336 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1337 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?>"> |
| 1338 |
<p><?php esc_html_e('After making changes in the language center or settings, please type reset and hit enter in the ChatBot to start testing from the beginning or open a new Incognito window (Ctrl+Shit+N in chrome).', 'wpbot' ); ?></p> |
| 1339 |
<p><?php esc_html_e('You could use <br> tag for line break.', 'wpbot' ); ?></p> |
| 1340 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1341 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1342 |
<?php esc_html_e('Your Company or Website Name', 'wpbot'); ?> |
| 1343 |
</h4> |
| 1344 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1345 |
name="qlcd_wp_chatbot_host" |
| 1346 |
value="<?php echo(get_option('qlcd_wp_chatbot_host') != '' ? get_option('qlcd_wp_chatbot_host') : 'Our Store'); ?> "> |
| 1347 |
</div> |
| 1348 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1349 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1350 |
<?php esc_html_e('Agent name', 'wpbot'); ?> |
| 1351 |
</h4> |
| 1352 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1353 |
name="qlcd_wp_chatbot_agent" |
| 1354 |
value="<?php echo(get_option('qlcd_wp_chatbot_agent') != '' ? get_option('qlcd_wp_chatbot_agent') : 'Carrie'); ?>"> |
| 1355 |
</div> |
| 1356 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1357 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1358 |
<?php esc_html_e('User demo name', 'wpbot'); ?> |
| 1359 |
</h4> |
| 1360 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1361 |
name="qlcd_wp_chatbot_shopper_demo_name" |
| 1362 |
value="<?php echo(get_option('qlcd_wp_chatbot_shopper_demo_name') != '' ? get_option('qlcd_wp_chatbot_shopper_demo_name') : 'Amigo'); ?> "> |
| 1363 |
</div> |
| 1364 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1365 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1366 |
<?php esc_html_e('YES', 'wpbot'); ?> |
| 1367 |
</h4> |
| 1368 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1369 |
name="qlcd_wp_chatbot_yes" |
| 1370 |
value="<?php echo(get_option('qlcd_wp_chatbot_yes') != '' ? get_option('qlcd_wp_chatbot_yes') : 'YES'); ?>"> |
| 1371 |
</div> |
| 1372 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1373 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1374 |
<?php esc_html_e('NO', 'wpbot'); ?> |
| 1375 |
</h4> |
| 1376 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1377 |
name="qlcd_wp_chatbot_no" |
| 1378 |
value="<?php echo(get_option('qlcd_wp_chatbot_no') != '' ? get_option('qlcd_wp_chatbot_no') : 'NO'); ?>"> |
| 1379 |
</div> |
| 1380 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1381 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1382 |
<?php esc_html_e('OR', 'wpbot'); ?> |
| 1383 |
</h4> |
| 1384 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1385 |
name="qlcd_wp_chatbot_or" |
| 1386 |
value="<?php echo(get_option('qlcd_wp_chatbot_or') != '' ? get_option('qlcd_wp_chatbot_or') : 'OR'); ?>"> |
| 1387 |
</div> |
| 1388 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1389 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1390 |
<?php esc_html_e('Sorry', 'wpbot'); ?> |
| 1391 |
</h4> |
| 1392 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ', 'wpbot' ); ?>" |
| 1393 |
name="qlcd_wp_chatbot_sorry" |
| 1394 |
value="<?php echo(get_option('qlcd_wp_chatbot_sorry') != '' ? get_option('qlcd_wp_chatbot_sorry') : 'Sorry'); ?>"> |
| 1395 |
</div> |
| 1396 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1397 |
<?php |
| 1398 |
$agent_join_options = unserialize(get_option('qlcd_wp_chatbot_agent_join')); |
| 1399 |
$agent_join_option = 'qlcd_wp_chatbot_agent_join'; |
| 1400 |
$agent_join_text = __('has joined the conversation', 'wpbot'); |
| 1401 |
$this->qcld_wb_chatbot_dynamic_multi_option($agent_join_options, $agent_join_option, $agent_join_text); |
| 1402 |
?> |
| 1403 |
</div> |
| 1404 |
</div> |
| 1405 |
<!--col-xs-12--> |
| 1406 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?> "> |
| 1407 |
<h4 class="<?php esc_attr_e( 'text-success', 'wpbot' ); ?> "> |
| 1408 |
<?php esc_html_e(' Message setting for Greetings: ', 'wpbot'); ?> |
| 1409 |
</h4> |
| 1410 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1411 |
<?php |
| 1412 |
$welcome_to_options = unserialize(get_option('qlcd_wp_chatbot_welcome')); |
| 1413 |
$welcome_to_option = 'qlcd_wp_chatbot_welcome'; |
| 1414 |
$welcome_to_text =__('Welcome to', 'wpbot'); |
| 1415 |
$this->qcld_wb_chatbot_dynamic_multi_option($welcome_to_options, $welcome_to_option, $welcome_to_text); |
| 1416 |
?> |
| 1417 |
</div> |
| 1418 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1419 |
<?php |
| 1420 |
$welcome_back_options = unserialize(get_option('qlcd_wp_chatbot_welcome_back')); |
| 1421 |
$welcome_back_option = 'qlcd_wp_chatbot_welcome_back'; |
| 1422 |
$welcome_back_text = __('Welcome back', 'wpbot'); |
| 1423 |
$this->qcld_wb_chatbot_dynamic_multi_option($welcome_back_options, $welcome_back_option, $welcome_back_text); |
| 1424 |
?> |
| 1425 |
</div> |
| 1426 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1427 |
<?php |
| 1428 |
$back_to_start_options = unserialize(get_option('qlcd_wp_chatbot_back_to_start')); |
| 1429 |
$back_to_start_option = 'qlcd_wp_chatbot_back_to_start'; |
| 1430 |
$back_to_start_text = __('Back to Start', 'wpbot'); |
| 1431 |
$this->qcld_wb_chatbot_dynamic_multi_option($back_to_start_options, $back_to_start_option, $back_to_start_text); |
| 1432 |
?> |
| 1433 |
</div> |
| 1434 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1435 |
<?php |
| 1436 |
$hi_there_options = unserialize(get_option('qlcd_wp_chatbot_hi_there')); |
| 1437 |
$hi_there_option = 'qlcd_wp_chatbot_hi_there'; |
| 1438 |
$hi_there_text = __('Hi There!', 'wpbot'); |
| 1439 |
$this->qcld_wb_chatbot_dynamic_multi_option($hi_there_options, $hi_there_option, $hi_there_text); |
| 1440 |
?> |
| 1441 |
</div> |
| 1442 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1443 |
<?php |
| 1444 |
$hello_options = unserialize(get_option('qlcd_wp_chatbot_hello')); |
| 1445 |
$hello_option = 'qlcd_wp_chatbot_hello'; |
| 1446 |
$hello_text = __('Hello', 'wpbot'); |
| 1447 |
$this->qcld_wb_chatbot_dynamic_multi_option($hello_options, $hello_option, $hello_text); |
| 1448 |
?> |
| 1449 |
</div> |
| 1450 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1451 |
<?php |
| 1452 |
$asking_name_options = unserialize(get_option('qlcd_wp_chatbot_asking_name')); |
| 1453 |
$asking_name_option = 'qlcd_wp_chatbot_asking_name'; |
| 1454 |
$asking_name_text = __('May I know your name?', 'wpbot'); |
| 1455 |
$this->qcld_wb_chatbot_dynamic_multi_option($asking_name_options, $asking_name_option, $asking_name_text); |
| 1456 |
?> |
| 1457 |
</div> |
| 1458 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1459 |
<?php |
| 1460 |
$i_am_options = unserialize(get_option('qlcd_wp_chatbot_i_am')); |
| 1461 |
$i_am_option = 'qlcd_wp_chatbot_i_am'; |
| 1462 |
$i_am_text = __('I am', 'wpbot'); |
| 1463 |
$this->qcld_wb_chatbot_dynamic_multi_option($i_am_options, $i_am_option, $i_am_text); |
| 1464 |
?> |
| 1465 |
</div> |
| 1466 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1467 |
<?php |
| 1468 |
$name_greeting_options = unserialize(get_option('qlcd_wp_chatbot_name_greeting')); |
| 1469 |
$name_greeting_option = 'qlcd_wp_chatbot_name_greeting'; |
| 1470 |
$name_greeting_text = __('Nice to meet you', 'wpbot'); |
| 1471 |
$this->qcld_wb_chatbot_dynamic_multi_option($name_greeting_options, $name_greeting_option, $name_greeting_text); |
| 1472 |
?> |
| 1473 |
</div> |
| 1474 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1475 |
<?php |
| 1476 |
$wildcard_msg_options = unserialize(get_option('qlcd_wp_chatbot_wildcard_msg')); |
| 1477 |
$wildcard_msg_option = 'qlcd_wp_chatbot_wildcard_msg'; |
| 1478 |
$wildcard_msg_text = __('I am here to find what you need. What are you looking for?', 'wpbot'); |
| 1479 |
$this->qcld_wb_chatbot_dynamic_multi_option($wildcard_msg_options, $wildcard_msg_option, $wildcard_msg_text); |
| 1480 |
?> |
| 1481 |
</div> |
| 1482 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1483 |
<?php |
| 1484 |
$empty_filter_msgs = unserialize(get_option('qlcd_wp_chatbot_empty_filter_msg')); |
| 1485 |
$empty_filter_msg = 'qlcd_wp_chatbot_empty_filter_msg'; |
| 1486 |
$empty_filter_msg_text = __('Sorry, I did not understand that', 'wpbot'); |
| 1487 |
$this->qcld_wb_chatbot_dynamic_multi_option($empty_filter_msgs, $empty_filter_msg, $empty_filter_msg_text); |
| 1488 |
?> |
| 1489 |
</div> |
| 1490 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1491 |
<?php |
| 1492 |
$qlcd_wp_chatbot_did_you_mean = unserialize(get_option('qlcd_wp_chatbot_did_you_mean')); |
| 1493 |
$qlcd_wp_chatbot_did_you_means = 'qlcd_wp_chatbot_did_you_mean'; |
| 1494 |
$wp_chatbot_no_result_text = esc_html__('Did you mean?', 'wpbot'); |
| 1495 |
$this->qcld_wb_chatbot_dynamic_multi_option($qlcd_wp_chatbot_did_you_mean, $qlcd_wp_chatbot_did_you_means, $wp_chatbot_no_result_text); |
| 1496 |
?> |
| 1497 |
</div> |
| 1498 |
<h4 class="<?php esc_attr_e( 'text-success', 'wpbot' ); ?> "> |
| 1499 |
<?php esc_html_e('Message setting for Editor Box ', 'wpbot'); ?> |
| 1500 |
</h4> |
| 1501 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1502 |
<?php |
| 1503 |
$is_typing_options = unserialize(get_option('qlcd_wp_chatbot_is_typing')); |
| 1504 |
$is_typing_option = 'qlcd_wp_chatbot_is_typing'; |
| 1505 |
$is_typing_text = __('is typing...', 'wpbot'); |
| 1506 |
$this->qcld_wb_chatbot_dynamic_multi_option($is_typing_options, $is_typing_option, $is_typing_text); |
| 1507 |
?> |
| 1508 |
</div> |
| 1509 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1510 |
<?php |
| 1511 |
$send_a_msg_options = unserialize(get_option('qlcd_wp_chatbot_send_a_msg')); |
| 1512 |
$send_a_msg_option = 'qlcd_wp_chatbot_send_a_msg'; |
| 1513 |
$send_a_msg_text =__('Send a message', 'wpbot'); |
| 1514 |
$this->qcld_wb_chatbot_dynamic_multi_option($send_a_msg_options, $send_a_msg_option, $send_a_msg_text); |
| 1515 |
?> |
| 1516 |
</div> |
| 1517 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1518 |
<?php |
| 1519 |
$choose_option_options = unserialize(get_option('qlcd_wp_chatbot_choose_option')); |
| 1520 |
$choose_option_option = 'qlcd_wp_chatbot_choose_option'; |
| 1521 |
$choose_option_text = __('Choose an option', 'wpbot'); |
| 1522 |
$this->qcld_wb_chatbot_dynamic_multi_option($choose_option_options, $choose_option_option, $choose_option_text); |
| 1523 |
?> |
| 1524 |
</div> |
| 1525 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1526 |
<?php |
| 1527 |
$asking_email_options = unserialize(get_option('qlcd_wp_chatbot_asking_email')); |
| 1528 |
$asking_email_option = 'qlcd_wp_chatbot_asking_email'; |
| 1529 |
$asking_email_text = __('Please provide your email address', 'wpbot'); |
| 1530 |
$this->qcld_wb_chatbot_dynamic_multi_option($asking_email_options, $asking_email_option, $asking_email_text); |
| 1531 |
?> |
| 1532 |
</div> |
| 1533 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1534 |
<?php |
| 1535 |
$invalid_email_options = unserialize(get_option('qlcd_wp_chatbot_invalid_email')); |
| 1536 |
$invalid_email_option = 'qlcd_wp_chatbot_invalid_email'; |
| 1537 |
$invalid_email_text = __('Sorry, Email address is not valid! Please provide a valid email.', 'wpbot'); |
| 1538 |
$this->qcld_wb_chatbot_dynamic_multi_option($invalid_email_options, $invalid_email_option, $invalid_email_text); |
| 1539 |
?> |
| 1540 |
</div> |
| 1541 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1542 |
<?php |
| 1543 |
$asking_msg_options = unserialize(get_option('qlcd_wp_chatbot_asking_msg')); |
| 1544 |
$asking_msg_option = 'qlcd_wp_chatbot_asking_msg'; |
| 1545 |
$asking_msg_text = __('Thank you for email address. Please write your message now.', 'wpbot'); |
| 1546 |
$this->qcld_wb_chatbot_dynamic_multi_option($asking_msg_options, $asking_msg_option, $asking_msg_text); |
| 1547 |
?> |
| 1548 |
</div> |
| 1549 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1550 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1551 |
<?php esc_html_e('WPBot Support Mail Subject', 'wpbot'); ?> |
| 1552 |
</h4> |
| 1553 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1554 |
name="qlcd_wp_chatbot_email_sub" |
| 1555 |
value="<?php echo(get_option('qlcd_wp_chatbot_email_sub') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_sub')) : 'Support Email Subject'); ?>' "> |
| 1556 |
</div> |
| 1557 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1558 |
<?php |
| 1559 |
$support_option_again_options = unserialize(get_option('qlcd_wp_chatbot_support_option_again')); |
| 1560 |
$support_option_again_option = 'qlcd_wp_chatbot_support_option_again'; |
| 1561 |
$support_option_again_text = __('You may choose option from below.', 'wpbot'); |
| 1562 |
$this->qcld_wb_chatbot_dynamic_multi_option($support_option_again_options, $support_option_again_option, $support_option_again_text); |
| 1563 |
?> |
| 1564 |
</div> |
| 1565 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1566 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1567 |
<?php esc_html_e('Your email was sent successfully.Thanks!', 'wpbot'); ?> |
| 1568 |
</h4> |
| 1569 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1570 |
name="qlcd_wp_chatbot_email_sent" |
| 1571 |
value="<?php echo(get_option('qlcd_wp_chatbot_email_sent') != '' ? get_option('qlcd_wp_chatbot_email_sent') : 'Your email was sent successfully.Thanks!'); ?> "> |
| 1572 |
</div> |
| 1573 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1574 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1575 |
<?php esc_html_e('Sorry! I could not send your mail! Please contact the webmaster.', 'wpbot'); ?> |
| 1576 |
</h4> |
| 1577 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font ', 'wpbot' ); ?>" |
| 1578 |
name="qlcd_wp_chatbot_email_fail" |
| 1579 |
value="<?php echo(get_option('qlcd_wp_chatbot_email_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_email_fail')) : 'Sorry! fail to send email'); ?> "> |
| 1580 |
</div> |
| 1581 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1582 |
<?php |
| 1583 |
$asking_phone_options = unserialize(get_option('qlcd_wp_chatbot_asking_phone')); |
| 1584 |
$asking_phone_option = 'qlcd_wp_chatbot_asking_phone'; |
| 1585 |
$asking_phone_text = __('Please provide your Phone number', 'wpbot'); |
| 1586 |
$this->qcld_wb_chatbot_dynamic_multi_option($asking_phone_options, $asking_phone_option, $asking_phone_text); |
| 1587 |
?> |
| 1588 |
</div> |
| 1589 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1590 |
<?php |
| 1591 |
$thanks_phone_options = unserialize(get_option('qlcd_wp_chatbot_thank_for_phone')); |
| 1592 |
$thanks_phone_option = 'qlcd_wp_chatbot_thank_for_phone'; |
| 1593 |
$thanks_phone_text = __('Thank you for Phone number', 'wpbot'); |
| 1594 |
$this->qcld_wb_chatbot_dynamic_multi_option($thanks_phone_options, $thanks_phone_option, $thanks_phone_text); |
| 1595 |
?> |
| 1596 |
</div> |
| 1597 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1598 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1599 |
<?php esc_html_e('Thanks for your phone number. We will call you ASAP!', 'wpbot'); ?> |
| 1600 |
</h4> |
| 1601 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1602 |
name="qlcd_wp_chatbot_phone_sent" |
| 1603 |
value="<?php echo(get_option('qlcd_wp_chatbot_phone_sent') != '' ? get_option('qlcd_wp_chatbot_phone_sent') : 'Thanks for your phone number. We will call you ASAP!'); ?> "> |
| 1604 |
</div> |
| 1605 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1606 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1607 |
<?php esc_html_e('Sorry! I could not collect phone number! Please contact the webmaster.', 'wpbot'); ?> |
| 1608 |
</h4> |
| 1609 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1610 |
name="qlcd_wp_chatbot_phone_fail" |
| 1611 |
value="<?php echo(get_option('qlcd_wp_chatbot_phone_fail') != '' ? wp_unslash(get_option('qlcd_wp_chatbot_phone_fail')) : 'Sorry! I could not collect phone number!'); ?> "> |
| 1612 |
</div> |
| 1613 |
</div> |
| 1614 |
</div> |
| 1615 |
</div> |
| 1616 |
</div> |
| 1617 |
<div id="<?php esc_attr_e( 'wp-chatbot-lng-support', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade', 'wpbot' ); ?> "> |
| 1618 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1619 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1620 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?> "> |
| 1621 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1622 |
<?php |
| 1623 |
$support_welcome_options = unserialize(get_option('qlcd_wp_chatbot_support_welcome')); |
| 1624 |
$support_welcome_option = 'qlcd_wp_chatbot_support_welcome'; |
| 1625 |
$support_welcome_text = __('Welcome to FAQ Section', 'wpbot'); |
| 1626 |
$this->qcld_wb_chatbot_dynamic_multi_option($support_welcome_options, $support_welcome_option, $support_welcome_text); |
| 1627 |
?> |
| 1628 |
</div> |
| 1629 |
|
| 1630 |
<!--<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1631 |
<?php |
| 1632 |
$feedback_label_options = unserialize(get_option('qlcd_wp_chatbot_feedback_label')); |
| 1633 |
$feedback_label_option = 'qlcd_wp_chatbot_feedback_label'; |
| 1634 |
$feedback_label_text = __('Send Feedback!', 'wpbot'); |
| 1635 |
$this->qcld_wb_chatbot_dynamic_multi_option($feedback_label_options, $feedback_label_option, $feedback_label_text); |
| 1636 |
?> |
| 1637 |
</div>--> |
| 1638 |
|
| 1639 |
</div> |
| 1640 |
</div> |
| 1641 |
</div> |
| 1642 |
</div> |
| 1643 |
<div id="<?php esc_attr_e( 'wp-chatbot-lng-reserve-keyword', 'wpbot' ); ?>" class="<?php esc_attr_e( 'tab-pane fade', 'wpbot' ); ?> "> |
| 1644 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1645 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1646 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-language-section', 'wpbot' ); ?> "> |
| 1647 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1648 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1649 |
<?php esc_html_e('Start Keyword', 'wpbot'); ?> |
| 1650 |
</h4> |
| 1651 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1652 |
name="qlcd_wp_chatbot_sys_key_help" |
| 1653 |
value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_help') != '' ? get_option('qlcd_wp_chatbot_sys_key_help') : 'start'); ?> "> |
| 1654 |
</div> |
| 1655 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1656 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong> |
| 1657 |
<?php esc_html_e('FAQ', 'wpbot'); ?> |
| 1658 |
</strong> |
| 1659 |
<?php esc_html_e('Keyword', 'wpbot'); ?> |
| 1660 |
</h4> |
| 1661 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1662 |
name="qlcd_wp_chatbot_sys_key_support" |
| 1663 |
value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_support') != '' ? get_option('qlcd_wp_chatbot_sys_key_support') : 'faq'); ?> "> |
| 1664 |
</div> |
| 1665 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1666 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong> |
| 1667 |
<?php esc_html_e('Converstion History Clear', 'wpbot'); ?> |
| 1668 |
</strong> |
| 1669 |
<?php esc_html_e('Keyword', 'wpbot'); ?> |
| 1670 |
</h4> |
| 1671 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1672 |
name="qlcd_wp_chatbot_sys_key_reset" |
| 1673 |
value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_reset') != '' ? get_option('qlcd_wp_chatbot_sys_key_reset') : 'reset'); ?> "> |
| 1674 |
</div> |
| 1675 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1676 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><strong> |
| 1677 |
<?php esc_html_e('eMail', 'wpbot'); ?> |
| 1678 |
</strong> |
| 1679 |
<?php esc_html_e('Keyword to Send eMail', 'wpbot'); ?> |
| 1680 |
</h4> |
| 1681 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1682 |
name="qlcd_wp_chatbot_sys_key_email" |
| 1683 |
value="<?php echo(get_option('qlcd_wp_chatbot_sys_key_email') != '' ? get_option('qlcd_wp_chatbot_sys_key_email') : 'email'); ?>"> |
| 1684 |
</div> |
| 1685 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1686 |
<?php |
| 1687 |
$help_welcome_options = unserialize(get_option('qlcd_wp_chatbot_help_welcome')); |
| 1688 |
$help_welcome_option = 'qlcd_wp_chatbot_help_welcome'; |
| 1689 |
$help_welcome_text = 'Welcome to Help Section'; |
| 1690 |
$this->qcld_wb_chatbot_dynamic_multi_option($help_welcome_options, $help_welcome_option, $help_welcome_text); |
| 1691 |
?> |
| 1692 |
</div> |
| 1693 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1694 |
<?php |
| 1695 |
$help_msg_options = unserialize(get_option('qlcd_wp_chatbot_help_msg')); |
| 1696 |
$help_msg_option = 'qlcd_wp_chatbot_help_msg'; |
| 1697 |
$help_msg_text = '<h3>Type and Hit Enter</h3> 1. <b>start</b> Get back to the main menu. <br> 2. <b>faq</b> for FAQ. <br> 3. <b>eMail </b> to Send eMail <br> 4. <b>reset</b> To clear chat history and start from the beginning.'; |
| 1698 |
$this->qcld_wb_chatbot_dynamic_multi_option($help_msg_options, $help_msg_option, $help_msg_text); |
| 1699 |
?> |
| 1700 |
</div> |
| 1701 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1702 |
<?php |
| 1703 |
$reset_options = unserialize(get_option('qlcd_wp_chatbot_reset')); |
| 1704 |
$reset_option = 'qlcd_wp_chatbot_reset'; |
| 1705 |
$reset_text = 'Do you want to clear our chat history and start over?'; |
| 1706 |
$this->qcld_wb_chatbot_dynamic_multi_option($reset_options, $reset_option, $reset_text); |
| 1707 |
?> |
| 1708 |
</div> |
| 1709 |
</div> |
| 1710 |
<!-- col-xs-12--> |
| 1711 |
</div> |
| 1712 |
<!-- row--> |
| 1713 |
</div> |
| 1714 |
<!-- top-section--> |
| 1715 |
</div> |
| 1716 |
</div> |
| 1717 |
<!-- tab-content--> |
| 1718 |
</section> |
| 1719 |
<section id="<?php esc_attr_e( 'section-flip-6', 'wpbot' ); ?> "> |
| 1720 |
<?php |
| 1721 |
wp_enqueue_style('qcld-wp-chatbot-common-style', plugins_url(basename(plugin_dir_path(__FILE__)) . '/css/common-style.css', basename(__FILE__)), '', QCLD_wpCHATBOT_VERSION, 'screen'); |
| 1722 |
?> |
| 1723 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1724 |
<div class="<?php esc_attr_e( 'notification-block-inner', 'wpbot' ); ?> "> |
| 1725 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1726 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1727 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1728 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1729 |
<h2>Predefined Intents</h2> |
| 1730 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1731 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1732 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1733 |
<?php esc_html_e('Call Me', 'wpbot'); ?> |
| 1734 |
</h4> |
| 1735 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1736 |
<input value="1" id="<?php esc_attr_e( 'disable_wp_chatbot_call_gen', 'wpbot' ); ?>" type="checkbox" |
| 1737 |
name="disable_wp_chatbot_call_gen" <?php echo(get_option('disable_wp_chatbot_call_gen') == 1 ? 'checked' : ''); ?>> |
| 1738 |
<label for="<?php esc_attr_e( 'disable_wp_chatbot_call_gen', 'wpbot' ); ?>"> |
| 1739 |
<?php esc_html_e('Disable Call Me feature and button on Start Menu', 'wpbot'); ?> |
| 1740 |
</label> |
| 1741 |
</div> |
| 1742 |
</div> |
| 1743 |
</div> |
| 1744 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?>" style="margin-bottom:0px"> |
| 1745 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1746 |
<?php esc_html_e('Button Label', 'wpbot'); ?> |
| 1747 |
</h4> |
| 1748 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1749 |
name="qlcd_wp_chatbot_support_phone" |
| 1750 |
value="<?php echo(get_option('qlcd_wp_chatbot_support_phone') != '' ? get_option('qlcd_wp_chatbot_support_phone') : 'Leave your number. We will call you back!'); ?> "> |
| 1751 |
</div> |
| 1752 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1753 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1754 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1755 |
<?php esc_html_e('Email', 'wpbot'); ?> |
| 1756 |
</h4> |
| 1757 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?>"> |
| 1758 |
<input value="1" id="<?php esc_attr_e( 'disable_wp_chatbot_feedback', 'wpbot' ); ?>" type="checkbox" |
| 1759 |
name="disable_wp_chatbot_feedback" <?php echo(get_option('disable_wp_chatbot_feedback') == 1 ? 'checked' : ''); ?>> |
| 1760 |
<label for="<?php esc_attr_e( 'disable_wp_chatbot_feedback', 'wpbot' ); ?>"> |
| 1761 |
<?php esc_html_e('Disable Email feature and button on Start Menu', 'wpbot'); ?> |
| 1762 |
</label> |
| 1763 |
</div> |
| 1764 |
</div> |
| 1765 |
</div> |
| 1766 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> " style="margin-bottom:0px"> |
| 1767 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1768 |
<?php esc_html_e('Button Label', 'wpbot'); ?> |
| 1769 |
</h4> |
| 1770 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1771 |
name="qlcd_wp_chatbot_support_email" |
| 1772 |
value="<?php echo(get_option('qlcd_wp_chatbot_support_email') != '' ? get_option('qlcd_wp_chatbot_support_email') : 'Send us Email'); ?> "> |
| 1773 |
</div> |
| 1774 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1775 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1776 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1777 |
<?php esc_html_e('FAQ', 'wpbot'); ?> |
| 1778 |
</h4> |
| 1779 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1780 |
<input value="1" id="<?php esc_attr_e( 'disable_wp_chatbot_faq', 'wpbot' ); ?>" type="checkbox" |
| 1781 |
name="disable_wp_chatbot_faq" <?php echo(get_option('disable_wp_chatbot_faq') == 1 ? 'checked' : ''); ?>> |
| 1782 |
<label for="<?php esc_attr_e( 'disable_wp_chatbot_faq', 'wpbot' ); ?>"> |
| 1783 |
<?php esc_html_e('Disable FAQ feature and button on Start Menu', 'wpbot'); ?> |
| 1784 |
</label> |
| 1785 |
</div> |
| 1786 |
</div> |
| 1787 |
</div> |
| 1788 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?>" style="margin-bottom:0px "> |
| 1789 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 1790 |
<?php esc_html_e('Button Label', 'wpbot'); ?> |
| 1791 |
</h4> |
| 1792 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1793 |
name="qlcd_wp_chatbot_wildcard_support" |
| 1794 |
value="<?php echo(get_option('qlcd_wp_chatbot_wildcard_support') != '' ? get_option('qlcd_wp_chatbot_wildcard_support') : 'FAQ'); ?> "> |
| 1795 |
</div> |
| 1796 |
</div> |
| 1797 |
</div> |
| 1798 |
<div class="<?php esc_attr_e( 'qc_menu_setup_area', 'wpbot' ); ?> "> |
| 1799 |
<h2><?php esc_html_e('Menu Sorting & Customization Area', 'wpbot'); ?></h2> |
| 1800 |
<p style="color:red"><?php esc_html_e('After making changes in the settings, please clear browser cache and cookies before reloading the page or open a new Incognito window (Ctrl+Shit+N in chrome).', 'wpbot'); ?></p> |
| 1801 |
<p><?php esc_html_e('In this section you can control the UI of the menu.', 'wpbot'); ?><br> |
| 1802 |
<?php esc_html_e('To adjust the', 'wpbot'); ?> <b><?php esc_html_e('Active Menu', 'wpbot'); ?> </b> <?php esc_html_e('ordering just drag it up or down. To add a menu item in ', 'wpbot'); ?><b><?php esc_html_e('Active Menu', 'wpbot'); ?> </b> <?php esc_html_e('simply drag a menu item from', 'wpbot'); ?> <b><?php esc_html_e('Available Menu', 'wpbot'); ?> </b><?php esc_html_e('and drop it to', 'wpbot'); ?> <b><?php esc_html_e('Active Menu', 'wpbot'); ?> </b> <?php esc_html_e('To remove a menu item from ', 'wpbot'); ?> . <b><?php esc_html_e('Active Menu', 'wpbot'); ?></b> <?php esc_html_e('simple drag the menu item and drop it to', 'wpbot'); ?> <b><?php esc_html_e('Available Menu', 'wpbot'); ?> </b>.</p> |
| 1803 |
<br> |
| 1804 |
<div class="<?php esc_attr_e( 'qc_menu_area', 'wpbot' ); ?> "> |
| 1805 |
<h4><?php esc_html_e( 'Acitve Menu', 'wpbot'); ?></h4> |
| 1806 |
<div class="<?php esc_attr_e( 'qc_menu_area_container', 'wpbot' ); ?>" id="<?php esc_attr_e( 'qc_menu_area', 'wpbot' ); ?>"> |
| 1807 |
<?php |
| 1808 |
if(get_option('qc_wpbot_menu_order')!=''): |
| 1809 |
echo stripslashes(get_option('qc_wpbot_menu_order')); |
| 1810 |
else:?> |
| 1811 |
<?php if(get_option('disable_wp_chatbot_faq')==''): ?> |
| 1812 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="support', 'wpbot' ); ?> "><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span> |
| 1813 |
<?php endif; ?> |
| 1814 |
<?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?> |
| 1815 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="messenger', 'wpbot' ); ?> "><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_messenger_label'))) ?></span> |
| 1816 |
<?php endif; ?> |
| 1817 |
<?php if(get_option('enable_wp_chatbot_whats')=='1'): ?> |
| 1818 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item_remove" data-wildcart="whatsapp', 'wpbot' ); ?> "><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_whats_label'))); ?></span> |
| 1819 |
<?php endif; ?> |
| 1820 |
<?php if(get_option('disable_wp_chatbot_feedback')==''): ?> |
| 1821 |
<span class="<?php esc_attr_e( 'qcld-chatbot-suggest-email qc_draggable_item_remove', 'wpbot' ); ?> "><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span> |
| 1822 |
<?php endif; ?> |
| 1823 |
<?php if(get_option('disable_wp_chatbot_call_gen')==''): ?> |
| 1824 |
<span class="<?php esc_attr_e( 'qcld-chatbot-suggest-phone qc_draggable_item_remove', 'wpbot' ); ?>" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span> |
| 1825 |
<?php endif; ?> |
| 1826 |
<?php |
| 1827 |
if(class_exists('Qcformbuilder_Forms_Admin')){ |
| 1828 |
global $wpdb; |
| 1829 |
|
| 1830 |
$results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'"); |
| 1831 |
if(!empty($results)){ |
| 1832 |
?> |
| 1833 |
<?php |
| 1834 |
foreach($results as $result){ |
| 1835 |
$form = unserialize($result->config); |
| 1836 |
?> |
| 1837 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item_remove', 'wpbot' ); ?>" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span> |
| 1838 |
<?php |
| 1839 |
} |
| 1840 |
?> |
| 1841 |
<?php |
| 1842 |
} |
| 1843 |
} |
| 1844 |
?> |
| 1845 |
<?php endif; ?> |
| 1846 |
</div> |
| 1847 |
</div> |
| 1848 |
<div class="<?php esc_attr_e( 'qc_menu_list_area', 'wpbot' ); ?> "> |
| 1849 |
<h4><?php echo esc_html__('Available Menu', 'wpbot'); ?></h4> |
| 1850 |
<div class="<?php esc_attr_e( 'qc_menu_list_container', 'wpbot' ); ?>"> |
| 1851 |
<p><?php echo esc_html__('Predefined Intents', 'wpbot'); ?></p> |
| 1852 |
<ul> |
| 1853 |
<li> |
| 1854 |
<?php if(get_option('disable_wp_chatbot_faq')==''): ?> |
| 1855 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item', 'wpbot' ); ?>" data-wildcart="support"><?php echo get_option('qlcd_wp_chatbot_wildcard_support'); ?></span> |
| 1856 |
<?php endif; ?> |
| 1857 |
</li> |
| 1858 |
<li> |
| 1859 |
<?php if(get_option('enable_wp_chatbot_messenger')=='1'): ?> |
| 1860 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item', 'wpbot' ); ?>" data-wildcart="messenger"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_messenger_label'))) ?></span> |
| 1861 |
<?php endif; ?> |
| 1862 |
</li> |
| 1863 |
<li> |
| 1864 |
<?php if(get_option('enable_wp_chatbot_whats')=='1'): ?> |
| 1865 |
<span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qc_draggable_item', 'wpbot' ); ?>" data-wildcart="whatsapp"><?php echo qcld_choose_random(unserialize(get_option('qlcd_wp_chatbot_whats_label'))); ?></span> |
| 1866 |
<?php endif; ?> |
| 1867 |
</li> |
| 1868 |
<li> |
| 1869 |
<?php if(get_option('disable_wp_chatbot_feedback')==''): ?> |
| 1870 |
<span class="<?php esc_attr_e( 'qcld-chatbot-suggest-email qc_draggable_item', 'wpbot' ); ?> "><?php echo get_option('qlcd_wp_chatbot_support_email'); ?></span> |
| 1871 |
<?php endif; ?> |
| 1872 |
</li> |
| 1873 |
<li> |
| 1874 |
<?php if(get_option('disable_wp_chatbot_call_gen')==''): ?> |
| 1875 |
<span class="<?php esc_attr_e( 'qcld-chatbot-suggest-phone qc_draggable_item', 'wpbot' ); ?>" ><?php echo get_option('qlcd_wp_chatbot_support_phone'); ?></span> |
| 1876 |
<?php endif; ?> |
| 1877 |
</li> |
| 1878 |
</ul> |
| 1879 |
<?php |
| 1880 |
if(class_exists('Qcformbuilder_Forms_Admin')){ |
| 1881 |
global $wpdb; |
| 1882 |
|
| 1883 |
$results = $wpdb->get_results("SELECT * FROM ". $wpdb->prefix."wfb_forms where 1 and type='primary'"); |
| 1884 |
if(!empty($results)){ |
| 1885 |
?> |
| 1886 |
<p><?php echo esc_html__('Conversational Form', 'wpbot'); ?></p> |
| 1887 |
<ul> |
| 1888 |
<?php |
| 1889 |
foreach($results as $result){ |
| 1890 |
$form = unserialize($result->config); |
| 1891 |
?> |
| 1892 |
<li><span class="<?php esc_attr_e( 'qcld-chatbot-wildcard qcld-chatbot-form qc_draggable_item', 'wpbot' ); ?>" data-form="<?php echo $form['ID']; ?>" ><?php echo $form['name']; ?></span></li> |
| 1893 |
<?php |
| 1894 |
} |
| 1895 |
?> |
| 1896 |
</ul> |
| 1897 |
<?php |
| 1898 |
} |
| 1899 |
} |
| 1900 |
?> |
| 1901 |
</div> |
| 1902 |
</div> |
| 1903 |
</div> |
| 1904 |
<input id="qc_wpbot_menu_order" type="hidden" name="qc_wpbot_menu_order" value='<?php echo stripslashes(get_option('qc_wpbot_menu_order')); ?>' /> |
| 1905 |
</div> |
| 1906 |
</div> |
| 1907 |
</div> |
| 1908 |
</div> |
| 1909 |
</section> |
| 1910 |
<section id="<?php esc_attr_e( 'section-flip-7', 'wpbot' ); ?> "> |
| 1911 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 1912 |
<div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery', 'wpbot' ); ?> "> |
| 1913 |
<p> |
| 1914 |
<?php esc_html_e('DialogFlow as Artificial Intelligences Engine for wpwBot', 'wpbot'); ?> |
| 1915 |
</p> |
| 1916 |
</div> |
| 1917 |
|
| 1918 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 1919 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 1920 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('Enable DialogFlow as AI Engine to Detect Intent', 'wpbot'); ?> </h4> |
| 1921 |
<h5 style="color: #f00;font-weight:900"><?php echo esc_html__('Please do not enable DialogFlow and OpenAI both at the same time.', 'wpbot'); ?> </h5> |
| 1922 |
<h5 style="color: #f00;font-weight:900 "><?php echo esc_html__(' Enable either DialogFlow or OpenAI', 'wpbot'); ?> </h5> |
| 1923 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 1924 |
<input value="1" id="<?php esc_attr_e( 'enable_wp_chatbot_dailogflow', 'wpbot' ); ?>" type="checkbox" |
| 1925 |
name="enable_wp_chatbot_dailogflow" <?php echo(get_option('enable_wp_chatbot_dailogflow') == 1 ? 'checked' : ''); ?>> |
| 1926 |
<label for="<?php esc_attr_e( 'enable_wp_chatbot_dailogflow', 'wpbot' ); ?>"><?php echo esc_html__('Enable DialogFlow AI Engine to process Natural Language commands from users.', 'wpbot'); ?> </label> |
| 1927 |
</div> |
| 1928 |
</div> |
| 1929 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> <br> |
| 1930 |
<p><?php echo esc_html__('Log in to DialogFlow Console from', 'wpbot'); ?> |
| 1931 |
<a class="<?php esc_attr_e( 'wpbot_df_instruction', 'wpbot' ); ?>" href="<?php echo esc_url('https://dialogflow.com/'); ?>" |
| 1932 |
target="_blank', 'wpbot' ); ?> "> |
| 1933 |
<?php echo esc_html__('Here', 'wpbot'); ?></a> |
| 1934 |
<?php echo esc_html__('with your gmail account.', 'wpbot'); ?> <a class="<?php esc_attr_e( 'wpbot_df_instruction', 'wpbot' ); ?>" href="<?php echo esc_url(QCLD_wpCHATBOT_PLUGIN_URL.'download/wpwBot.zip'); ?>" download ><?php echo esc_html__('Download', 'wpbot'); ?></a> <?php echo esc_html__('the agent training data and import from DialogFlow->Settings->Export and Import tab. You can add your own intents in that agent but do not modify our following training intents which are', 'wpbot'); ?> <b><?php echo esc_html__('email, email subscription, faq, get email, get name, help, phone, reset, site search and start.', 'wpbot'); ?></b> </p> |
| 1935 |
</div> |
| 1936 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?>" id="<?php esc_attr_e( 'wp-chatbot-dialflow-section', 'wpbot' ); ?> "> |
| 1937 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('DialogFlow API Version', 'wpbot'); ?></h4> |
| 1938 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1939 |
<label class="<?php esc_attr_e( 'radio-inline', 'wpbot' ); ?> "> |
| 1940 |
<input id="<?php esc_attr_e( 'wp-chatbot-df-api', 'wpbot' ); ?>" type="radio" |
| 1941 |
name="wp_chatbot_df_api" |
| 1942 |
value="v2" checked> |
| 1943 |
<?php echo esc_html__('Dialogflow API V2', 'wpbot'); ?> </label> |
| 1944 |
</div> |
| 1945 |
<div id="<?php esc_attr_e( 'wp-chatbot-df-section-v2', 'wpbot' ); ?>" style="display:block"> |
| 1946 |
<!-- Dialogflow V2 Configuration --> |
| 1947 |
|
| 1948 |
<?php if(!file_exists(QCLD_wpCHATBOT_GC_DIRNAME.'/autoload.php')): ?> |
| 1949 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> <br> |
| 1950 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?>" style="color:red "><?php echo esc_html__('For Interacting with Dialogflow V2 the Google Client Package is Required!', 'wpbot'); ?></h4> |
| 1951 |
<p><?php echo esc_html__('Please click the download button below to download the Google Client package. The package will be downloaded inside your Wordpress`s', 'wpbot'); ?> <b><?php echo esc_html__('/wp-content', 'wpbot'); ?></b> <?php echo esc_html__('folder. This package is around', 'wpbot'); ?> <b><?php echo esc_html__('0 MB', 'wpbot'); ?></b><?php echo esc_html__(' in zip file format and it will be about', 'wpbot'); ?> <b><?php echo esc_html__('49 MB', 'wpbot'); ?></b> <?php echo esc_html__('after unzipping. Please make sure that your server has enough space to store that package.', 'wpbot'); ?></p> |
| 1952 |
<div class="<?php esc_attr_e( 'qcld-wpbot-gcdownload-area', 'wpbot' ); ?> "> |
| 1953 |
<button class="<?php esc_attr_e( 'btn btn-primary', 'wpbot' ); ?>" id="<?php esc_attr_e( 'qc_wpbot_gc_download', 'wpbot' ); ?>" <?php echo (!is_writable(QCLD_wpCHATBOT_GC_ROOT)?'disabled':''); ?>><?php echo esc_html__('Download and Install the Google Client', 'wpbot'); ?></button> |
| 1954 |
<?php |
| 1955 |
if(!is_writable(QCLD_wpCHATBOT_GC_ROOT)){ |
| 1956 |
echo '<span style="color:red;font-size: 12px; "><b>wp-content </b> folder is not writable.</span>'; |
| 1957 |
} |
| 1958 |
?> |
| 1959 |
<br> |
| 1960 |
<br> |
| 1961 |
<p><?php echo esc_html__('Alternatively, If the download operation fails for some reason like folder permission or server timeout issue then you can manually upload the ', 'wpbot'); ?> <u title="Google Client', 'wpbot' ); ?> "><?php echo esc_html__('GC', 'wpbot'); ?></u> <?php echo esc_html__('package by following some simple steps.', 'wpbot'); ?></p> |
| 1962 |
<p><?php echo esc_html__('1. Download GC package from:', 'wpbot'); ?> <a href="https://github.com/qcloud/gc/archive/master.zip" target="_blank', 'wpbot' ); ?> ">https://github.com/qcloud/gc/archive/master.zip</a></p> |
| 1963 |
<p><?php echo esc_html__('2. Unzip the', 'wpbot'); ?> <b><?php echo esc_html__('wpbotgc.zip', 'wpbot'); ?></b> <?php echo esc_html__('inside to your computer.', 'wpbot'); ?></p> |
| 1964 |
<p><?php echo esc_html__('3. Create a folder with name ', 'wpbot'); ?><b><?php echo esc_html__('wpbot-dfv2-client', 'wpbot'); ?></b> <?php echo esc_html__('under ', 'wpbot'); ?><b><?php echo esc_html__('wp-content', 'wpbot'); ?></b> <?php echo esc_html__('into your server.', 'wpbot'); ?></p> |
| 1965 |
<p><?php echo esc_html__('4. Upload the upziped files and folders into', 'wpbot'); ?> <b><?php echo esc_html__('wpbot-dfv2-client', 'wpbot'); ?></b><?php echo esc_html__(' via FTP.', 'wpbot'); ?></p> |
| 1966 |
<div class="<?php esc_attr_e( 'qcld_wpbot_download_statuses', 'wpbot' ); ?> "> </div> |
| 1967 |
</div> |
| 1968 |
<br> |
| 1969 |
</div> |
| 1970 |
<?php else: ?> |
| 1971 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1972 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?>" style="color:green "><?php echo esc_html__('Google Client Package is Installed on Your Website.', 'wpbot'); ?></h4> |
| 1973 |
</div> |
| 1974 |
<?php endif; ?> |
| 1975 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1976 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?>" ><?php echo esc_html__('Please follow along with this', 'wpbot'); ?> <a href="https://www.wpbot.pro/dialogflow-integration" target="_blank', 'wpbot' ); ?> "><?php echo esc_html__('tutorial.', 'wpbot'); ?> </a><?php echo esc_html__(' It will help you to create a project id, private key and integrate WPBot with Dialogflow. For DialogFlow agent region, try choosing any region other than the EU region which has known issues.', 'wpbot'); ?> </h4> |
| 1977 |
</div> |
| 1978 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 1979 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('DialogFlow Project ID', 'wpbot'); ?></h4> |
| 1980 |
<p><?php echo esc_html__('You can follow the', 'wpbot'); ?> <a href="https://www.youtube.com/watch?v=qY-EHFY2wH8" target="_blank', 'wpbot' ); ?> "><?php echo esc_html__('tutorial', 'wpbot'); ?> </a><?php echo esc_html__(' to get the Project ID.', 'wpbot'); ?> </p> |
| 1981 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 1982 |
name="qlcd_wp_chatbot_dialogflow_project_id" |
| 1983 |
value="<?php echo(get_option('qlcd_wp_chatbot_dialogflow_project_id') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_id') : ''); ?>" placeholder="<?php echo esc_html__('DialogFlow Project ID', 'wpbot'); ?> "> |
| 1984 |
</div> |
| 1985 |
<?php |
| 1986 |
|
| 1987 |
$placeholderPrivatekey = '{ |
| 1988 |
"type": "service_account", |
| 1989 |
"project_id": "PLACEYOUROWNID", |
| 1990 |
"private_key_id": "31e300128..........c48", |
| 1991 |
"private_key": "-----BEGIN PRIVATE KEY-----\nTHIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with ACTUAL KEY.+OdT09MGEdAjlgSF2HMDA3fl8Ey4dmTxRfAN9No6G3Ugs3BrpZHfY\nSviWzS4JQ0GkCubcJc0DzJ8AqG6xX7E3SfKpdtKEn1eYV7sfQL3C2lm2lTj6nWdt\nxrkhJVHn61kxfPAWChnkdPa5EbMNFnV5mN5rhwaOxR+tEjW9nWBjVFG0NMnOMWF4\nsu6QJVjQMtI99jPBCid1r4XV/sPABSXh8dscWdMinGhZfuCjF4sOGHUUaw+VDGb6\nZpPOh65nw5fsdOHETsb4BN/LW72Khux+870Ig4jkuLIN3PnSF9QfwO8U2qTG5sZK\nn5nxhT9zAgMBAAECggEAX1NSWRGnrcVsu6n1jn9xUpzvxyy+CJe1Z1DvHo1tmHNS\n0Q8OI/Y........THIS IS A DEMO PRIVATE KEY to SHOW HOW IT SHOULD LOOK. Replace with your own key......................................paqQKBgQCJ\nvNCZIHpLGVqwiw4SVYgZW2i+VsZ78sOw0SuuhjZNmOlGjpalbQCjKs9l5dSz5t5D\nVleJVyriFaXyvVty/iF6orqTgv0EhcLO2RI9KSrTpbOXcIkgeunAhRM3oloxSndt\n98H3f1xRvTLIm1enERLkOyGHmm7nWFV0BQWD+CxeCwKBgDtBGn+uBgNgZjSaLnkJ\noemAoIBN6aD4+QWduPldRgTilH6ABQ26SL+t4sa9jbAtkMuD/hWOMLBqmz98tfCC\ndy6cPghea+b0S7lj/wmUaDA1Vmz7luCLm+lO+fe3K6WIlEhAP/9MXVH90Sj6CllF\nAn4stWzIKHrRKA3lIvgJv+9W\n-----END PRIVATE KEY-----\n", |
| 1992 |
"client_email": "dialogflow-evysjn@wpbotpro.iam.gserviceaccount.com", |
| 1993 |
"client_id": "1026.....032997", |
| 1994 |
"auth_uri": "https://accounts.google.com/o/oauth2/auth", |
| 1995 |
"token_uri": "https://oauth2.googleapis.com/token", |
| 1996 |
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", |
| 1997 |
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dialogflow-evysjn%40wpbotpro.iam.gserviceaccount.com" |
| 1998 |
}'; |
| 1999 |
|
| 2000 |
?> |
| 2001 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 2002 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('Private Key', 'wpbot'); ?></h4> |
| 2003 |
<p><?php echo esc_html__('Put your google service account`s private key JSON string here. You can follow the', 'wpbot'); ?> <a href="https://www.youtube.com/watch?v=qY-EHFY2wH8" target="_blank', 'wpbot' ); ?> "><?php echo esc_html__('tutorial', 'wpbot'); ?></a> <?php echo esc_html__('to get private key JSON file. ', 'wpbot'); ?></p> |
| 2004 |
<textarea class="<?php esc_attr_e( 'form-control', 'wpbot' ); ?>" rows="20" name="qlcd_wp_chatbot_dialogflow_project_key" placeholder='<?php echo $placeholderPrivatekey; ?>'><?php echo(get_option('qlcd_wp_chatbot_dialogflow_project_key') != '' ? get_option('qlcd_wp_chatbot_dialogflow_project_key') : ''); ?></textarea> |
| 2005 |
</div> |
| 2006 |
|
| 2007 |
<!-- End Dialogflow V2 Configuration --> |
| 2008 |
</div> |
| 2009 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 2010 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('Please Click the Button Below to Test Dialogflow Connection.', 'wpbot'); ?> </h4> |
| 2011 |
<p style="color:red "><?php echo esc_html__('*Save settings before pressing Test Dialogflow Connection', 'wpbot'); ?><br> |
| 2012 |
<?php echo esc_html__('*You must have owner permission for the service account your are using in Dialogflow agent.', 'wpbot'); ?></p> |
| 2013 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 2014 |
<button class="<?php esc_attr_e( 'btn btn-primary', 'wpbot' ); ?>" id="<?php esc_attr_e( 'qc_wpbot_df_status', 'wpbot' ); ?> "><?php echo esc_html__('Test Dialogflow Connection', 'wpbot'); ?></button> |
| 2015 |
<div class="<?php esc_attr_e( 'qcwp_df_status', 'wpbot' ); ?> "></div> |
| 2016 |
</div> |
| 2017 |
</div> |
| 2018 |
<br> |
| 2019 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 2020 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "> |
| 2021 |
<?php esc_html_e('DialofFlow Default reply', 'wpbot'); ?> |
| 2022 |
</h4> |
| 2023 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 2024 |
name="qlcd_wp_chatbot_dialogflow_defualt_reply" |
| 2025 |
value="<?php echo(get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') != '' ? get_option('qlcd_wp_chatbot_dialogflow_defualt_reply') : 'Sorry, I did not understand you. You may browse'); ?>" placeholder="<?php esc_html_e('DialogFlow default reply', 'wpbot'); ?> "> |
| 2026 |
</div> |
| 2027 |
<div class="<?php esc_attr_e( 'form-group', 'wpbot' ); ?> "> |
| 2028 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php echo esc_html__('DialogFlow Agent Language (Ex: en)', 'wpbot'); ?></h4> |
| 2029 |
<input type="text" class="<?php esc_attr_e( 'form-control qc-opt-dcs-font', 'wpbot' ); ?>" |
| 2030 |
name="qlcd_wp_chatbot_dialogflow_agent_language" |
| 2031 |
value="<?php echo (get_option('qlcd_wp_chatbot_dialogflow_agent_language') != '' ? get_option('qlcd_wp_chatbot_dialogflow_agent_language') : 'en'); ?>" placeholder="<?php echo esc_html__('DialogFlow Agent Language', 'wpbot'); ?>"> |
| 2032 |
</div> |
| 2033 |
</div> |
| 2034 |
</div> |
| 2035 |
</div> |
| 2036 |
</section> |
| 2037 |
<section id="<?php esc_attr_e( 'section-flip-7', 'wpbot' ); ?> "> |
| 2038 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 2039 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 2040 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 2041 |
<h4 class="<?php esc_attr_e( 'qc-opt-dcs', 'wpbot' ); ?> "><?php echo esc_html__('You can paste or write your custom css here.', 'wpbot'); ?></h4> |
| 2042 |
<textarea name="wp_chatbot_custom_css" |
| 2043 |
class="<?php esc_attr_e( 'form-control wp-chatbot-custom-css" |
| 2044 |
cols="10" |
| 2045 |
rows="16', 'wpbot' ); ?> "><?php echo get_option('wp_chatbot_custom_css'); ?></textarea> |
| 2046 |
</div> |
| 2047 |
</div> |
| 2048 |
<!-- row--> |
| 2049 |
</div> |
| 2050 |
</section> |
| 2051 |
|
| 2052 |
<section id="<?php esc_attr_e( 'section-flip-9', 'wpbot' ); ?> "> |
| 2053 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks-addon', 'wpbot' ); ?> "><?php echo esc_html__('Install Conversational form builder to Create Button(menu) Driven Conversations.', 'wpbot'); ?><</br> |
| 2054 |
<?php echo esc_html__('After creating a Conversational form, you can add it to the ChatBot`s', 'wpbot'); ?><b><?php echo esc_html__('Start Menu.', 'wpbot'); ?></b></div> |
| 2055 |
|
| 2056 |
<?php include_once QCLD_wpCHATBOT_PLUGIN_DIR_PATH . '/qcld-recommendbot-plugin.php';?> |
| 2057 |
</section> |
| 2058 |
|
| 2059 |
|
| 2060 |
<!--<section id="<?php esc_attr_e( 'section-flip-10', 'wpbot' ); ?> "> |
| 2061 |
<div class="<?php esc_attr_e( 'wp-chatbot-language-center-summmery', 'wpbot' ); ?> "> |
| 2062 |
<p><?php esc_html_e('Enable the Mobile App feature ONLY if you bought ', 'wpbot'); ?> <a target="_blank" href="https://www.quantumcloud.com/products/wpcommerce-chatbot-wpwbot/#app', 'wpbot' ); ?> "><?php esc_html_e(' the Mobile App Addon.', 'wpbot'); ?></a> |
| 2063 |
</div> |
| 2064 |
<div class="<?php esc_attr_e( 'top-section', 'wpbot' ); ?> "> |
| 2065 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 2066 |
<div class="<?php esc_attr_e( 'col-xs-12', 'wpbot' ); ?> "> |
| 2067 |
<h4 class="<?php esc_attr_e( 'qc-opt-title', 'wpbot' ); ?> "><?php esc_html_e('Mobile App Pages', 'wpbot'); ?> </h4> |
| 2068 |
<div class="<?php esc_attr_e( 'cxsc-settings-blocks', 'wpbot' ); ?> "> |
| 2069 |
<input value="1" id="<?php esc_attr_e( 'wp_chatbot_app_pages', 'wpbot' ); ?>" type="checkbox" |
| 2070 |
name="wp_chatbot_app_pages" <?php echo(get_option('wp_chatbot_app_pages') == 1 ? 'checked' : ''); ?>> |
| 2071 |
<label for="wp_chatbot_app_pages', 'wpbot' ); ?> "><?php esc_html_e('Create pages for WpBot Mobile App', 'wpbot'); ?> </label> |
| 2072 |
</div> |
| 2073 |
<br> |
| 2074 |
<p class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> "><?php esc_html_e('Following pages will be created to use in', 'wpbot'); ?> <strong> <?php esc_html_e('WpBot', 'wpbot'); ?> </strong> <?php esc_html_e(' Android or IOS Mobile App', 'wpbot'); ?>.</p> |
| 2075 |
<ol> |
| 2076 |
<li><?php esc_html_e('WpBot Mobile App', 'wpbot'); ?></li> |
| 2077 |
<li><?php esc_html_e('WpBot App Checkout', 'wpbot'); ?></li> |
| 2078 |
<li><?php esc_html_e('WpBot App Order Thank You', 'wpbot'); ?></li> |
| 2079 |
</ol> |
| 2080 |
<p class="<?php esc_attr_e( 'qc-opt-title-font', 'wpbot' ); ?> "><?php esc_html_e('Follow the', 'wpbot'); ?> <strong> <?php esc_html_e('Documentation', 'wpbot'); ?> </strong> <?php esc_html_e('to build & publish a Mobile Application (Android or IOS ) for your store using any of', 'wpbot'); ?> </p> |
| 2081 |
<ol> |
| 2082 |
<li><?php esc_html_e('WpBot Ionic FrameWork package', 'wpbot'); ?></li> |
| 2083 |
<li><?php esc_html_e('WpBot PhoneGap package', 'wpbot'); ?></li> |
| 2084 |
</ol> |
| 2085 |
</div> |
| 2086 |
</div> |
| 2087 |
</div> |
| 2088 |
|
| 2089 |
</section>--> |
| 2090 |
|
| 2091 |
|
| 2092 |
</div> |
| 2093 |
<!-- /content --> |
| 2094 |
</div> |
| 2095 |
<!-- /wp-chatbot-tabs --> |
| 2096 |
<footer class="<?php esc_attr_e( 'wp-chatbot-admin-footer', 'wpbot' ); ?> "> |
| 2097 |
<div class="<?php esc_attr_e( 'row', 'wpbot' ); ?> "> |
| 2098 |
<div class="<?php esc_attr_e( 'text-left col-sm-3 col-sm-offset-3', 'wpbot' ); ?> "> |
| 2099 |
<input type="button" class="<?php esc_attr_e( 'btn btn-warning submit-button', 'wpbot' ); ?>" |
| 2100 |
id="<?php esc_attr_e( 'qcld-wp-chatbot-reset-option', 'wpbot' ); ?>" |
| 2101 |
value="<?php esc_html_e('Reset all options to Default', 'wpbot'); ?>"/> |
| 2102 |
</div> |
| 2103 |
<div class="<?php esc_attr_e( 'text-right col-sm-6', 'wpbot' ); ?> "> |
| 2104 |
<input type="submit" class="<?php esc_attr_e( 'btn btn-primary submit-button', 'wpbot' ); ?>" name="submit" |
| 2105 |
id="<?php esc_attr_e( 'submit', 'wpbot' ); ?>" value="<?php esc_html_e('Save Settings', 'wpbot'); ?>"/> |
| 2106 |
</div> |
| 2107 |
</div> |
| 2108 |
<!-- row--> |
| 2109 |
</footer> |
| 2110 |
</section> |
| 2111 |
</div> |
| 2112 |
<?php wp_nonce_field('wp_chatbot'); ?> |
| 2113 |
</form> |
| 2114 |
<script> |
| 2115 |
|
| 2116 |
</script> |