|
$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;
?>
|
guid)) {
foreach ($collections as $collection) {
$members = get_members_of_access_collection($collection->id, true);
$memberno = 0;
if ($members) {
$memberno = sizeof($members);
$members = implode(',', $members);
} else {
$members = '';
}
?>
name; ?> ()
|
$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($collection->id,$collections_preferences)) {
$collectionschecked[$method] = 'checked="checked"';
} else {
$collectionschecked[$method] = '';
}
}
}
if ($i > 0) {
$fields .= " | ";
}
$fields .= <<< END
|
END;
$i++;
}
echo $fields;
?>
|