summaryrefslogtreecommitdiff
path: root/actions/oauthconnectionssettings.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-16 16:58:49 -0800
committerZach Copley <zach@status.net>2010-01-14 02:41:04 +0000
commitdad67b030f395816db4ba32cef56e848aea93f96 (patch)
tree006b6a06b9485456713d57181e1fe7aefc1809c1 /actions/oauthconnectionssettings.php
parent8e0499a233292a1df9526efc48e252ea56eedeac (diff)
Workflow for registering new OAuth apps pretty much done.
Diffstat (limited to 'actions/oauthconnectionssettings.php')
-rw-r--r--actions/oauthconnectionssettings.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/actions/oauthconnectionssettings.php b/actions/oauthconnectionssettings.php
index 6ec9f7027..e4b5af158 100644
--- a/actions/oauthconnectionssettings.php
+++ b/actions/oauthconnectionssettings.php
@@ -132,4 +132,17 @@ class OauthconnectionssettingsAction extends ConnectSettingsAction
$this->elementEnd('div');
}
+ function showSections()
+ {
+ $cur = common_current_user();
+
+ $this->element('h2', null, 'Developers');
+ $this->elementStart('p');
+ $this->raw(_('Developers can edit the registration settings for their applications '));
+ $this->element('a',
+ array('href' => common_local_url('apps', array('nickname' => $cur->nickname))),
+ 'here.');
+ $this->elementEnd('p');
+ }
+
}