2009-06-16 15:10:37 +00:00
|
|
|
<?php
|
2010-01-08 10:07:08 +00:00
|
|
|
$status = isset($_GET["status"]);
|
|
|
|
page_header($status ? lang('Status') : lang('Variables'));
|
2009-06-16 15:10:37 +00:00
|
|
|
|
|
|
|
echo "<table cellspacing='0'>\n";
|
2010-04-21 15:09:52 +00:00
|
|
|
foreach (($status ? show_status() : show_variables()) as $key => $val) {
|
2009-06-16 15:10:37 +00:00
|
|
|
echo "<tr>";
|
2010-04-21 15:09:52 +00:00
|
|
|
echo "<th><code class='jush-" . $driver . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
|
|
|
|
echo "<td>" . nbsp($val);
|
2009-06-16 15:10:37 +00:00
|
|
|
}
|
|
|
|
echo "</table>\n";
|