starting on the journey to comanche everywhere - beginning with widget conversions. There are approximately 20 which need to be wrapped for accessibility to comanche.

This commit is contained in:
friendica
2013-12-08 16:04:28 -08:00
parent 7c6c036f8a
commit d32e05fb5e
4 changed files with 13 additions and 5 deletions

View File

@@ -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),
);