aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-08-31 17:49:22 -0700
committerredmatrix <mike@macgirvin.com>2016-08-31 17:49:22 -0700
commitea0be8ea1a22abfdedae0d0c47677a9de44e08c0 (patch)
tree277e9a08e4958fef0801aeb83f73d2fb3cbee952 /include/widgets.php
parente9462ba14529b7172ba5a21e7985d24de91faa37 (diff)
downloadvolse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.tar.gz
volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.tar.bz2
volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.zip
provide techlevels in the pro server role. Should have no visible effect on other roles.
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php15
1 files changed, 6 insertions, 9 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 9429df249..16582d084 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -594,14 +594,11 @@ function widget_settings_menu($arr) {
);
}
- // IF can go away when UNO export and import is fully functional
- if(get_config('system','server_role') !== 'basic') {
- $tabs[] = array(
- 'label' => t('Export channel'),
- 'url' => z_root() . '/uexport',
- 'selected' => ''
- );
- }
+ $tabs[] = array(
+ 'label' => t('Export channel'),
+ 'url' => z_root() . '/uexport',
+ 'selected' => ''
+ );
$tabs[] = array(
'label' => t('Connected apps'),
@@ -609,7 +606,7 @@ function widget_settings_menu($arr) {
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
- if(get_config('system','server_role') !== 'basic') {
+ if(get_account_techlevel() > 2) {
$tabs[] = array(
'label' => t('Guest Access Tokens'),
'url' => z_root() . '/settings/tokens',