diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 2c2ee4c0c..a20f64c85 100644 --- a/lib/util.php +++ b/lib/util.php @@ -329,7 +329,11 @@ function common_checkbox($id, $label, $instructions=NULL, $value='true') if ($value) { $attrs['value'] = htmlspecialchars($value); } - common_element('input', $attrs, $label); + common_element('input', $attrs); + # XXX: use a <label> + common_text(' '); + common_element('span', 'checkbox_label', $label); + common_text(' '); if ($instructions) { common_element('span', 'input_instructions', $instructions); } |