]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add a label for submit button
authorEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 17:59:06 +0000 (13:59 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 17:59:06 +0000 (13:59 -0400)
darcs-hash:20080520175906-84dde-3b4aec544d517b21344fa802ca00026c8362b573.gz

lib/util.php

index fb89d1ca2a6ece03881962907b21f6eae861a01f..07332a07f353e0446ed4f212cb96d6aac5cc59c9 100644 (file)
@@ -218,10 +218,12 @@ function common_password($id, $label) {
 
 function common_submit($id, $label) {
        common_element_start('p');
+       common_element('label', NULL, ' ');
        common_element('input', array('type' => 'submit',
                                                                  'id' => $id,
                                                                  'name' => $id,
-                                                                 'value' => $label));
+                                                                 'value' => $label,
+                                                                 'class' => 'button'));
        common_element_end('p');
 }