- $this->elementStart('div', array('id' => 'entity_data'));
- $this->element('h2', null, _('Application info'));
- $this->elementStart('dl', 'entity_consumer_key');
- $this->element('dt', null, _('Consumer key'));
- $this->element('dd', null, $consumer->consumer_key);
- $this->elementEnd('dl');
-
- $this->elementStart('dl', 'entity_consumer_secret');
- $this->element('dt', null, _('Consumer secret'));
- $this->element('dd', null, $consumer->consumer_secret);
- $this->elementEnd('dl');
-
- $this->elementStart('dl', 'entity_request_token_url');
- $this->element('dt', null, _('Request token URL'));
- $this->element('dd', null, common_local_url('apioauthrequesttoken'));
- $this->elementEnd('dl');
-
- $this->elementStart('dl', 'entity_access_token_url');
- $this->element('dt', null, _('Access token URL'));
- $this->element('dd', null, common_local_url('apioauthaccesstoken'));
- $this->elementEnd('dl');
-
- $this->elementStart('dl', 'entity_authorize_url');
- $this->element('dt', null, _('Authorize URL'));
- $this->element('dd', null, common_local_url('apioauthauthorize'));
- $this->elementEnd('dl');
-
- $this->element('p', 'oauth-signature-note',
- '* We support hmac-sha1 signatures. We do not support the plaintext signature method.');
+ $this->element('div', 'entity_access_token_url', common_local_url('ApiOauthAccessToken'));
+
+ $this->element('div', 'entity_authorize_url', common_local_url('ApiOauthAuthorize'));
+
+ $this->element('p', 'note',
+ _('Note: We support HMAC-SHA1 signatures. We do not support the plaintext signature method.'));