]> git.joonet.de Git - adminer.git/commitdiff
Highlight odd rows
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Mon, 19 Oct 2009 14:55:50 +0000 (14:55 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Mon, 19 Oct 2009 14:55:50 +0000 (14:55 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1202 7c3ca157-0c34-0410-bff1-cbf682f78f5c

adminer/include/connect.inc.php

index fac022b575083682a3251314a117914b56477998..9ad74d2b6e5fad9744e8aca768c40c9867767cfb 100644 (file)
@@ -34,7 +34,7 @@ function connect_error() {
                        echo "<thead><tr><td><input type='hidden' name='token' value='$token'>&nbsp;<th>" . lang('Database') . "<td>" . lang('Collation') . "<td>" . lang('Tables') . "</thead>\n";
                        foreach ($databases as $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 "<td><a href='$root&amp;database='>" . nbsp(db_collation($db, $collations)) . "</a>";
                                $result = $connection->query("SHOW TABLES FROM " . idf_escape($db));