| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('ABSPATH')) { exit; } |
| 4 |
|
| 5 |
$_classes = array( |
| 6 |
'd4p-wrap', |
| 7 |
'wpv-'.GDSIH_WPV, |
| 8 |
'd4p-page-'.gdsih_admin()->page, |
| 9 |
'd4p-panel', |
| 10 |
'd4p-panel-'.$_panel); |
| 11 |
|
| 12 |
$_tabs = array( |
| 13 |
'whatsnew' => __("What’s New", "gd-security-headers"), |
| 14 |
'info' => __("Info", "gd-security-headers"), |
| 15 |
'changelog' => __("Changelog", "gd-security-headers"), |
| 16 |
'dev4press' => __("Dev4Press", "gd-security-headers") |
| 17 |
); |
| 18 |
|
| 19 |
?> |
| 20 |
|
| 21 |
<div class="<?php echo join(' ', $_classes); ?>"> |
| 22 |
<h1><?php printf(__("Welcome to GD Security Headers %s", "gd-security-headers"), gdsih_settings()->info_version); ?></h1> |
| 23 |
<p class="d4p-about-text"> |
| 24 |
<?php _e("Configure various security related HTTP headers, including Content Security Policy, Referrer Policy and more. All headers can be added to .HTACCESS file.", "gd-security-headers"); ?> |
| 25 |
</p> |
| 26 |
<div class="d4p-about-badge" style="background-color: #69426A;"> |
| 27 |
<i class="d4p-icon d4p-plugin-icon-gd-security-headers"></i> |
| 28 |
<?php printf(__("Version %s", "gd-security-headers"), gdsih_settings()->info_version); ?> |
| 29 |
</div> |
| 30 |
|
| 31 |
<h2 class="nav-tab-wrapper wp-clearfix"> |
| 32 |
<?php |
| 33 |
|
| 34 |
foreach ($_tabs as $_tab => $_label) { |
| 35 |
echo '<a href="admin.php?page=gd-security-headers-about&panel='.$_tab.'" class="nav-tab'.($_tab == $_panel ? ' nav-tab-active' : '').'">'.$_label.'</a>'; |
| 36 |
} |
| 37 |
|
| 38 |
?> |
| 39 |
</h2> |
| 40 |
|
| 41 |
<div class="d4p-about-inner"> |