]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add nbsp to submit button label
authorEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 18:06:40 +0000 (14:06 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 18:06:40 +0000 (14:06 -0400)
darcs-hash:20080520180640-84dde-ab6db22c62371f5b747c39a78d5296e2d2fce2f8.gz

lib/util.php

index 07332a07f353e0446ed4f212cb96d6aac5cc59c9..0b69b9d860c437139c5e6a7bee543479d0f2b268 100644 (file)
@@ -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('&nbsp;');
+       common_element_end('label');
        common_element('input', array('type' => 'submit',
                                                                  'id' => $id,
                                                                  'name' => $id,