mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
PostgreSQL: Display description of system variables
This commit is contained in:
@@ -9,10 +9,13 @@ if (!$variables) {
|
||||
echo "<p class='message'>" . lang('No rows.') . "\n";
|
||||
} else {
|
||||
echo "<table>\n";
|
||||
foreach ($variables as $key => $val) {
|
||||
foreach ($variables as $row) {
|
||||
echo "<tr>";
|
||||
$key = array_shift($row);
|
||||
echo "<th><code class='jush-" . JUSH . ($status ? "status" : "set") . "'>" . h($key) . "</code>";
|
||||
echo "<td>" . nl_br(h($val));
|
||||
foreach ($row as $val) {
|
||||
echo "<td>" . nl_br(h($val));
|
||||
}
|
||||
}
|
||||
echo "</table>\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user