diff options
author | git-marijus <mario@mariovavti.com> | 2017-07-21 22:36:47 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-07-21 22:36:47 +0200 |
commit | 27678a523c4c02bf4e3b31bf4ac01413feaf3759 (patch) | |
tree | cbadb8517fd84cac8689be5bb68cb10cdd12ee27 /Zotlabs/Module/Connections.php | |
parent | 1bdcfe5219c810758ae255427513a7a0c09ce8e1 (diff) | |
download | volse-hubzilla-27678a523c4c02bf4e3b31bf4ac01413feaf3759.tar.gz volse-hubzilla-27678a523c4c02bf4e3b31bf4ac01413feaf3759.tar.bz2 volse-hubzilla-27678a523c4c02bf4e3b31bf4ac01413feaf3759.zip |
more nav_set_selected apps
Diffstat (limited to 'Zotlabs/Module/Connections.php')
-rw-r--r-- | Zotlabs/Module/Connections.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zotlabs/Module/Connections.php b/Zotlabs/Module/Connections.php index b3c5e8ee9..6ad1e9528 100644 --- a/Zotlabs/Module/Connections.php +++ b/Zotlabs/Module/Connections.php @@ -29,6 +29,8 @@ class Connections extends \Zotlabs\Web\Controller { notice( t('Permission denied.') . EOL); return login(); } + + nav_set_selected(t('Connections')); $blocked = false; $hidden = false; @@ -71,7 +73,6 @@ class Connections extends \Zotlabs\Web\Controller { $search_flags = " and abook_pending = 1 "; $head = t('New'); $pending = true; - nav_set_selected('intros'); break; case 'ifpending': $r = q("SELECT COUNT(abook.abook_id) AS total FROM abook left join xchan on abook.abook_xchan = xchan.xchan_hash where abook_channel = %d and abook_pending = 1 and abook_self = 0 and abook_ignored = 0 and xchan_deleted = 0 and xchan_orphan = 0 ", @@ -81,7 +82,6 @@ class Connections extends \Zotlabs\Web\Controller { $search_flags = " and abook_pending = 1 "; $head = t('New'); $pending = true; - nav_set_selected('intros'); \App::$argv[1] = 'pending'; } else { @@ -91,7 +91,6 @@ class Connections extends \Zotlabs\Web\Controller { \App::$argc = 1; unset(\App::$argv[1]); } - nav_set_selected('intros'); break; // case 'unconnected': // $search_flags = " and abook_unconnected = 1 "; |