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 / inspect.php

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

42 lines 1.8 KB
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 <section class="hh-panel">
9 <h3><span class="hh-highlight"><?php esc_html_e('Inspect headers', 'http-headers'); ?></span></h3>
10 <p><?php esc_html_e("Use this tool to inspect the HTTP headers of your website or your competitor's website.", 'http-headers'); ?></p>
11 <div class="form-wrap">
12 <form action="<?php echo esc_attr(admin_url('admin-ajax.php')); ?>" method="get" id="frmIspect">
13 <?php wp_nonce_field('inspect'); ?>
14 <input type="hidden" name="action" value="inspect">
15 <div class="form-row">
16 <div class="form-field form-col-6">
17 <label class="form-label">URL:</label>
18 <input type="text" name="url" size="40" placeholder="<?php echo esc_attr(home_url('/')); ?>" value="<?php echo esc_attr(home_url('/')); ?>">
19 </div>
20 <div class="form-field form-col-6">
21 <label class="form-label">&nbsp;</label>
22 <label><input type="checkbox" name="authentication" id="authentication"><?php esc_html_e('Authentication', 'http-headers'); ?></label>
23 </div>
24 </div>
25 <div id="box-authentication" style="display: none">
26 <div class="form-row">
27 <div class="form-field form-col-6">
28 <label class="form-label" for="username"><?php esc_html_e('Username', 'http-headers'); ?>:</label>
29 <input type="text" name="username">
30 </div>
31 <div class="form-field form-col-6">
32 <label class="form-label" for="password"><?php esc_html_e('Password', 'http-headers'); ?>:</label>
33 <input type="text" name="password">
34 </div>
35 </div>
36 </div>
37 <?php submit_button(__('Inspect', 'http-headers')); ?>
38 </form>
39 </div>
40 </section>
41
42 <div id="hh-result"></div>