1
0
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:
Jakub Vrana
2025-03-18 16:00:21 +01:00
parent 8613f97948
commit 3fb6cac361
6 changed files with 29 additions and 21 deletions

View File

@@ -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";
}