aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Connections.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-21 22:36:47 +0200
committergit-marijus <mario@mariovavti.com>2017-07-21 22:36:47 +0200
commit27678a523c4c02bf4e3b31bf4ac01413feaf3759 (patch)
treecbadb8517fd84cac8689be5bb68cb10cdd12ee27 /Zotlabs/Module/Connections.php
parent1bdcfe5219c810758ae255427513a7a0c09ce8e1 (diff)
downloadvolse-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.php5
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 ";