PluginProbe
GD Security Headers / 1.2
GD Security Headers v1.2
trunk 1.0 1.1 1.1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.7 1.7.1 1.8 1.9
gd-security-headers / forms / about / header.php

header.php in GD Security Headers 1.2, at forms/about/header.php

41 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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&#8217;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&nbsp;%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">