Skip to content

Commit

Permalink
Improve forms accessability
Browse files Browse the repository at this point in the history
  • Loading branch information
volschin committed Apr 11, 2011
1 parent 6f463cf commit de210ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions search.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function checkAll(box) {
echo ' <input type="button" value="', WT_I18N::translate('invert selection'), '" onclick="jQuery(\'#trees :checkbox\').each(function(){jQuery(this).attr(\'checked\', !jQuery(this).attr(\'checked\'));});return false;"/>';
}
}
echo '</div><div id="trees" style="max-height:300px; overflow-x:auto;">';
echo '</div><div id="trees" style="max-height:300px; overflow-x:auto;">', "\n";
//-- sorting menu by gedcom filename
asort($all_gedcoms);
foreach ($all_gedcoms as $ged_id=>$gedcom) {
Expand All @@ -350,13 +350,12 @@ function checkAll(box) {
if (isset ($_REQUEST["$str"])) {
echo 'checked="checked" ';
}
echo 'value="yes" id="checkbox_', $ged_id , '" name="', $str, '" />', get_gedcom_setting($ged_id, 'title'), '<br />';
echo 'value="yes" id="checkbox_', $ged_id , '" name="', $str, '" /><label for="checkbox_', $ged_id , '">', get_gedcom_setting($ged_id, 'title'), '</label><br />', "\n";
}
echo '</div></td>';
?>
</tr>
<?php

}
}
?>
Expand Down

0 comments on commit de210ae

Please sign in to comment.