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.

This commit is contained in:
jeroenpraat
2016-02-18 16:53:04 +01:00
parent eeed7077ca
commit fe392a3144
4 changed files with 22 additions and 11 deletions

View File

@@ -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(