]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
write our own submit so there's no <p>
authorEvan Prodromou <evan@prodromou.name>
Mon, 8 Sep 2008 20:22:26 +0000 (16:22 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 8 Sep 2008 20:22:26 +0000 (16:22 -0400)
darcs-hash:20080908202226-84dde-bf0bf0d67f1f9a9e4cf70bc20fb12b4ca736b594.gz

lib/util.php

index 8a1f9e008e58c8c1ea364773c3370cf5572b4e4f..659c8387c55ee18ae868b8c791e311b473a60063 100644 (file)
@@ -1554,7 +1554,11 @@ function common_disfavor_form($notice) {
                                                                           'action' => common_local_url('disfavor')));
        common_hidden('token', common_session_token());
        common_hidden('notice', $notice->id);
-       common_submit('disfavor-submit-' . $notice->id, '♥', 'disfavor');
+       common_element('input', array('type' => 'submit',
+                                                                 'id' => 'disfavor-submit-' . $notice->id,
+                                                                 'name' => 'disfavor-submit-' . $notice->id,
+                                                                 'class' => 'disfavor',
+                                                                 'value' => '♥'));
        common_element_end('form');
 }
 
@@ -1565,7 +1569,11 @@ function common_favor_form($notice) {
                                                                           'action' => common_local_url('favor')));
        common_hidden('token', common_session_token());
        common_hidden('notice', $notice->id);
-       common_submit('favor-submit-' . $notice->id, '♡', 'favor');
+       common_element('input', array('type' => 'submit',
+                                                                 'id' => 'favor-submit-' . $notice->id,
+                                                                 'name' => 'favor-submit-' . $notice->id,
+                                                                 'class' => 'favor',
+                                                                 'value' => '♡'));
        common_element_end('form');
 }