ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
env_details.html.php
Go to the documentation of this file.
1<?php /* List data-table values, i.e: $_SERVER, $_GET, .... */ ?>
2<div class="details">
3 <div class="data-table-container" id="data-tables">
4 <?php foreach ($tables as $label => $data): ?>
5 <div class="data-table" id="sg-<?php echo $tpl->escape($tpl->slug($label)) ?>">
6 <label><?php echo $tpl->escape($label) ?></label>
7 <?php if (!empty($data)): ?>
8 <table class="data-table">
9 <thead>
10 <tr>
11 <td class="data-table-k">Key</td>
12 <td class="data-table-v">Value</td>
13 </tr>
14 </thead>
15 <?php foreach ($data as $k => $value): ?>
16 <tr>
17 <td><?php echo $tpl->escape($k) ?></td>
18 <td><?php echo $tpl->escape(print_r($value, true)) ?></td>
19 </tr>
20 <?php endforeach ?>
21 </table>
22 <?php else: ?>
23 <span class="empty">empty</span>
24 <?php endif ?>
25 </div>
26 <?php endforeach ?>
27 </div>
28
29 <?php /* List registered handlers, in order of first to last registered */ ?>
30 <div class="data-table-container" id="handlers">
31 <label>Registered Handlers</label>
32 <?php foreach ($handlers as $i => $handler): ?>
33 <div class="handler <?php echo ($handler === $handler) ? 'active' : ''?>">
34 <?php echo $i ?>. <?php echo $tpl->escape(get_class($handler)) ?>
35 </div>
36 <?php endforeach ?>
37 </div>
38
39</div>
global $tpl
Definition: ilias.php:8
$data