From 73225975d7e9718de6ab44337debbbadcffa9a95 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 10 Jul 2013 10:20:12 -0700 Subject: [PATCH] Display number of tables to search in --- adminer/db.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/adminer/db.inc.php b/adminer/db.inc.php index 8ecec802..bcc98999 100644 --- a/adminer/db.inc.php +++ b/adminer/db.inc.php @@ -54,7 +54,9 @@ if ($adminer->homepage()) { echo "

" . lang('No tables.') . "\n"; } else { echo "

\n"; - echo "

" . lang('Search data in tables') . ": \n"; + echo "

" . lang('Search data in tables') . "
"; + echo " \n"; + echo "
\n"; if ($_POST["search"] && $_POST["query"] != "") { search_tables(); } @@ -72,6 +74,7 @@ if ($adminer->homepage()) { echo (support("comment") ? '' . lang('Comment') : ''); echo "\n"; + $tables = 0; foreach ($tables_list as $name => $type) { $view = ($type !== null && !eregi("table", $type)); echo '' . checkbox(($view ? "views[]" : "tables[]"), $name, in_array($name, $tables_views, true), "", "formUncheck('check-all');"); @@ -95,6 +98,7 @@ if ($adminer->homepage()) { : "?" ) : " "); } + $tables++; } echo (support("comment") ? " " : ""); } @@ -122,7 +126,7 @@ if ($adminer->homepage()) { echo (support("copy") ? " " : ""); echo "\n"; } - echo "\n"; // used by trCheck() + echo "\n"; // used by trCheck() echo "\n"; echo "\n"; }