| @@ -1,6 +1,5 @@ | ||
| 1 | -<?php | |
| 2 | -if (!defined('ABSPATH')) exit; // Exit if accessed directly | |
| 1 | +<?php | |
| 3 | 2 | global $wpchatbot_pro_professional_init,$wpchatbot_pro_master_init; |
| 4 | 3 | if((isset($wpchatbot_pro_master_init) && $wpchatbot_pro_master_init->is_valid()) || (isset($wpchatbot_pro_professional_init) && $wpchatbot_pro_professional_init->is_valid()) || (function_exists('get_openaiaddon_valid_license') && get_openaiaddon_valid_license())){ |
| 5 | 4 | ?> |
| 6 | 5 | <div class="row"> |
| @@ -15,9 +14,9 @@ | ||
| 15 | 14 | <div class="success-message alert alert-info"></div> |
| 16 | 15 | <div class="error-message alert alert-danger"></div> |
| 17 | 16 | <input type="file" (change)="fileEvent($event)" class="inputfile" id="openfileinput_gpt" style="display:none"/> |
| 18 | 17 | <label for="openfileinput_gpt" class="huge ui grey button"> |
| 19 | - <span class="dashicons dashicons-cloud-upload"></span> | |
| 18 | + <i class="fa fa-upload"></i> | |
| 20 | 19 | <?php esc_html_e('Upload JSONL GPT 3.5','chatbot'); ?> |
| 21 | 20 | </label> |
| 22 | 21 | </form> |
| 23 | 22 | </br> |