mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Don't highlight empty queries
This commit is contained in:
@@ -21,7 +21,7 @@ foreach (get_rows("SHOW FULL PROCESSLIST") as $i => $row) {
|
||||
}
|
||||
echo "<tr" . odd() . "><td>" . checkbox("kill[]", $row["Id"], 0);
|
||||
foreach ($row as $key => $val) {
|
||||
echo "<td>" . ($key == "Info" ? "<code class='jush-$jush'>" . nbsp($val) . '</code> <a href="' . h(ME . ($row["db"] != "" ? "db=" . urlencode($row["db"]) . "&" : "") . "sql=" . urlencode($val)) . '">' . lang('Edit') . '</a>' : nbsp($val));
|
||||
echo "<td>" . ($key == "Info" && $val != "" ? "<code class='jush-$jush'>" . nbsp($val) . '</code> <a href="' . h(ME . ($row["db"] != "" ? "db=" . urlencode($row["db"]) . "&" : "") . "sql=" . urlencode($val)) . '">' . lang('Edit') . '</a>' : nbsp($val));
|
||||
}
|
||||
echo "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user