PluginProbe ʕ •ᴥ•ʔ
Interactive Image Map Builder / trunk
Interactive Image Map Builder vtrunk
3.2 trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1
interactive-image-map-builder / license.php
interactive-image-map-builder Last commit date
assets 3 months ago settings 3 months ago functions.php 3 months ago header.php 2 years ago home.php 1 year ago index.php 1 day ago license.php 2 years ago output-common-css.css 10 months ago output-css.php 2 years ago readme.txt 1 day ago shortcode.php 1 year 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>