PluginProbe
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services / 7.2.5
WPBot – AI ChatBot for Live Support, Lead Generation, WordPress Automation, AI Services v7.2.5
8.7.9 8.7.8 8.7.7 8.7.6 8.7.5 8.7.4 8.7.3 8.7.2 8.7.1 8.7.0 8.6.9 8.6.8 8.6.7 8.6.6 8.6.5 8.6.4 8.6.2 8.6.1 8.6.0 8.5.9 8.5.8 8.5.7 8.5.6 8.5.5 8.5.4 All 535 releases
← All changes | includes/simple_text_response.php +62 -170 8.7.87.2.5 View file →
@@ -17,13 +17,13 @@
17 17 elseif(isset($_GET['page']) && $_GET['page']=='simple-text-response' && isset($_GET['action']) && $_GET['action']=='import'):
18 18
19 19 do_action('qcld_str_import');
20 20
21 - elseif(isset($_GET['action']) && wp_unslash($_GET['action'])=='manage-categories'):
21 + elseif(isset($_GET['action']) && $_GET['action']=='manage-categories'):
22 22
23 23 include_once(QCLD_wpCHATBOT_PLUGIN_DIR_PATH.'/includes/templates/manage-categories.php');
24 24
25 - elseif(isset($_GET['action']) && wp_unslash($_GET['action'])=='edit'):
25 + elseif(isset($_GET['action']) && $_GET['action']=='edit'):
26 26
27 27 if(class_exists('Qcld_str_pro')):
28 28 do_action('qcld_str_pro_stredit');
29 29 else:
@@ -28,20 +28,19 @@
28 28 do_action('qcld_str_pro_stredit');
29 29 else:
30 30
31 31 $hasEdit = false;
32 - if(isset($_GET['query']) && wp_unslash($_GET['query'])!=''){
32 + if(isset($_GET['query']) && $_GET['query']!=''){
33 33 $hasEdit = true;
34 - $id = sanitize_text_field(wp_unslash($_GET['query']));
34 + $id = sanitize_text_field($_GET['query']);
35 35 $table = $wpdb->prefix.'wpbot_response';
36 - $data = $wpdb->get_row($wpdb->prepare("select * from {$table} where id = %d", $id)); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter
36 + $data = $wpdb->get_row($wpdb->prepare("select * from $table where id = %d", $id)); //DB Call OK, No Caching OK
37 37 }
38 38 ?>
39 39 <div class="qcld-wp-chatbot-wrap-header">
40 40
41 - <div class="qcld-wp-chatbot-wrap-header-logo"><a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
42 - <p><strong>Core Version:</strong> v<?php echo esc_html( QCLD_wpCHATBOT_VERSION ); ?></p>
43 - </div>
41 + <a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
42 + <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p>
44 43 <ul class="qcld-wp-chatbot-wrap-version-wrapper">
45 44 <li>
46 45 <a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a>
47 46
@@ -54,26 +53,26 @@
54 53 <div class="wpbot_dashboard_header "><h1><?php echo ($hasEdit?'Edit':'Add') ?> Response</h1></div>
55 54 <form method="post" action="">
56 55 <div class="wpbot_addons_section ">
57 56 <div class="wpbot_single_addon_wrapper2">
58 - <p><b><?php esc_html_e('Please note the following ', 'chatbot'); ?></b></p>
57 + <p><b><?php esc_html_e('Please note the following ', 'wpbot'); ?></b></p>
59 58 <ul>
60 - <li> <?php esc_html_e('1. The Query, Response and Keywords fields will be searched. Add Keywords for best matches', 'chatbot'); ?></li>
61 - <li> <?php esc_html_e('2. Please clear browser Cache and Cookies both before testing new responses', 'chatbot'); ?></li>
59 + <li> <?php esc_html_e('1. The Query, Response and Keywords fields will be searched. Add Keywords for best matches', 'wpbot'); ?></li>
60 + <li> <?php esc_html_e('2. Please clear browser Cache and Cookies both before testing new responses', 'wpbot'); ?></li>
62 61 </ul>
63 62 <table class="form-table-str form-table">
64 63 <tbody>
65 64 <tr valign="top">
66 - <th scope="row"><?php esc_html_e('Query', 'chatbot'); ?></th>
65 + <th scope="row"><?php esc_html_e('Query', 'wpbot'); ?></th>
67 66 <td>
68 67 <input name="str_nonce" type="hidden" value="<?php echo sanitize_key( wp_create_nonce('str-nonce') ); ?>" />
69 68 <input type="text" name="qc_bot_str_query" value="<?php echo esc_attr($hasEdit?$data->query:''); ?>" style="width: 100%;" required />
70 - <br><i><?php esc_html_e('*Required. Add the query here. ', 'chatbot'); ?></i>
69 + <br><i><?php esc_html_e('*Required. Add the query here. ', 'wpbot'); ?></i>
71 70 </td>
72 71 </tr>
73 72
74 73 <tr valign="top">
75 - <th scope="row"> <?php esc_html_e('Response', 'chatbot'); ?></th>
74 + <th scope="row"> <?php esc_html_e('Response', 'wpbot'); ?></th>
76 75 <td>
77 76 <?php
78 77
79 78 $content = ($hasEdit?$data->response:'');
@@ -82,9 +81,9 @@
82 81
83 82 wp_editor( $content, $editor_id, $settings );
84 83
85 84 ?>
86 - <br><i><?php esc_html_e('*Required. Add the response here. ', 'chatbot'); ?></i>
85 + <br><i><?php esc_html_e('*Required. Add the response here. ', 'wpbot'); ?></i>
87 86 </td>
88 87 </tr>
89 88 <tr valign="top">
90 89 <th scope="row">Keyword</th>
@@ -89,9 +88,9 @@
89 88 <tr valign="top">
90 89 <th scope="row">Keyword</th>
91 90 <td>
92 91 <input type="text" name="qc_bot_str_keyword" value="<?php echo esc_attr($hasEdit?$data->keyword:''); ?>" style="width: 100%;" />
93 - <br><i> <?php esc_html_e('Optional. Add multiple keyword or phrases as comma(,) seperated value. It will help to find the best match result.', 'chatbot'); ?></i>
92 + <br><i> <?php esc_html_e('Optional. Add multiple keyword or phrases as comma(,) seperated value. It will help to find the best match result.', 'wpbot'); ?></i>
94 93 </td>
95 94 </tr>
96 95
97 96
@@ -119,15 +118,14 @@
119 118 </div>
120 119 </div>
121 120 <?php endif; ?>
122 121
123 -
124 122 <?php else: ?>
125 123
126 124 <div class="qcld-wp-chatbot-wrap-header">
127 125
128 - <a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
129 - <p><strong>Core Version:</strong> v<?php echo esc_html( QCLD_wpCHATBOT_VERSION ); ?></p>
126 + <a href="#" class="qcld-wp-chatbot-wrap-site__logo"><img style="width:100%" src="<?php echo esc_url( QCLD_wpCHATBOT_IMG_URL . '/chatbot.png' ); ?>" alt="Dialogflow CX"> WPBot Control Panel </a>
127 + <p><strong>Core Version:</strong> v<?php echo QCLD_wpCHATBOT_VERSION; ?></p>
130 128 <ul class="qcld-wp-chatbot-wrap-version-wrapper">
131 129 <li>
132 130 <a class="wpchatbot-Upgrade" href="https://www.wpbot.pro/" target="_blank">Upgrade To Pro</a>
133 131
@@ -136,16 +134,16 @@
136 134 </div>
137 135
138 136 <div class="qcld-wp-chatbot-wrap-header_inn">
139 137 <div class="qcld-wp-chatbot-wrap-header_inn_heading">
140 - <h1 class="wp-heading-inline"><?php esc_html_e('Simple Text Responses', 'chatbot'); ?></h1>
141 - <a style="visibility: hidden;" href="<?php echo esc_url( add_query_arg( 'action', 'edit', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action"><?php esc_html_e('Add New', 'chatbot'); ?></a>
138 + <h1 class="wp-heading-inline"><?php esc_html_e('Simple Text Responses', 'wpbot'); ?></h1>
139 + <a href="<?php echo esc_url( add_query_arg( 'action', 'edit', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action"><?php esc_html_e('Add New', 'wpbot'); ?></a>
142 140 </div>
143 141 <?php if(class_exists('Qcld_str_pro')): ?>
144 142
145 - <a href="<?php echo esc_url( add_query_arg( 'action', 'manage-categories', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action"><?php esc_html_e('Manage Categories', 'chatbot'); ?></a>
146 - <a href="<?php echo esc_url( admin_url( 'admin-post.php?action=qc_str_export' ) ); ?>" class="button page-title-action"><?php esc_html_e('Export', 'chatbot'); ?></a>
147 - <a href="<?php echo esc_url( add_query_arg( 'action', 'import', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action"><?php esc_html_e('Import', 'chatbot'); ?></a>
143 + <a href="<?php echo esc_url( add_query_arg( 'action', 'manage-categories', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action"><?php esc_html_e('Manage Categories', 'wpbot'); ?></a>
144 + <a href="<?php echo esc_url( admin_url( 'admin-post.php?action=qc_str_export' ) ); ?>" class="button page-title-action"><?php esc_html_e('Export', 'wpbot'); ?></a>
145 + <a href="<?php echo esc_url( add_query_arg( 'action', 'import', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action"><?php esc_html_e('Import', 'wpbot'); ?></a>
148 146 </div>
149 147 <?php endif; ?>
150 148 <div class="TextResponsesouter">
151 149 <div class="wrap TextResponses">
@@ -153,53 +151,41 @@
153 151 <div id="qcld-show-more-wrapper-box">
154 152 <div class="qcld-show-more-text qcld-show-more-show-more-height">
155 153
156 154 <div class="wrapTexttop">
157 - <p><?php esc_html_e('Create simple text responses and the ChatBot will use advanced search algorithm to answer user questions. This is a simpler alternative to OpenAI or DialogFlow.', 'chatbot'); ?><br>
158 - <b><?php esc_html_e('NB: Simple Text Responses require mySQL Client version 5.6+', 'chatbot'); ?></b></p>
155 + <p><?php esc_html_e('Create simple text responses and the ChatBot will use advanced search algorithm to answer user questions. This is a simpler alternative to OpenAI or DialogFlow.', 'wpbot'); ?><br>
156 + <b><?php esc_html_e('NB: Simple Text Responses require mySQL Client version 5.6+', 'wpbot'); ?></b></p>
159 157 </div>
160 158 <form method="post" action="">
161 159 <table class="form-table-str form-table">
162 160 <tbody>
163 161 <tr valign="top">
164 - <th scope="row"><?php esc_html_e('Phrase matching accuracy', 'chatbot'); ?></th>
162 + <th scope="row"><?php esc_html_e('Phrase matching accuracy', 'wpbot'); ?></th>
165 163 <td>
166 164 <input name="str_nonce" type="hidden" value="<?php echo sanitize_key( wp_create_nonce('str-nonce') ); ?>" />
167 - <input type="text" name="qc_bot_str_weight" value="<?php echo esc_attr( !empty(get_option('qc_bot_str_weight')) ? get_option('qc_bot_str_weight') : '0.4' ); ?>" style="width: 100%;" required />
168 - <br><i><?php esc_html_e('Please enter a value between 0 to 1. Higher value means more exact matching of phrases.', 'chatbot'); ?></i>
165 + <input type="text" name="qc_bot_str_weight" value="<?php esc_attr_e((get_option('qc_bot_str_weight')!=''?get_option('qc_bot_str_weight'):'0.4')); ?>" style="width: 100%;" required />
166 + <br><i><?php esc_html_e('Please enter a value between 0 to 1. Higher value means more exact matching of phrases.', 'wpbot'); ?></i>
169 167 </td>
170 168 </tr>
171 169 <tr valign="top">
172 - <th scope="row"><?php esc_html_e('Search Fields', 'chatbot'); ?></th>
170 + <th scope="row"><?php esc_html_e('Search Fields', 'wpbot'); ?></th>
173 171 <td>
174 172 <?php
175 173 $fields = get_option('qc_bot_str_fields');
176 174 ?>
177 175
178 - <label for="qc_bot_str_field_title"><?php esc_html_e('Title', 'chatbot'); ?></label>
176 + <label for="qc_bot_str_field_title"><?php esc_html_e('Title', 'wpbot'); ?></label>
179 177 <input id="qc_bot_str_field_title" type="checkbox" name="qc_bot_str_fields[]" value="query" <?php echo (!$fields?'checked="checked"':''); ?> <?php echo ($fields && in_array('query', $fields)?'checked="checked"':''); ?> />
180 178
181 - <label for="qc_bot_str_field_keyword"><?php esc_html_e('Keyword', 'chatbot'); ?></label>
179 + <label for="qc_bot_str_field_keyword"><?php esc_html_e('Keyword', 'wpbot'); ?></label>
182 180 <input id="qc_bot_str_field_keyword" type="checkbox" name="qc_bot_str_fields[]" value="keyword" <?php echo (!$fields?'checked="checked"':''); ?> <?php echo ($fields && in_array('keyword', $fields)?'checked="checked"':''); ?> />
183 181
184 - <label for="qc_bot_str_field_response"><?php esc_html_e('Response', 'chatbot'); ?></label>
182 + <label for="qc_bot_str_field_response"><?php esc_html_e('Response', 'wpbot'); ?></label>
185 183 <input id="qc_bot_str_field_response" type="checkbox" name="qc_bot_str_fields[]" value="response" <?php echo (!$fields?'checked="checked"':''); ?> <?php echo ($fields && in_array('response', $fields)?'checked="checked"':''); ?> />
186 - <br><i><?php esc_html_e('Please check/uncheck to allow/disallow searching in that fields', 'chatbot'); ?></i>
184 + <br><i><?php esc_html_e('Please check/uncheck to allow/disallow searching in that fields', 'wpbot'); ?></i>
187 185 </td>
188 186 </tr>
189 - <?php
190 - $current_user = wp_get_current_user();
191 - if ( in_array( 'administrator', $current_user->roles )) {
192 - ?>
193 - <tr valign="top">
194 - <th scope="row"><?php echo esc_html( 'Allow Author & Editor to edit STR' ); ?></th>
195 - <td>
196 - <input id="qc_bot_str_allow_author_editor" type="checkbox" name="qc_bot_str_allow_author_editor" value="1" <?php echo ( get_option( 'qc_bot_str_allow_author_editor' ) && get_option( 'qc_bot_str_allow_author_editor' ) == 1 ? 'checked="checked"' : '' ); ?> />
197 - <label for="qc_bot_str_allow_author_editor"><?php echo esc_html( 'Allow Author & Editor to edit STR' ); ?></label>
198 - <br><i><?php echo esc_html( 'Please enable to allow Author & Editor to edit STR.' ); ?></i>
199 - </td>
200 - </tr>
201 - <?php } ?>
187 +
202 188 <tr valign="top">
203 189 <th scope="row"></th>
204 190 <td>
205 191 <input type="submit" class="button button-primary" name="submit" id="submit" value="Save Settings">
@@ -211,14 +197,14 @@
211 197 <form method="post" action="">
212 198 <table class="form-table-str form-table">
213 199 <tbody>
214 200 <tr valign="top">
215 - <th scope="row"><?php esc_html_e('Re-Index STR', 'chatbot'); ?></th>
201 + <th scope="row"><?php esc_html_e('Re-Index STR', 'wpbot'); ?></th>
216 202 <td>
217 203 <input name="str_nonce" type="hidden" value="<?php echo sanitize_key( wp_create_nonce('str-nonce') ); ?>" />
218 204 <input type="submit" class="button button-primary" name="qc-re-index" id="re-index" value="Re Index">
219 205
220 - <i><?php esc_html_e('Re-Index if results are not as expected.', 'chatbot'); ?></i>
206 + <i><?php esc_html_e('Re-Index if results are not as expected.', 'wpbot'); ?></i>
221 207 </td>
222 208 </tr>
223 209 </tbody>
224 210 </table>
@@ -226,9 +212,9 @@
226 212
227 213
228 214
229 215 </div>
230 - <div class="qcld-show-more-show-more"><div class="Expandmore">Expand for More Options<span>+</span></div></div>
216 + <div class="qcld-show-more-show-more"><i class="fa fa-plus-circle" aria-hidden="true"></i></div>
231 217 </div>
232 218
233 219 <div id="poststuff">
234 220 <div id="post-body" class="metabox-holder">
@@ -235,9 +221,9 @@
235 221 <div id="post-body-content-edit" class="str-form">
236 222 <div class="meta-box-sortables ui-sortable">
237 223 <form method="post">
238 224
239 - <a href="<?php echo esc_url( add_query_arg( 'action', 'edit', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action str-addnew"><?php esc_html_e('Add New', 'chatbot'); ?></a>
225 + <a href="<?php echo esc_url( add_query_arg( 'action', 'edit', admin_url('admin.php?page=simple-text-response') ) ); ?>" class="button page-title-action str-addnew"><?php esc_html_e('Add New', 'wpbot'); ?></a>
240 226 <?php
241 227 $this->response_list->prepare_items();
242 228 $this->response_list->display(); ?>
243 229 </form>
@@ -250,28 +236,11 @@
250 236 </div>
251 237 <?php endif; ?>
252 238
253 239
254 -
255 240 <style>
256 -/* WPBot design tokens — change colors here to theme the whole admin UI */
257 -:root {
258 - --woobot-primary: #5B4E96;
259 - --woobot-primary-color: #5B4E96;
260 - --woobot-primary-dark: #463a7a;
261 - --woobot-primary-soft: #f3f1fa;
262 - --woobot-primary-border: #e4e0f2;
263 - --woobot-surface: #ffffff;
264 - --woobot-page-bg: #F5F7FD;
265 - --woobot-text: #2d2a3a;
266 - --woobot-muted: #6b6680;
267 - --woobot-danger: #e25563;
268 - --woobot-nav-muted: #988FBD;
269 - --woobot-primary-rgb: 91, 78, 150;
270 -}
271 -
272 241 body {
273 - background-color: var(--woobot-page-bg);
242 + background-color: #F5F7FD;
274 243 font-family: "DM Sans", sans-serif !important;
275 244 font-optical-sizing: auto;
276 245 font-size: 16px;
277 246 font-weight: normal;
@@ -298,10 +267,10 @@
298 267 }
299 268 .qcld-wp-chatbot-wrap-header a.wpchatbot-Upgrade {
300 269 padding: 12px 25px;
301 270 background: #ffffff;
302 - color: var(--woobot-primary);
303 - border: 2px solid var(--woobot-primary);
271 + color: #5B4E96;
272 + border: 2px solid #5B4E96;
304 273 border-radius: 6px;
305 274 font-weight: bold;
306 275 }
307 276
@@ -306,11 +275,11 @@
306 275 }
307 276
308 277 .qcld-wp-chatbot-wrap-header a.wpchatbot-Upgrade:hover {
309 278 padding: 12px 25px;
310 - background: var(--woobot-primary);
279 + background: #5B4E96;
311 280 color: #fff;
312 - border: 2px solid var(--woobot-primary);
281 + border: 2px solid #5B4E96;
313 282 border-radius: 6px;
314 283 font-weight: bold;
315 284 text-decoration: none;
316 285 }
@@ -404,15 +373,15 @@
404 373 padding: 12px 20px;
405 374 width: 100%;
406 375 font-size: 16px;
407 376 font-weight: 500;
408 - color: var(--woobot-nav-muted);
377 + color: #988FBD;
409 378 border-radius: 8px;
410 379 position: relative;
411 380 display: flex;
412 381 align-items: center;
413 382 gap: 15px;
414 - background: var(--woobot-primary);
383 + background: #5B4E96;
415 384 color: #ffffff;
416 385 text-decoration: none;
417 386 border: none;
418 387 max-width: 220px;
@@ -421,10 +390,10 @@
421 390 }
422 391 .qcld-wp-chatbot-wrap-header_inn a.button.page-title-action {
423 392 padding: 3px 25px;
424 393 background: #ffffff;
425 - color: var(--woobot-primary);
426 - border: 2px solid var(--woobot-primary);
394 + color: #5B4E96;
395 + border: 2px solid #5B4E96;
427 396 border-radius: 6px;
428 397 font-weight: bold;
429 398 }
430 399
@@ -429,11 +398,11 @@
429 398 }
430 399
431 400 .qcld-wp-chatbot-wrap-header_inn a.button.page-title-action:hover {
432 401 padding: 0px 15px;
433 - background: var(--woobot-primary);
402 + background: #5B4E96;
434 403 color: #fff;
435 - border: 2px solid var(--woobot-primary);
404 + border: 2px solid #5B4E96;
436 405 border-radius: 6px;
437 406 font-weight: bold;
438 407 position: absolute;
439 408 top: 36px;
@@ -441,10 +410,10 @@
441 410 }
442 411 .qcld-wp-chatbot-wrap-header_inn a.button.page-title-action {
443 412 padding: 0px 15px;
444 413 background: #ffffff;
445 - color: var(--woobot-primary);
446 - border: 2px solid var(--woobot-primary);
414 + color: #5B4E96;
415 + border: 2px solid #5B4E96;
447 416 border-radius: 6px;
448 417 font-weight: bold;
449 418 position: absolute;
450 419 top: 36px;
@@ -454,9 +423,9 @@
454 423 .qcld-wp-chatbot-wrap-header_inn {
455 424 position: relative;
456 425 }
457 426 .notice.is-dismissible.qcbot-str-top-notic {
458 - width: 95%;
427 + width: 96%;
459 428 }
460 429
461 430 .TextResponsesouter i {
462 431 position: relative;
@@ -474,10 +443,10 @@
474 443
475 444 .TextResponsesouter input#submit {
476 445 padding: 0px 15px;
477 446 background: #ffffff;
478 - color: var(--woobot-primary);
479 - border: 2px solid var(--woobot-primary);
447 + color: #5B4E96;
448 + border: 2px solid #5B4E96;
480 449 border-radius: 6px;
481 450 font-weight: bold;
482 451 }
483 452 .TextResponsesouter input#re-index {
@@ -482,10 +451,10 @@
482 451 }
483 452 .TextResponsesouter input#re-index {
484 453 padding: 0px 15px;
485 454 background: #ffffff;
486 - color: var(--woobot-primary);
487 - border: 2px solid var(--woobot-primary);
455 + color: #5B4E96;
456 + border: 2px solid #5B4E96;
488 457 border-radius: 6px;
489 458 font-weight: bold;
490 459 }
491 460
@@ -524,9 +493,9 @@
524 493
525 494 #qcld-show-more-wrapper-box .qcld-show-more-show-more i {
526 495 display: block;
527 496 padding: 0 0 0 0;
528 - background: var(--woobot-primary);
497 + background: #5b4e96;
529 498 width: 30px;
530 499 height: 30px;
531 500 line-height: 30px;
532 501 border-radius: 50%;
@@ -534,105 +503,28 @@
534 503 font-size: 18px !important;
535 504 color: #fff;
536 505 }
537 506 .TextResponsesouter input#submit:hover {
538 - background: var(--woobot-primary);
507 + background: #5B4E96;
539 508 color: #fff;
540 - border: 2px solid var(--woobot-primary);
509 + border: 2px solid #5B4E96;
541 510 }
542 511
543 512 .TextResponsesouter input#re-index:hover {
544 - background: var(--woobot-primary);
513 + background: #5B4E96;
545 514 color: #fff;
546 - border: 2px solid var(--woobot-primary);
515 + border: 2px solid #5B4E96;
547 516 }
548 -.TextResponsesouter table.widefat {
549 - border: 1px solid #ebebeb;
550 -}
551 -.TextResponsesouter .tablenav {
552 - padding: 8px;
553 - background: var(--woobot-primary);
554 -}
555 -.TextResponsesouter span.displaying-num {
556 - color: #fff;
557 -}
558 517
559 -.TextResponsesouter .tablenav #doaction, .TextResponsesouter .tablenav #doaction2 {
560 - border: 1px solid #ffffff !important;
561 - color: #ffffff !important;
562 -}
563 -
564 -
565 -
566 -.qcld-wp-chatbot-wrap-header-logo {
567 - display: flex;
568 - align-items: center;
569 - gap: 10px;
570 -}
571 -
572 -.qcld-wp-chatbot-wrap-header_inn a.button.page-title-action {
573 - padding: 8px 15px;
574 - background: #ffffff;
575 - color: var(--woobot-primary);
576 - border: 2px solid var(--woobot-primary);
577 - border-radius: 6px;
578 - font-weight: bold;
579 - position: absolute;
580 - top: 30px;
581 - left: 280px;
582 - line-height: normal;
583 - min-height: unset;
584 -}
585 -.qcld-wp-chatbot-wrap-header_inn a.button.page-title-action:hover {
586 - padding: 8px 15px;
587 - background: var(--woobot-primary);
588 - color: #fff;
589 - border: 2px solid var(--woobot-primary);
590 - border-radius: 6px;
591 - font-weight: bold;
592 - position: absolute;
593 - top: 30px;
594 - left: 280px;
595 -}
596 -
597 -.Expandmore {
598 - background: #23ab10;
599 - display: inline-block;
600 - padding: 4px 10px;
601 - font-size: 14px;
602 - border-radius: 6px;
603 - position: relative;
604 - top: 0;
605 -}
606 -
607 -.Collapsemore {
608 - background: #ff0000;
609 - display: inline-block;
610 - padding: 4px 10px;
611 - font-size: 14px;
612 - border-radius: 6px;
613 - position: relative;
614 - top: 0;
615 -
616 -}
617 -
618 -.Expandmore span {
619 - color: #fff;
620 - margin: 0 0 0 8px;
621 - padding: 0 5px;
622 - font-size: 18px;
623 -}
624 518 </style>
625 519
626 520 <script type="text/javascript">
627 521 jQuery(".qcld-show-more-show-more").click(function () {
628 522 if(jQuery(".qcld-show-more-text").hasClass("qcld-show-more-show-more-height")) {
629 - jQuery(this).html('<div class="Collapsemore">Collapse Options</div>');
523 + jQuery(this).html('<i class="fa fa-minus-circle" aria-hidden="true"></i>');
630 524 } else {
631 - jQuery(this).html('<div class="Expandmore">Expand for More Options<span>+</span></div>');
525 + jQuery(this).html('<i class="fa fa-plus-circle" aria-hidden="true"></i>');
632 526 }
633 527
634 528 jQuery(".qcld-show-more-text").toggleClass("qcld-show-more-show-more-height");
635 529 });
636 -
637 -
638 530 </script>