diff options
author | Friendika <info@friendika.com> | 2011-07-01 06:14:15 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-07-01 06:14:15 -0700 |
commit | b1aa77584f972b8c62fd099fa7fe08c36201b631 (patch) | |
tree | 0ffed6312a8f664ac14959b9a6e279d35808f1e3 /mod | |
parent | 6e5532149a08b264e958202fa971d35b446fac3b (diff) | |
download | volse-hubzilla-b1aa77584f972b8c62fd099fa7fe08c36201b631.tar.gz volse-hubzilla-b1aa77584f972b8c62fd099fa7fe08c36201b631.tar.bz2 volse-hubzilla-b1aa77584f972b8c62fd099fa7fe08c36201b631.zip |
indicate currently selected group in group picker
Diffstat (limited to 'mod')
-rw-r--r-- | mod/network.php | 5 |
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); } |