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-24 16:36:02 -0800
commit3c2b05d222a55cd1e148f3f887bf55e924898f1b (patch)
treed1ca17ba0782527ec43bb3026823e64913651d38 /actions/oauthconnectionssettings.php
parent035c475b45959057099c503d2cdcff8c8145e198 (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');
+ }
+
}