diff options
author | redmatrix <git@macgirvin.com> | 2016-07-14 22:41:53 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-14 22:41:53 -0700 |
commit | 7ee7f00bf34b11d0427f03df9494088cf56ef9ee (patch) | |
tree | eea7b4b07c143848e83bca6c1ef6e5ee5d483031 /include/widgets.php | |
parent | 397a23499dc64e2abdd2c27ccdf7e059a23dcfff (diff) | |
download | volse-hubzilla-7ee7f00bf34b11d0427f03df9494088cf56ef9ee.tar.gz volse-hubzilla-7ee7f00bf34b11d0427f03df9494088cf56ef9ee.tar.bz2 volse-hubzilla-7ee7f00bf34b11d0427f03df9494088cf56ef9ee.zip |
Here's the basic UI for the Zot Access Tokens, requires some minor cleanup
Diffstat (limited to 'include/widgets.php')
-rw-r--r-- | include/widgets.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/widgets.php b/include/widgets.php index 2d4d5b799..da73657f5 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -609,6 +609,15 @@ function widget_settings_menu($arr) { 'selected' => ((argv(1) === 'oauth') ? 'active' : ''), ); + if(! UNO) { + $tabs[] = array( + 'label' => t('Guest Access Tokens'), + 'url' => z_root() . '/settings/tokens', + 'selected' => ((argv(1) === 'tokens') ? 'active' : ''), + ); + } + + if($role === false || $role === 'custom') { $tabs[] = array( 'label' => t('Connection Default Permissions'), |