summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-08 14:23:53 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-08 14:23:53 -0400
commitc47a576f6c15f1b59206c8b8d6470f4fb505e5a4 (patch)
tree599f37cad60886854fe627df8aa009f5aad1264a /lib/util.php
parenta8a36677748b304faf20742598b90f3d9634f393 (diff)
change input buttons to submit buttons
darcs-hash:20080908182353-84dde-c2825731b071e140b8bf8f633246eddc7c5b1f3c.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/util.php b/lib/util.php
index 6be317701..70894aeff 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -1553,9 +1553,7 @@ function common_disfavor_form($notice) {
'action' => common_local_url('disfavor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
- common_element('input', array('type' => 'button',
- 'class' => 'disfavor'),
- '♥');
+ common_submit('disfavor-submit-' . $notice->id, '♥');
common_element_end('form');
}
@@ -1565,9 +1563,7 @@ function common_favor_form($notice) {
'action' => common_local_url('disfavor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
- common_element('input', array('type' => 'button',
- 'class' => 'disfavor'),
- '♡');
+ common_submit('favor-submit-' . $notice->id, '♡');
common_element_end('form');
}