From 4b4fa16a374ef235bfd9fdebe65069eb49b4f550 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 9 Aug 2012 09:11:55 -0700 Subject: [PATCH] Autodisplay long table names in tables filter plugin --- adminer/include/adminer.inc.php | 2 +- editor/include/adminer.inc.php | 2 +- plugins/tables-filter.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index a6e4e8a4..6c2fff60 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -855,7 +855,7 @@ DROP PROCEDURE adminer_alter; * @return null */ function tablesPrint($tables) { - echo '

' . "\n"; + echo "

\n"; foreach ($tables as $table => $type) { echo '" . lang('select') . " "; echo '" . $this->tableName(array("Name" => $table)) . "
\n"; //! Adminer::tableName may work with full table status diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index 81354527..f69c7df9 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -559,7 +559,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5 } function tablesPrint($tables) { - echo '

' . "\n"; + echo "

\n"; foreach ($tables as $row) { $name = $this->tableName($row); if (isset($row["Engine"]) && $name != "") { // ignore views and tables without name diff --git a/plugins/tables-filter.php b/plugins/tables-filter.php index 2f3339e8..1c77d261 100644 --- a/plugins/tables-filter.php +++ b/plugins/tables-filter.php @@ -23,7 +23,7 @@ function tablesFilter(value) {

\n"; + echo "

\n"; foreach ($tables as $table => $type) { echo '" . lang('select') . " "; echo '" . h($table) . "
\n";