Here's the basic UI for the Zot Access Tokens, requires some minor cleanup

This commit is contained in:
redmatrix
2016-07-14 22:41:53 -07:00
parent 397a23499d
commit 7ee7f00bf3
3 changed files with 114 additions and 1 deletions

View File

@@ -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'),