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,
33 echo " (<span id=\"friends_membership_count{$vars['friendspicker']}\">{$count}</span>) </h2>";
40 'collection' =>
$vars[
'collection'],
41 'friendspicker' =>
$vars[
'friendspicker'],
46 'value' =>
$vars[
'collection']->members,
49 'friendspicker' =>
$vars[
'friendspicker'],
53 <script
type=
"text/javascript">
56 $(
'#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, $class= '')
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