add nbsp to submit button label

darcs-hash:20080520180640-84dde-ab6db22c62371f5b747c39a78d5296e2d2fce2f8.gz
This commit is contained in:
Evan Prodromou 2008-05-20 14:06:40 -04:00
parent c3b0e7bf50
commit 2eab2c2d9d

View 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(' ');
common_element_end('label');
common_element('input', array('type' => 'submit',
'id' => $id,
'name' => $id,