make presentation of remote subscribe nicer

darcs-hash:20080610143709-84dde-ce586d1ca5bb73bdeef8b254f8835f599b769714.gz
This commit is contained in:
Evan Prodromou 2008-06-10 10:37:09 -04:00
parent e16016a096
commit cb0dfba149
1 changed files with 27 additions and 19 deletions

View File

@ -156,11 +156,19 @@ class ShowstreamAction extends StreamAction {
}
function show_remote_subscribe_form($profile) {
common_element_start('form', array('id' => 'remotesubscribe', 'method' => 'POST',
common_element_start('form', array('id' => 'remotesubscribe',
'method' => 'POST',
'action' => common_local_url('remotesubscribe')));
common_hidden('nickname', $profile->nickname);
common_input('profile', _t('Profile'));
common_submit('submit',_t('Subscribe'));
common_element('input', array('name' => 'profile',
'type' => 'text',
'id' => 'profile',
'size' => '15'));
common_element('input', array('type' => 'submit',
'id' => 'submit',
'name' => 'submit',
'value' => _t('Subscribe'),
'class' => 'button'));
common_element_end('form');
}