PluginProbe
HTTP Headers / trunk
HTTP Headers vtrunk
1.19.5 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.12.0 1.12.1 1.12.2 1.13.0 1.13.1 1.13.2 1.13.3 1.13.4 1.14.0 1.14.1 1.14.2 1.15.0 All 60 releases
http-headers / views / header.php

header.php in HTTP Headers trunk, at views/header.php

27 lines 742 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 exit;
4 }
5 include dirname(__FILE__) . '/includes/config.inc.php';
6 include dirname(__FILE__) . '/includes/breadcrumbs.inc.php';
7 ?>
8
9 <section class="hh-panel">
10 <form method="post" action="options.php">
11 <table class="form-table hh-table">
12 <tbody>
13 <?php
14 if (isset($_GET['header']))
15 {
16 $http_headers_header_file = sprintf('%s/%s.php', dirname(__FILE__), basename(sanitize_text_field(wp_unslash($_GET['header']))));
17 if (is_file($http_headers_header_file))
18 {
19 include $http_headers_header_file;
20 }
21 }
22 ?>
23 </tbody>
24 </table>
25 <?php submit_button(); ?>
26 </form>
27 </section>