aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Settings_menu.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-04-07 17:48:48 -0400
committerAndrew Manning <tamanning@zoho.com>2018-04-07 17:48:48 -0400
commitbe6dcb5d0a96d3618c4d4d824bf94b0a6753fefc (patch)
tree986d8b726fc2ec7e9eb1aa696c563683a9569d33 /Zotlabs/Widget/Settings_menu.php
parenta5aff7d0c969adb78338e35a1d736ad80462b34b (diff)
parentbddf8cfde4811dbdc821c1c65a2042e13f05e109 (diff)
downloadvolse-hubzilla-be6dcb5d0a96d3618c4d4d824bf94b0a6753fefc.tar.gz
volse-hubzilla-be6dcb5d0a96d3618c4d4d824bf94b0a6753fefc.tar.bz2
volse-hubzilla-be6dcb5d0a96d3618c4d4d824bf94b0a6753fefc.zip
Merge branch 'dev' into auto-save
Diffstat (limited to 'Zotlabs/Widget/Settings_menu.php')
-rw-r--r--Zotlabs/Widget/Settings_menu.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Settings_menu.php b/Zotlabs/Widget/Settings_menu.php
index 455fdcb9b..9574becc3 100644
--- a/Zotlabs/Widget/Settings_menu.php
+++ b/Zotlabs/Widget/Settings_menu.php
@@ -81,12 +81,20 @@ class Settings_menu {
if(feature_enabled(local_channel(),'oauth_clients')) {
$tabs[] = array(
- 'label' => t('Connected apps'),
+ 'label' => t('OAuth1 apps'),
'url' => z_root() . '/settings/oauth',
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
}
+ if(feature_enabled(local_channel(),'oauth2_clients')) {
+ $tabs[] = array(
+ 'label' => t('OAuth2 apps'),
+ 'url' => z_root() . '/settings/oauth2',
+ 'selected' => ((argv(1) === 'oauth2') ? 'active' : ''),
+ );
+ }
+
if(feature_enabled(local_channel(),'access_tokens')) {
$tabs[] = array(
'label' => t('Guest Access Tokens'),