From 2eab2c2d9d5727c0a57c1f597d10945565ad88ba Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 20 May 2008 14:06:40 -0400 Subject: [PATCH] add nbsp to submit button label darcs-hash:20080520180640-84dde-ab6db22c62371f5b747c39a78d5296e2d2fce2f8.gz --- lib/util.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 07332a07f3..0b69b9d860 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,