From: Evan Prodromou Date: Tue, 20 May 2008 18:06:40 +0000 (-0400) Subject: add nbsp to submit button label X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2eab2c2d9d5727c0a57c1f597d10945565ad88ba;p=quix0rs-gnu-social.git add nbsp to submit button label darcs-hash:20080520180640-84dde-ab6db22c62371f5b747c39a78d5296e2d2fce2f8.gz --- 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,