Titles of links in navigation

This commit is contained in:
Jakub Vrana 2011-08-09 13:25:20 +02:00
parent b358a2dd62
commit b92fe58553
3 changed files with 3 additions and 3 deletions

View file

@ -818,7 +818,7 @@ DROP PROCEDURE adminer_alter;
echo "<p id='tables'>\n"; echo "<p id='tables'>\n";
foreach ($tables as $table => $type) { foreach ($tables as $table => $type) {
echo '<a href="' . h(ME) . 'select=' . urlencode($table) . '"' . bold($_GET["select"] == $table) . ">" . lang('select') . "</a> "; echo '<a href="' . h(ME) . 'select=' . urlencode($table) . '"' . bold($_GET["select"] == $table) . ">" . lang('select') . "</a> ";
echo '<a href="' . h(ME) . 'table=' . urlencode($table) . '"' . bold($_GET["table"] == $table) . ">" . $this->tableName(array("Name" => $table)) . "</a><br>\n"; //! Adminer::tableName may work with full table status echo '<a href="' . h(ME) . 'table=' . urlencode($table) . '"' . bold($_GET["table"] == $table) . " title='" . lang('Show structure') . "'>" . $this->tableName(array("Name" => $table)) . "</a><br>\n"; //! Adminer::tableName may work with full table status
} }
} }

View file

@ -1,5 +1,5 @@
Adminer 3.3.3-dev: Adminer 3.3.3-dev:
Link titles in database overview Titles of links in database overview
Fix trigger export (SQLite) Fix trigger export (SQLite)
Default trigger statement (SQLite, PostgreSQL) Default trigger statement (SQLite, PostgreSQL)
Remove search by expression (PostgreSQL, MS SQL) Remove search by expression (PostgreSQL, MS SQL)

View file

@ -556,7 +556,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
foreach ($tables as $row) { foreach ($tables as $row) {
$name = $this->tableName($row); $name = $this->tableName($row);
if (isset($row["Engine"]) && $name != "") { // ignore views and tables without name if (isset($row["Engine"]) && $name != "") { // ignore views and tables without name
echo "<a href='" . h(ME) . 'select=' . urlencode($row["Name"]) . "'" . bold($_GET["select"] == $row["Name"]) . ">$name</a><br>\n"; echo "<a href='" . h(ME) . 'select=' . urlencode($row["Name"]) . "'" . bold($_GET["select"] == $row["Name"]) . " title='" . lang('Select data') . "'>$name</a><br>\n";
} }
} }
} }