PluginProbe
Black Bar / trunk
Black Bar vtrunk
trunk 1.0.0 1.1.0 1.2.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.2.0 2.2.1 3.0.0 3.1.0 4.0.0 4.0.1 4.0.2 4.0.3 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0
blackbar / views / debug-bar.php

debug-bar.php in Black Bar trunk, at views/debug-bar.php

37 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php defined('WPINC') || exit; ?>
2
3 <div id="glbb">
4 <?php foreach ($modules as $module) : /* Ensure that the console entries are loaded last */ ?>
5 <?php if (!$module->isVisible() || 'glbb-console' === $module->id()) continue; ?>
6 <div id="<?= $module->id(); ?>" class="glbb-panel glbb-hidden">
7 <?php $module->render(); ?>
8 </div>
9 <?php endforeach; ?>
10 <?php foreach ($modules as $module) : /* Ensure that the console entries are loaded last */ ?>
11 <?php if (!$module->isVisible() || 'glbb-console' !== $module->id()) continue; ?>
12 <div id="<?= $module->id(); ?>" class="glbb-panel glbb-hidden">
13 <?php $module->render(); ?>
14 </div>
15 <?php endforeach; ?>
16 <div class="glbb-panel-links">
17 <div>
18 <a class="dashicons-before dashicons-no-alt glbb-close">
19 <span class="screen-reader-text">
20 <?= esc_html__('Close', 'blackbar'); ?>
21 </span>
22 </a>
23 <a class="dashicons-before dashicons-arrow-left-alt glbb-toggle" tabindex="0">
24 <span class="screen-reader-text">
25 <?= esc_html__('Toggle', 'blackbar'); ?>
26 </span>
27 </a>
28 </div>
29 <?php foreach ($modules as $module) : ?>
30 <?php if (!$module->isVisible()) continue; ?>
31 <a data-panel="<?= esc_attr($module->id()); ?>" data-info="<?= esc_attr($module->info()); ?>" class="dashicons-before <?= $module->icon(); ?> <?= $module->classes(); ?>" tabindex="0">
32 <span><?= $module->label(); ?></span>
33 </a>
34 <?php endforeach; ?>
35 </div>
36 </div>
37