12 if (isset(
$vars[
'collection'])) {
20 echo "<div class=\"mtm\"><label>" .
elgg_echo(
"friends:collectionname") .
"<br/>";
22 "name" =>
"collection_name",
25 echo "</label></div>";
28 if (
$vars[
'collection_members']) {
30 foreach (
$vars[
'collection_members'] as $mem) {
37 echo "<div><label>" .
elgg_echo(
"friends:addfriends") .
"</label>";
39 'entities' =>
$vars[
'friends'],
40 'name' =>
'friends_collection',
45 echo '<div class="elgg-foot">';
46 if (isset(
$vars[
'collection'])) {
48 'name' =>
'collection_id',
49 'value' =>
$vars[
'collection']->
id,
elgg_view_entity_icon(ElggEntity $entity, $size= 'medium', $vars=array())
View the icon of an entity.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
if(file_exists($welcome)) $vars