Some little standard stuff
This commit is contained in:
parent
a0216af4bb
commit
407e25e7d6
|
@ -84,7 +84,7 @@ function network_init(App $a) {
|
||||||
} else {
|
} else {
|
||||||
$remember_tab = false;
|
$remember_tab = false;
|
||||||
}
|
}
|
||||||
} elseif($sel_tabs[4] === 'active') {
|
} elseif ($sel_tabs[4] === 'active') {
|
||||||
// The '/new' tab is selected
|
// The '/new' tab is selected
|
||||||
$remember_group = false;
|
$remember_group = false;
|
||||||
}
|
}
|
||||||
|
@ -842,7 +842,7 @@ function network_tabs(App $a) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(feature_enabled(local_user(),'new_tab')) {
|
if (feature_enabled(local_user(),'new_tab')) {
|
||||||
$tabs[] = array(
|
$tabs[] = array(
|
||||||
'label' => t('New'),
|
'label' => t('New'),
|
||||||
'url' => 'network/new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),
|
'url' => 'network/new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),
|
||||||
|
|
Loading…
Reference in a new issue