summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 07332a07f..0b69b9d86 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -217,8 +217,11 @@ function common_password($id, $label) {
}
function common_submit($id, $label) {
+ global $xw;
common_element_start('p');
- common_element('label', NULL, ' ');
+ common_element_start('label', array('for' => $id));
+ $xw->writeRaw(' ');
+ common_element_end('label');
common_element('input', array('type' => 'submit',
'id' => $id,
'name' => $id,