aboutsummaryrefslogtreecommitdiffstats
path: root/include/group.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-08 16:04:28 -0800
committerfriendica <info@friendica.com>2013-12-08 16:04:28 -0800
commitd32e05fb5e30dc634754e9d2e55cc7702a883ede (patch)
tree58c649e8e404856f4e9a560a583ae24c43927849 /include/group.php
parent7c6c036f8a9933f2d9833e30148bee1554d0c87d (diff)
downloadvolse-hubzilla-d32e05fb5e30dc634754e9d2e55cc7702a883ede.tar.gz
volse-hubzilla-d32e05fb5e30dc634754e9d2e55cc7702a883ede.tar.bz2
volse-hubzilla-d32e05fb5e30dc634754e9d2e55cc7702a883ede.zip
starting on the journey to comanche everywhere - beginning with widget conversions. There are approximately 20 which need to be wrapped for accessibility to comanche.
Diffstat (limited to 'include/group.php')
-rw-r--r--include/group.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/group.php b/include/group.php
index d339301b4..8f690785d 100644
--- a/include/group.php
+++ b/include/group.php
@@ -229,7 +229,7 @@ function mini_group_select($uid,$group = '') {
-function group_side($every="contacts",$each="group",$edit = false, $group_id = 0, $cid = '') {
+function group_side($every="contacts",$each="group",$edit = false, $group_id = 0, $cid = '',$mode = 1) {
$o = '';
@@ -272,7 +272,7 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0
'cid' => $cid,
'text' => $rr['name'],
'selected' => $selected,
- 'href' => (($each === 'network') ? $each.'?f=&gid='.$rr['id'] : $each."/".$rr['id']),
+ 'href' => (($mode == 0) ? $each.'?f=&gid='.$rr['id'] : $each."/".$rr['id']),
'edit' => $groupedit,
'ismember' => in_array($rr['id'],$member_of),
);