1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Use odd (thanks to kozotoc)

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1217 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2009-10-28 12:14:38 +00:00
parent fe4ca25f2d
commit 0c6811e4e6

View File

@@ -14,7 +14,7 @@ if ($fields) {
echo "<table cellspacing='0'>\n";
echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . "<td>" . lang('Comment') . "</thead>\n";
foreach ($fields as $field) {
echo "<tr><th>" . h($field["field"]);
echo "<tr" . odd() . "><th>" . h($field["field"]);
echo "<td>" . h($field["full_type"]) . ($field["null"] ? " <i>NULL</i>" : "") . ($field["auto_increment"] ? " <i>" . lang('Auto Increment') . "</i>" : "");
echo "<td>" . nbsp($field["comment"]);
echo "\n";