minor - change nav_set_selected() to only highlight intros if on that particular connections page and not for any connections page.
This commit is contained in:
parent
27b4127f30
commit
852f102ba3
@ -159,7 +159,6 @@ function connections_content(&$a) {
|
|||||||
|
|
||||||
$sort_type = 0;
|
$sort_type = 0;
|
||||||
$o = '';
|
$o = '';
|
||||||
nav_set_selected('intros');
|
|
||||||
|
|
||||||
|
|
||||||
if(! local_user()) {
|
if(! local_user()) {
|
||||||
@ -511,6 +510,7 @@ function connections_content(&$a) {
|
|||||||
$search_flags = ABOOK_FLAG_PENDING;
|
$search_flags = ABOOK_FLAG_PENDING;
|
||||||
$head = t('New');
|
$head = t('New');
|
||||||
$pending = true;
|
$pending = true;
|
||||||
|
nav_set_selected('intros');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'all':
|
case 'all':
|
||||||
|
Reference in New Issue
Block a user