mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
indicate currently selected group in group picker
This commit is contained in:
parent
6e5532149a
commit
b1aa77584f
3 changed files with 14 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue