diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/group.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/group.php b/include/group.php index f2e3d1820..bca369cd1 100644 --- a/include/group.php +++ b/include/group.php @@ -121,7 +121,7 @@ function group_get_members($gid) { -function group_side() { +function group_side($every="contacts",$each="group") { if(! local_user()) return; @@ -136,7 +136,7 @@ $o .= <<< EOT <div id="sidebar-group-list"> <ul id="sidebar-group-ul"> - <li class="sidebar-group-li" ><a href="contacts">Everybody</a></li> + <li class="sidebar-group-li" ><a href="$every">Everybody</a></li> EOT; @@ -145,7 +145,7 @@ EOT; ); if(count($r)) { foreach($r as $rr) - $o .= " <li class=\"sidebar-group-li\"><a href=\"group/{$rr['id']}\">{$rr['name']}</a></li>\r\n"; + $o .= " <li class=\"sidebar-group-li\"><a href=\"$each/{$rr['id']}\">{$rr['name']}</a></li>\r\n"; } $o .= " </ul>\r\n </div>\r\n</div>"; |