aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-02-18 16:53:04 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-02-18 16:53:04 +0100
commitfe392a3144f2c2e81e0451b1e6629136a60a7acd (patch)
treef19860cf935189fd701b86f6e5e3edf58414fbf3 /include/widgets.php
parenteeed7077ca699256df05184abfce1177358b524c (diff)
downloadvolse-hubzilla-fe392a3144f2c2e81e0451b1e6629136a60a7acd.tar.gz
volse-hubzilla-fe392a3144f2c2e81e0451b1e6629136a60a7acd.tar.bz2
volse-hubzilla-fe392a3144f2c2e81e0451b1e6629136a60a7acd.zip
Removed export temporary from UNO. Removed 'Remove Channel' from UNO, cause a UNO member has only 1 channel, so it's logical to remove the acccount (by experience on UNO hub). Styling oauth settings.
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/widgets.php b/include/widgets.php
index fa2b3de4d..a995fdf1c 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -542,11 +542,14 @@ function widget_settings_menu($arr) {
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
);
- $tabs[] = array(
- 'label' => t('Export channel'),
- 'url' => $a->get_baseurl(true) . '/uexport',
- 'selected' => ''
- );
+ // IF can go away when UNO export and import is fully functional
+ if(! UNO) {
+ $tabs[] = array(
+ 'label' => t('Export channel'),
+ 'url' => $a->get_baseurl(true) . '/uexport',
+ 'selected' => ''
+ );
+ }
if($role === false || $role === 'custom') {
$tabs[] = array(