PluginProbe
SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent / 2.3.1
SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent v2.3.1
3.5.4 3.5.3 3.5.2 3.5.1 3.4.9 3.5.0 3.4.8 3.4.7 trunk 2.3.1 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6
supportcandy / includes / admin / settings / settings.php

settings.php in SupportCandy – AI Customer Support Ticket System & Live Chatbot Agent 2.3.1, at includes/admin/settings/settings.php

78 lines 4.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5
6 ?>
7
8 <div class="wpsc-iso">
9
10 <h3>
11 <?php _e('Settings','supportcandy');?>
12 <a href="https://supportcandy.net/support-ticket/" class="btn btn-info wpsc-help-site-link" style="float:right;margin-right:1% !important;margin-top:-9px !important;"><?php _e('Need Help? Click Here!','supportcandy');?></a>
13 </h3>
14
15 <div class="wpsc_padding_space"></div>
16 <div class="row">
17 <div class="col-sm-4 wpsc_setting_col1">
18 <ul class="nav nav-pills nav-stacked wpsc_setting_pills">
19 <li id="wpsc_settings_general" role="presentation" class="active"><a href="javascript:wpsc_get_general_settings();"><?php _e('General','supportcandy');?></a></li>
20 <li id="wpsc_settings_category" role="presentation"><a href="javascript:wpsc_get_category_settings();"><?php _e('Ticket Categories','supportcandy');?></a></li>
21 <li id="wpsc_settings_status" role="presentation"><a href="javascript:wpsc_get_status_settings();"><?php _e('Ticket Statuses','supportcandy');?></a></li>
22 <li id="wpsc_settings_priority" role="presentation"><a href="javascript:wpsc_get_priority_settings();"><?php _e('Ticket Priorities','supportcandy');?></a></li>
23 <li id="wpsc_settings_ticket_widget" role="presentation"><a href="javascript:wpsc_get_ticket_widget_settings();"><?php _e('Open Ticket Widget','supportcandy');?></a></li>
24 <li id="wpsc_settings_thank_you" role="presentation"><a href="javascript:wpsc_get_thank_you_settings();"><?php _e('Thank you page','supportcandy');?></a></li>
25 <li id="wpsc_settings_attachment" role="presentation"><a href="javascript:wpsc_get_attachment_settings();"><?php _e('Attachments','supportcandy');?></a></li>
26 <li id="wpsc_settings_term_and_conditions" role="presentation"><a href="javascript:wpsc_get_terms_and_condition_settings();"><?php _e('Terms & Conditions & GDPR','supportcandy');?></a></li>
27 <li id="wpsc_advanced_settings" role="presentation"><a href="javascript:wpsc_get_advanced_settings();"><?php _e('Advanced Settings','supportcandy');?></a></li>
28 <li id="wpsc_captcha_settings" role="presentation"><a href="javascript:wpsc_get_captcha_settings();"><?php _e('Captcha','supportcandy');?></a></li>
29 <li id="wpsc_rest_settings" role="presentation"><a href="javascript:wpsc_get_rest_api_settings();"><?php _e('REST API','supportcandy');?></a></li>
30 <li id="wpsc_tinymce_settings" role="presentation"><a href="javascript:wpsc_get_tinymce_settings();"><?php _e('TinyMCE','supportcandy');?></a></li>
31
32 <?php do_action('wpsc_after_setting_pills');?>
33 </ul>
34 </div>
35 <div class="col-sm-8 wpsc_setting_col2"></div>
36 </div>
37
38 <div id="wpsc_alert_success" class="alert alert-success wpsc_alert" style="display:none;" role="alert">
39 <i class="fa fa-check-circle"></i> <span class="wpsc_alert_text"></span>
40 </div>
41
42 <div id="wpsc_alert_error" class="alert alert-danger wpsc_alert" style="display:none;" role="alert">
43 <i class="fa fa-exclamation-triangle"></i> <span class="wpsc_alert_text"></span>
44 </div>
45
46 </div>
47
48 <!-- Pop-up snippet start -->
49 <div id="wpsc_popup_background" style="display:none;"></div>
50 <div id="wpsc_popup_container" style="display:none;">
51 <div class="wpsc-iso">
52 <div class="row">
53 <div id="wpsc_popup" class="col-xs-10 col-xs-offset-1 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
54 <div id="wpsc_popup_title" class="row"><h3>Modal Title</h3></div>
55 <div id="wpsc_popup_body" class="row">I am body!</div>
56 <div id="wpsc_popup_footer" class="row">
57 <button type="button" class="btn wpsc_popup_close"><?php _e('Close','supportcandy');?></button>
58 <button type="button" class="btn wpsc_popup_action"><?php _e('Save Changes','supportcandy');?></button>
59 </div>
60 </div>
61 </div>
62 </div>
63 </div>
64 <!-- Pop-up snippet end -->
65
66 <?php
67 add_action('admin_footer', 'wpsc_page_inline_script');
68 function wpsc_page_inline_script(){
69 ?>
70 <script>
71 jQuery(document).ready(function(){
72 wpsc_get_general_settings();
73 });
74
75 </script>
76 <?php
77 }
78 ?>