Reinstate labels for oauth application info.
This commit is contained in:
parent
1b7d1d9a4a
commit
c8a09b051c
@ -251,21 +251,19 @@ class ShowApplicationAction extends Action
|
|||||||
$this->elementStart('div', 'entity_data');
|
$this->elementStart('div', 'entity_data');
|
||||||
// TRANS: Header on the OAuth application page.
|
// TRANS: Header on the OAuth application page.
|
||||||
$this->element('h2', null, _('Application info'));
|
$this->element('h2', null, _('Application info'));
|
||||||
$this->element('div',
|
|
||||||
'entity_consumer_key',
|
|
||||||
$consumer->consumer_key);
|
|
||||||
|
|
||||||
$this->element('div',
|
$this->elementStart('dl');
|
||||||
'entity_consumer_secret',
|
$this->element('dt', null, _('Consumer key'));
|
||||||
$consumer->consumer_secret);
|
$this->element('dd', null, $consumer->consumer_key);
|
||||||
|
$this->element('dt', null, _('Consumer secret'));
|
||||||
$this->element('div',
|
$this->element('dd', null, $consumer->consumer_secret);
|
||||||
'entity_request_token_url',
|
$this->element('dt', null, _('Request token URL'));
|
||||||
common_local_url('ApiOauthRequestToken'));
|
$this->element('dd', null, common_local_url('ApiOauthRequestToken'));
|
||||||
|
$this->element('dt', null, _('Access token URL'));
|
||||||
$this->element('div', 'entity_access_token_url', common_local_url('ApiOauthAccessToken'));
|
$this->element('dd', null, common_local_url('ApiOauthAccessToken'));
|
||||||
|
$this->element('dt', null, _('Authorize URL'));
|
||||||
$this->element('div', 'entity_authorize_url', common_local_url('ApiOauthAuthorize'));
|
$this->element('dd', null, common_local_url('ApiOauthAuthorize'));
|
||||||
|
$this->elementEnd('dl');
|
||||||
|
|
||||||
$this->element('p', 'note',
|
$this->element('p', 'note',
|
||||||
// TRANS: Note on the OAuth application page about signature support.
|
// TRANS: Note on the OAuth application page about signature support.
|
||||||
|
Loading…
Reference in New Issue
Block a user