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 / license / license.php

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

66 lines 2.5 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 $is_addons = apply_filters( 'wpsc_is_add_on_installed', false );
7 if($is_addons) {
8 $license_messege = __('Enter your add-ons license keys here to receive updates for purchased add-ons. If your license key has expired, please renew your license.','supportcandy');
9 } else {
10 $license_messege = '<h4>'.sprintf(__('No add-ons installed. See available add-ons - %1$s.','supportcandy'),'<a href="https://supportcandy.net/add-ons/" target="_blank">https://supportcandy.net/add-ons/</a>').'</h4>';
11 }
12
13
14 ?>
15
16 <div class="wpsc-iso">
17
18 <h3>
19 <?php _e('License','supportcandy');?>
20 <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>
21 </h3>
22
23 <div class="wpsc_padding_space"></div>
24 <div class="row" style="margin-bottom:20px;"><?php echo wp_kses_post($license_messege)?></div>
25 <div class="row"><?php do_action('wpsc_addon_license_area')?></div>
26
27 <div id="wpsc_alert_success" class="alert alert-success wpsc_alert" style="display:none;" role="alert">
28 <i class="fa fa-check-circle"></i> <span class="wpsc_alert_text"></span>
29 </div>
30
31 <div id="wpsc_alert_error" class="alert alert-danger wpsc_alert" style="display:none;" role="alert">
32 <i class="fa fa-exclamation-triangle"></i> <span class="wpsc_alert_text"></span>
33 </div>
34
35 </div>
36
37 <!-- Pop-up snippet start -->
38 <div id="wpsc_popup_background" style="display:none;"></div>
39 <div id="wpsc_popup_container" style="display:none;">
40 <div class="wpsc-iso">
41 <div class="row">
42 <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">
43 <div id="wpsc_popup_title" class="row"><h3>Modal Title</h3></div>
44 <div id="wpsc_popup_body" class="row">I am body!</div>
45 <div id="wpsc_popup_footer" class="row">
46 <button type="button" class="btn wpsc_popup_close"><?php _e('Close','supportcandy');?></button>
47 <button type="button" class="btn wpsc_popup_action"><?php _e('Save Changes','supportcandy');?></button>
48 </div>
49 </div>
50 </div>
51 </div>
52 </div>
53 <!-- Pop-up snippet end -->
54
55 <?php
56 add_action('admin_footer', 'wpsc_page_inline_script');
57 function wpsc_page_inline_script(){
58 ?>
59 <script>
60 jQuery(document).ready(function(){
61 wpsc_get_general_settings();
62 });
63 </script>
64 <?php
65 }
66 ?>