13 if (is_array(
$vars[
'collection']->members)) {
23 echo "<div class=\"friends_collections_controls\">";
25 'href' =>
'action/friends/collections/delete?collection=' .
$coll->id,
26 'class' =>
'delete_collection',
28 'encode_text' =>
false,
34 echo " (<span id=\"friends_membership_count{$vars['friendspicker']}\">{$count}</span>) </h2>";
41 'collection' =>
$vars[
'collection'],
42 'friendspicker' =>
$vars[
'friendspicker'],
47 'value' =>
$vars[
'collection']->members,
50 'friendspicker' =>
$vars[
'friendspicker'],
54 <script
type=
"text/javascript">
57 $(
'#friends-picker_placeholder<?php echo $vars['friendspicker
']; ?>').load(
elgg.config.wwwroot +
'pages/friends/collections/pickercallback.php?username=<?php echo elgg_get_logged_in_user_entity()->username; ?>&type=list&collection=<?php echo $vars['collection
']->id; ?>');
elgg_view_icon($name, $vars=array())
View one of the elgg sprite icons.
elgg echo
Translates a string.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
$content
Set robots.txt action.
elgg_get_logged_in_user_entity()
Return the current logged in user, or null if no user is logged in.
elgg_get_logged_in_user_guid()
Return the current logged in user by guid.
if(file_exists($welcome)) $vars