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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user