1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-24 15:12:51 +02:00

Avoid duplicate values of HTML id attributes (bug #3614245)

Unsupports <label> in IE6.
This commit is contained in:
Jakub Vrana
2013-06-03 08:56:18 -07:00
parent e04be3a996
commit 26ad18bab2
4 changed files with 5 additions and 6 deletions

View File

@@ -287,7 +287,7 @@ username.form['auth[driver]'].onchange();
}
}
echo "<div><select name='order[$i]' onchange='selectAddRow(this);'><option>" . optionlist($columns, null, true) . "</select>";
echo "<label><input type='checkbox' name='desc[$i]' value='1'>" . lang('descending') . "</label></div>\n"; // not checkbox() to allow selectAddRow()
echo checkbox("desc[$i]", 1, false, lang('descending')) . "</div>\n";
echo "</div></fieldset>\n";
}