| 1 |
<?php |
| 2 |
/** |
| 3 |
* Sharing Image main settings template. |
| 4 |
* |
| 5 |
* @package sharing-image |
| 6 |
* @author Anton Lukin |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace Sharing_Image; |
| 10 |
|
| 11 |
if ( ! defined( 'ABSPATH' ) ) { |
| 12 |
die; |
| 13 |
} |
| 14 |
|
| 15 |
?> |
| 16 |
|
| 17 |
<div id="sharing-image-settings"> |
| 18 |
<div class="sharing-image-header"> |
| 19 |
<h1><?php esc_html_e( 'Sharing Image', 'sharing-image' ); ?></h1> |
| 20 |
|
| 21 |
<nav class="sharing-image-menu"> |
| 22 |
<?php |
| 23 |
self::show_settings_menu(); |
| 24 |
?> |
| 25 |
</nav> |
| 26 |
</div> |
| 27 |
|
| 28 |
<hr class="wp-header-end"> |
| 29 |
|
| 30 |
<div class="sharing-image-content"> |
| 31 |
<?php |
| 32 |
self::show_settings_section(); |
| 33 |
?> |
| 34 |
|
| 35 |
<div class="sharing-image-error hide-if-js"> |
| 36 |
<p><?php esc_html_e( 'This page requires JavaScript. Enable it in your browser settings, please.', 'sharing-image' ); ?></p> |
| 37 |
</div> |
| 38 |
|
| 39 |
<?php |
| 40 |
self::show_settings_message(); |
| 41 |
?> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
|