name;
$highlight = 'default';
} else {
$title = "";
$highlight = 'all';
}
echo "
";
echo "";
if ($vars['collection_members']) {
echo elgg_echo("friends:collectionfriends") . "
";
foreach ($vars['collection_members'] as $mem) {
echo elgg_view_entity_icon($mem, 'tiny');
echo $mem->name;
}
}
echo "
";
echo "";
echo elgg_view('input/friendspicker', array(
'entities' => $vars['friends'],
'name' => 'friends_collection',
'highlight' => $highlight,
));
echo "
";
echo "";
if (isset($vars['collection'])) {
echo elgg_view('input/hidden', array(
'name' => 'collection_id',
'value' => $vars['collection']->id,
));
}
echo elgg_view('input/submit', array('name' => 'submit', 'value' => elgg_echo('save')));
echo "
";