| 1 |
<?php |
| 2 |
|
| 3 |
// Do not allow the file to be called directly. |
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; |
| 6 |
} |
| 7 |
|
| 8 |
$managed = get_option( 'patchstack_managed', false ); |
| 9 |
?> |
| 10 |
<div class="patchstack-content-wrap patchstack-free"> |
| 11 |
<div class="patchstack-top"> |
| 12 |
<div class="patchstack-top-logo"> |
| 13 |
<img src="<?php echo esc_url( $this->plugin->url ); ?>assets/images/logo.svg" alt=""> |
| 14 |
</div> |
| 15 |
</div> |
| 16 |
|
| 17 |
<div class="patchstack-top"> |
| 18 |
<h1 <?php echo !$managed ? 'style="display: none;"' : ''; ?>> |
| 19 |
<?php echo wp_kses(get_option( 'patchstack_managed_text', '' ), $this->allowed_html); ?> |
| 20 |
</h1> |
| 21 |
</div> |
| 22 |
|
| 23 |
<div class="patchstack-content-table"> |
| 24 |
<div class="patchstack-content-inner patchstack-premium"> |
| 25 |
<?php |
| 26 |
if (isset($_GET['page']) && $_GET['page'] == 'patchstack-multisite-settings' && is_multisite()) { |
| 27 |
require 'multisite-activation.php'; |
| 28 |
} else { |
| 29 |
require 'license.php'; |
| 30 |
} |
| 31 |
?> |
| 32 |
</div> |
| 33 |
</div> |
| 34 |
</div> |