mirror of
https://github.com/vrana/adminer.git
synced 2026-05-07 15:16:31 +02:00
<label> outside <input>
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@92 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -123,7 +123,7 @@ for (var i=1; <?php echo count($row["fields"]); ?> >= i; i++) {
|
||||
document.getElementById('form')['fields[' + i + '][type]'].onchange();
|
||||
}
|
||||
|
||||
document.write('<input type="checkbox" id="column_comments"<?php if ($column_comments) { ?> checked="checked"<?php } ?> onclick="column_comments_click(this.checked);" /><label for="column_comments"><?php echo lang('Show column comments'); ?></label>');
|
||||
document.write('<label for="column_comments"><input type="checkbox" id="column_comments"<?php if ($column_comments) { ?> checked="checked"<?php } ?> onclick="column_comments_click(this.checked);" /><?php echo lang('Show column comments'); ?></label>');
|
||||
function column_comments_click(checked) {
|
||||
for (var i=0; <?php echo count($row["fields"]); ?> >= i; i++) {
|
||||
document.getElementById('comment-' + i).style.display = (checked ? '' : 'none');
|
||||
|
||||
Reference in New Issue
Block a user