0) { echo "
"; /*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 "
  1. " . $resource->getTitle() . " ("; echo elgg_view('waramu/field_vCard', $viewParams) . ")
  2. "; $attachments = $w->listAttachments("", $rid); echo ""; } else { echo "
  3. " . $resource->getTitle() . " ("; echo elgg_view('waramu/field_vCard', $viewParams) . ")
  4. "; echo ""; } echo "
    "; } catch ( Exception $e) { } } echo "
"; echo "
"; } ?>