1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Display SQLite compile options

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1472 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2010-04-21 23:06:32 +00:00
parent 58c80e369c
commit b84252fc51
3 changed files with 20 additions and 10 deletions

View File

@@ -2,10 +2,15 @@
$status = isset($_GET["status"]);
page_header($status ? lang('Status') : lang('Variables'));
echo "<table cellspacing='0'>\n";
foreach (($status ? show_status() : show_variables()) as $key => $val) {
echo "<tr>";
echo "<th><code class='jush-" . $driver . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
echo "<td>" . nbsp($val);
$variables = ($status ? show_status() : show_variables());
if (!$variables) {
echo "<p class='message'>" . lang('No rows.') . "\n";
} else {
echo "<table cellspacing='0'>\n";
foreach ($variables as $key => $val) {
echo "<tr>";
echo "<th><code class='jush-" . $driver . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
echo "<td>" . nbsp($val);
}
echo "</table>\n";
}
echo "</table>\n";