Highlight odd rows
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1202 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
84ec21afea
commit
75ed3ef827
|
@ -34,7 +34,7 @@ function connect_error() {
|
||||||
echo "<thead><tr><td><input type='hidden' name='token' value='$token'> <th>" . lang('Database') . "<td>" . lang('Collation') . "<td>" . lang('Tables') . "</thead>\n";
|
echo "<thead><tr><td><input type='hidden' name='token' value='$token'> <th>" . lang('Database') . "<td>" . lang('Collation') . "<td>" . lang('Tables') . "</thead>\n";
|
||||||
foreach ($databases as $db) {
|
foreach ($databases as $db) {
|
||||||
$root = h(ME) . "db=" . urlencode($db);
|
$root = h(ME) . "db=" . urlencode($db);
|
||||||
echo "<tr><td>" . checkbox("db[]", $db, false);
|
echo "<tr" . odd() . "><td>" . checkbox("db[]", $db, false);
|
||||||
echo "<th><a href='$root'>" . h($db) . "</a>";
|
echo "<th><a href='$root'>" . h($db) . "</a>";
|
||||||
echo "<td><a href='$root&database='>" . nbsp(db_collation($db, $collations)) . "</a>";
|
echo "<td><a href='$root&database='>" . nbsp(db_collation($db, $collations)) . "</a>";
|
||||||
$result = $connection->query("SHOW TABLES FROM " . idf_escape($db));
|
$result = $connection->query("SHOW TABLES FROM " . idf_escape($db));
|
||||||
|
|
Loading…
Reference in a new issue