change input buttons to submit buttons
darcs-hash:20080908182353-84dde-c2825731b071e140b8bf8f633246eddc7c5b1f3c.gz
This commit is contained in:
parent
a8a3667774
commit
c47a576f6c
@ -1553,9 +1553,7 @@ function common_disfavor_form($notice) {
|
|||||||
'action' => common_local_url('disfavor')));
|
'action' => common_local_url('disfavor')));
|
||||||
common_hidden('token', common_session_token());
|
common_hidden('token', common_session_token());
|
||||||
common_hidden('notice', $notice->id);
|
common_hidden('notice', $notice->id);
|
||||||
common_element('input', array('type' => 'button',
|
common_submit('disfavor-submit-' . $notice->id, '♥');
|
||||||
'class' => 'disfavor'),
|
|
||||||
'♥');
|
|
||||||
common_element_end('form');
|
common_element_end('form');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1565,9 +1563,7 @@ function common_favor_form($notice) {
|
|||||||
'action' => common_local_url('disfavor')));
|
'action' => common_local_url('disfavor')));
|
||||||
common_hidden('token', common_session_token());
|
common_hidden('token', common_session_token());
|
||||||
common_hidden('notice', $notice->id);
|
common_hidden('notice', $notice->id);
|
||||||
common_element('input', array('type' => 'button',
|
common_submit('favor-submit-' . $notice->id, '♡');
|
||||||
'class' => 'disfavor'),
|
|
||||||
'♡');
|
|
||||||
common_element_end('form');
|
common_element_end('form');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user