1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-23 06:32:55 +02:00

Highlight table being altered in navigation

This commit is contained in:
Jakub Vrana
2013-06-25 10:12:10 -07:00
parent 2cf2021995
commit 13f34d1ea9
3 changed files with 4 additions and 3 deletions

View File

@@ -583,7 +583,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
foreach ($tables as $row) {
$name = $this->tableName($row);
if (isset($row["Engine"]) && $name != "") { // ignore views and tables without name
echo "<a href='" . h(ME) . 'select=' . urlencode($row["Name"]) . "'" . bold($_GET["select"] == $row["Name"]) . " title='" . lang('Select data') . "'>$name</a><br>\n";
echo "<a href='" . h(ME) . 'select=' . urlencode($row["Name"]) . "'" . bold($_GET["select"] == $row["Name"] || $_GET["edit"] == $row["Name"]) . " title='" . lang('Select data') . "'>$name</a><br>\n";
}
}
}