aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-25 16:27:22 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-25 16:27:22 -0700
commit52a2c7eb46ea3b9509e48f29eca6f1c398a85538 (patch)
tree7146fe1e5429e0ce52fc218273d2a756e1ce0e4b /include
parentfc8379b1080823bb69664aa4119ba190e1f5b1ca (diff)
downloadvolse-hubzilla-52a2c7eb46ea3b9509e48f29eca6f1c398a85538.tar.gz
volse-hubzilla-52a2c7eb46ea3b9509e48f29eca6f1c398a85538.tar.bz2
volse-hubzilla-52a2c7eb46ea3b9509e48f29eca6f1c398a85538.zip
group select on network page
Diffstat (limited to 'include')
-rw-r--r--include/group.php6
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>";