forked from GNUsocial/gnu-social
Updated OStatus form markup
This commit is contained in:
parent
f6e766d5ac
commit
24394269fa
@ -79,15 +79,15 @@ class OStatusInitAction extends Action
|
|||||||
'class' => 'form_settings',
|
'class' => 'form_settings',
|
||||||
'action' => common_local_url('ostatusinit')));
|
'action' => common_local_url('ostatusinit')));
|
||||||
$this->elementStart('fieldset');
|
$this->elementStart('fieldset');
|
||||||
$this->element('legend', _('Subscribe to a remote user'));
|
$this->element('legend', null, sprintf(_('Subscribe to %s'), $this->nickname));
|
||||||
$this->hidden('token', common_session_token());
|
$this->hidden('token', common_session_token());
|
||||||
|
|
||||||
$this->elementStart('ul', 'form_data');
|
$this->elementStart('ul', 'form_data');
|
||||||
$this->elementStart('li');
|
$this->elementStart('li', array('id' => 'ostatus_nickname'));
|
||||||
$this->input('nickname', _('User nickname'), $this->nickname,
|
$this->input('nickname', _('User nickname'), $this->nickname,
|
||||||
_('Nickname of the user you want to follow'));
|
_('Nickname of the user you want to follow'));
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
$this->elementStart('li');
|
$this->elementStart('li', array('id' => 'ostatus_profile'));
|
||||||
$this->input('acct', _('Profile Account'), $this->acct,
|
$this->input('acct', _('Profile Account'), $this->acct,
|
||||||
_('Your account id (i.e. user@identi.ca)'));
|
_('Your account id (i.e. user@identi.ca)'));
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
@ -95,7 +95,7 @@ class OStatusInitAction extends Action
|
|||||||
$this->submit('submit', _('Subscribe'));
|
$this->submit('submit', _('Subscribe'));
|
||||||
$this->elementEnd('fieldset');
|
$this->elementEnd('fieldset');
|
||||||
$this->elementEnd('form');
|
$this->elementEnd('form');
|
||||||
}
|
}
|
||||||
|
|
||||||
function ostatusConnect()
|
function ostatusConnect()
|
||||||
{
|
{
|
||||||
@ -125,4 +125,4 @@ class OStatusInitAction extends Action
|
|||||||
return _('OStatus Connect');
|
return _('OStatus Connect');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user