short test with array
This commit is contained in:
parent
b5a42c5b31
commit
6338636ff3
|
@ -209,7 +209,14 @@ function group_content(App $a) {
|
||||||
foreach($members as $member) {
|
foreach($members as $member) {
|
||||||
if($member['url']) {
|
if($member['url']) {
|
||||||
$member['click'] = 'groupChangeMember(' . $group['id'] . ',' . $member['id'] . ',\'' . $sec_token . '\'); return true;';
|
$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
|
else
|
||||||
group_rmv_member(local_user(),$group['name'],$member['id']);
|
group_rmv_member(local_user(),$group['name'],$member['id']);
|
||||||
|
|
Loading…
Reference in a new issue