short test with array

This commit is contained in:
rabuzarus 2017-04-08 23:46:59 +02:00
parent b5a42c5b31
commit 6338636ff3

View file

@ -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']);