Skip to content
Browse files

Simple table

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@597 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
1 parent f80a20f commit d2b1037121ed0e67d8214b9411a4cf302cf23d1b jakubvrana committed May 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 indexes.inc.php
View
2 indexes.inc.php
@@ -99,7 +99,7 @@ function add_column(field) {
<?php
$j = 0;
foreach ($row["indexes"] as $index) {
- echo "<tr" . odd() . "><td><select name='indexes[$j][type]'" . ($j == count($row["indexes"]) - 1 ? " onchange='add_row(this);'" : "") . "><option></option>" . optionlist($index_types, $index["type"]) . "</select></td><td>\n";
+ echo "<tr><td><select name='indexes[$j][type]'" . ($j == count($row["indexes"]) - 1 ? " onchange='add_row(this);'" : "") . "><option></option>" . optionlist($index_types, $index["type"]) . "</select></td><td>\n";
ksort($index["columns"]);
foreach ($index["columns"] as $i => $column) {
echo "<span><select name='indexes[$j][columns][$i]'" . ($i == count($index["columns"]) ? " onchange='add_column(this);'" : "") . "><option></option>" . optionlist($fields, $column) . "</select>";

0 comments on commit d2b1037

Please sign in to comment.
Something went wrong with that request. Please try again.