aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-01 06:14:15 -0700
committerFriendika <info@friendika.com>2011-07-01 06:14:15 -0700
commitb1aa77584f972b8c62fd099fa7fe08c36201b631 (patch)
tree0ffed6312a8f664ac14959b9a6e279d35808f1e3 /mod/network.php
parent6e5532149a08b264e958202fa971d35b446fac3b (diff)
downloadvolse-hubzilla-b1aa77584f972b8c62fd099fa7fe08c36201b631.tar.gz
volse-hubzilla-b1aa77584f972b8c62fd099fa7fe08c36201b631.tar.bz2
volse-hubzilla-b1aa77584f972b8c62fd099fa7fe08c36201b631.zip
indicate currently selected group in group picker
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index 9c5202ad2..6169b5083 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -7,7 +7,8 @@ function network_init(&$a) {
return;
}
-
+ $group_id = (($a->argc > 1 && intval($a->argv[1])) ? intval($a->argv[1]) : 0);
+
require_once('include/group.php');
if(! x($a->page,'aside'))
$a->page['aside'] = '';
@@ -29,7 +30,7 @@ function network_init(&$a) {
$a->page['aside'] .= '</div>';
- $a->page['aside'] .= group_side('network','network',true);
+ $a->page['aside'] .= group_side('network','network',true,$group_id);
}