Add id attribute to tables
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@972 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
e878874f04
commit
140f9f2d4e
|
@ -444,7 +444,7 @@ class Adminer {
|
|||
if (!$result->num_rows) {
|
||||
echo "<p class='message'>" . lang('No tables.') . "\n";
|
||||
} else {
|
||||
echo "<p>\n";
|
||||
echo "<p id='tables'>\n";
|
||||
while ($row = $result->fetch_row()) {
|
||||
echo '<a href="' . h(ME) . 'select=' . urlencode($row[0]) . '">' . lang('select') . '</a> ';
|
||||
echo '<a href="' . h(ME) . 'table=' . urlencode($row[0]) . '">' . $this->tableName(array("Name" => $row[0])) . "</a><br>\n"; //! Adminer::tableName may work with full table status
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<?php
|
||||
$VERSION = "2.0.0";
|
||||
$VERSION = "2.0.1-dev";
|
||||
|
|
|
@ -350,7 +350,7 @@ ORDER BY ORDINAL_POSITION"); //! requires MySQL 5
|
|||
if (!$table_status) {
|
||||
echo "<p class='message'>" . lang('No tables.') . "\n";
|
||||
} else {
|
||||
echo "<p>\n";
|
||||
echo "<p id='tables'>\n";
|
||||
foreach ($table_status as $row) {
|
||||
$name = $this->tableName($row);
|
||||
if (isset($row["Engine"]) && strlen($name)) { // ignore views and tables without name
|
||||
|
|
Loading…
Reference in a new issue