# image-map-hotspots/trunk/license.php

Image Hotspot – Map Image Annotation, version trunk. 43 lines.

- Page: https://pluginprobe.com/plugins/image-map-hotspots/trunk/code/license.php
- Raw: https://pluginprobe.com/plugins/image-map-hotspots/trunk/raw/license.php
- Modified: 2026-08-19T04:20:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/image-map-hotspots/trunk/code/license.php#L10-L20`.

```php
<?php
if (!defined('ABSPATH')) {
  exit;
}

if (!current_user_can('edit_others_pages')) {
  wp_die(__('You do not have sufficient permissions to access this page.'));
}
?>
<div class="imh-6310">
  <h1>Product License Activation</h1>
  <p>Activate your copy to get direct plugin updates and official support.</p>
  <?php
  if (!empty($_POST['save'])) {
    $nonce = $_REQUEST['_wpnonce'];
    if (!wp_verify_nonce($nonce, 'imh-6310-nonce-field-license')) {
      die('You do not have sufficient permissions to access this page.');
    } else {
     imh_6310_check_license(sanitize_text_field($_POST['license']));
    }
  }
  ?>
  <form action="" method="post" style="width: 600px">
    <?php
    echo wp_nonce_field("imh-6310-nonce-field-license");
    ?>
    <table>
      <tr>
        <td>License Key:</td>
        <td>
          <input type="text" name="license" class="imh-6310-form-input">
        </td>
      </tr>
      <tr>
        <td></td>
        <td>
          <br />
          <input type="submit" name="save" class="imh-6310-btn-primary">
        </td>
      </tr>
    </table>
  </form>
</div>
```
