interactive-image-map-builder
Last commit date
assets
2 years ago
settings
2 years ago
functions.php
2 years ago
header.php
2 years ago
home.php
2 years ago
index.php
2 years ago
license.php
2 years ago
output-common-css.css
2 years ago
output-css.php
2 years ago
readme.txt
2 years ago
shortcode.php
2 years ago
template-menu.php
2 years ago
license.php
43 lines
| 1 | <?php |
| 2 | if (!defined('ABSPATH')) { |
| 3 | exit; |
| 4 | } |
| 5 | |
| 6 | if (!current_user_can('edit_others_pages')) { |
| 7 | wp_die(__('You do not have sufficient permissions to access this page.')); |
| 8 | } |
| 9 | ?> |
| 10 | <div class="isimb-6310"> |
| 11 | <h1>Product License Activation</h1> |
| 12 | <p>Activate your copy to get direct plugin updates and official support.</p> |
| 13 | <?php |
| 14 | if (!empty($_POST['save'])) { |
| 15 | $nonce = $_REQUEST['_wpnonce']; |
| 16 | if (!wp_verify_nonce($nonce, 'isimb-6310-nonce-field-license')) { |
| 17 | die('You do not have sufficient permissions to access this page.'); |
| 18 | } else { |
| 19 | isimb_6310_check_license(sanitize_text_field($_POST['license'])); |
| 20 | } |
| 21 | } |
| 22 | ?> |
| 23 | <form action="" method="post" style="width: 600px"> |
| 24 | <?php |
| 25 | echo wp_nonce_field("isimb-6310-nonce-field-license"); |
| 26 | ?> |
| 27 | <table> |
| 28 | <tr> |
| 29 | <td>License Key:</td> |
| 30 | <td> |
| 31 | <input type="text" name="license" class="isimb-6310-form-input"> |
| 32 | </td> |
| 33 | </tr> |
| 34 | <tr> |
| 35 | <td></td> |
| 36 | <td> |
| 37 | <br /> |
| 38 | <input type="submit" name="save" class="isimb-6310-btn-primary"> |
| 39 | </td> |
| 40 | </tr> |
| 41 | </table> |
| 42 | </form> |
| 43 | </div> |