From 13f34d1ea954c1671b2969c73d47f6e5fd8b561e Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 25 Jun 2013 10:12:10 -0700 Subject: [PATCH] Highlight table being altered in navigation --- adminer/include/adminer.inc.php | 4 ++-- changes.txt | 1 + editor/include/adminer.inc.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index a91b764a..2ecf685f 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -841,8 +841,8 @@ username.form['auth[driver]'].onchange(); function tablesPrint($tables) { echo "

\n"; foreach ($tables as $table => $status) { - echo '" . lang('select') . " "; - echo '" . $this->tableName($status) . "
\n"; + echo '" . lang('select') . " "; + echo '" . $this->tableName($status) . "
\n"; } } diff --git a/changes.txt b/changes.txt index ea2c5d7c..2139da8f 100644 --- a/changes.txt +++ b/changes.txt @@ -6,6 +6,7 @@ Don't check previous checkbox on added column in create table (bug #3614245) Order table list by name Verify UTF-8 encoding of CSV import Notify user about expired master password for permanent login +Highlight table being altered in navigation Send 404 for invalid database and schema Fix title and links on invalid table pages Display error on invalid alter table and view pages diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index deec655d..efa8b160 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -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 "$name
\n"; + echo "$name
\n"; } } }