]> git.mxchange.org Git - friendica.git/commitdiff
short test with array
authorrabuzarus <>
Sat, 8 Apr 2017 21:46:59 +0000 (23:46 +0200)
committerrabuzarus <>
Sat, 8 Apr 2017 21:46:59 +0000 (23:46 +0200)
mod/group.php

index 2b332e401f09debcbd987e2f80cb15c794bcb841..e038d130a8c07f7cd6e47bc52e8cd01f2a972fcc 100644 (file)
@@ -209,7 +209,14 @@ function group_content(App $a) {
        foreach($members as $member) {
                if($member['url']) {
                        $member['click'] = 'groupChangeMember(' . $group['id'] . ',' . $member['id'] . ',\'' . $sec_token . '\'); return true;';
-                       $groupeditor['members'][] = micropro($member,true,'mpgroup', $textmode);
+                       //$groupeditor['members'][] = micropro($member,true,'mpgroup', $textmode);
+                       $groupeditor['members'][] = array (
+                               'url'   => $member['url'],
+                               'photo' => proxy_url($member['thumb'], false, PROXY_SIZE_THUMB),
+                               'name'  => $member['name'],
+                               'title' => $member['name'] . ' [' . $contact['addr'] . ']',
+                               
+                       );
                }
                else
                        group_rmv_member(local_user(),$group['name'],$member['id']);