aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-14 22:41:53 -0700
committerredmatrix <git@macgirvin.com>2016-07-14 22:41:53 -0700
commit7ee7f00bf34b11d0427f03df9494088cf56ef9ee (patch)
treeeea7b4b07c143848e83bca6c1ef6e5ee5d483031 /include/widgets.php
parent397a23499dc64e2abdd2c27ccdf7e059a23dcfff (diff)
downloadvolse-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.php9
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'),