From 97eef2b88c5e2e709b8efdb2ea597a5803783e24 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 26 Mar 2016 19:34:38 +0100 Subject: removed link to connected apps by accident --- include/widgets.php | 6 ++++++ view/tpl/locmanage.tpl | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/widgets.php b/include/widgets.php index 010fcf0ae..ac0b6a84f 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -559,6 +559,12 @@ function widget_settings_menu($arr) { ); } + $tabs[] = array( + 'label' => t('Connected apps'), + 'url' => $a->get_baseurl(true) . '/settings/oauth', + 'selected' => ((argv(1) === 'oauth') ? 'active' : ''), + ); + if($role === false || $role === 'custom') { $tabs[] = array( 'label' => t('Connection Default Permissions'), diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index 95847d559..6d8e90ad2 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -21,16 +21,16 @@ - + {{foreach $hubs as $hub}} {{if ! $hub.deleted }} - + -- cgit v1.2.3
{{$loc}} {{$addr}} {{$mkprm}} {{$drop}}
{{$hub.hubloc_url}} {{$hub.hubloc_addr}} {{if $hub.primary}}{{else}}{{/if}}