1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 10:04:07 +02:00

Highlight current link

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1251 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-11-24 09:44:28 +00:00
parent 3e9b1ba19f
commit 294b10b40c
2 changed files with 11 additions and 10 deletions

View File

@@ -5,10 +5,9 @@ if (!$fields) {
$error = h($connection->error);
}
$table_status = ($fields ? table_status($TABLE) : array());
$is_view = !isset($table_status["Rows"]);
page_header(($fields && $is_view ? lang('View') : lang('Table')) . ": " . h($TABLE), $error);
$adminer->selectLinks($table_status, $is_view ? null : "");
page_header(($fields && !isset($table_status["Rows"]) ? lang('View') : lang('Table')) . ": " . h($TABLE), $error);
$adminer->selectLinks($table_status);
if ($fields) {
echo "<table cellspacing='0'>\n";