|
$foo) {
if ($i > 0) {
echo " | ";
}
?>
|
|
guid, '', 9999, 0)) {
foreach($friends as $friend) {
$members[] = $friend->guid;
}
}
$memberno = sizeof($members);
$members = implode(',',$members);
?>
()
|
$foo) {
$metaname = 'collections_notifications_preferences_' . $method;
if ($collections_preferences = $user->$metaname) {
if (!empty($collections_preferences) && !is_array($collections_preferences)) {
$collections_preferences = array($collections_preferences);
}
if (is_array($collections_preferences)) {
if (in_array(-1,$collections_preferences)) {
$collectionschecked[$method] = 'checked="checked"';
} else {
$collectionschecked[$method] = '';
}
}
}
if ($i > 0) {
$fields .= " | ";
}
$fields .= <<< END
|
END;
$i++;
}
echo $fields;
?>
|
id, true);
$memberno = sizeof($members);
$members = implode(',', $members);
?>
name; ?> ()
|
$foo) {
$metaname = 'collections_notifications_preferences_' . $method;
if ($collections_preferences = elgg_get_logged_in_user_entity()->$metaname) {
if (!empty($collections_preferences) && !is_array($collections_preferences)) {
$collections_preferences = array($collections_preferences);
}
if (is_array($collections_preferences)) {
if (in_array($collection->id,$collections_preferences)) {
$collectionschecked[$method] = 'checked="checked"';
} else {
$collectionschecked[$method] = '';
}
}
}
if ($i > 0) {
$fields .= " | ";
}
$fields .= <<< END
|
END;
$i++;
}
echo $fields;
?>
|