From 1152a0f6803291db3d905aed47989bcccf9f9f72 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 26 Jun 2008 14:22:31 -0400 Subject: [PATCH] move text out of input, into a separate span darcs-hash:20080626182231-34904-e8d139c2a8b5cd07fa0179b0bcf5cd41f1a1217b.gz --- lib/util.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 2c2ee4c0c5..a20f64c85f 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