change input buttons to submit buttons

darcs-hash:20080908182353-84dde-c2825731b071e140b8bf8f633246eddc7c5b1f3c.gz
This commit is contained in:
Evan Prodromou 2008-09-08 14:23:53 -04:00
parent a8a3667774
commit c47a576f6c

View File

@ -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');
}