";
/*translation:Guidelines*/
echo "
";
echo "
";
foreach ($value as $key => $rid) {
try {
$resource = waramu_getResource('', $rid);
$viewParams = array(
'mode' => 'short_view',
'fieldname' => 'vauthor',
'object' => $resource
);
echo "";
if ($resource->hasAttachments()) {
echo "
- " . $resource->getTitle() . " (";
echo elgg_view('waramu/field_vCard', $viewParams) . ")
";
$attachments = $w->listAttachments("", $rid);
echo "
";
} else {
echo "
- " . $resource->getTitle() . " (";
echo elgg_view('waramu/field_vCard', $viewParams) . ")
";
echo "
";
}
echo "
";
} catch ( Exception $e) {
}
}
echo "
";
echo "
";
}
?>