diff options
author | Andrew Manning <tamanning@zoho.com> | 2018-04-07 17:48:48 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2018-04-07 17:48:48 -0400 |
commit | be6dcb5d0a96d3618c4d4d824bf94b0a6753fefc (patch) | |
tree | 986d8b726fc2ec7e9eb1aa696c563683a9569d33 /Zotlabs/Widget/Settings_menu.php | |
parent | a5aff7d0c969adb78338e35a1d736ad80462b34b (diff) | |
parent | bddf8cfde4811dbdc821c1c65a2042e13f05e109 (diff) | |
download | volse-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.php | 10 |
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'), |