title)) { $text = $entity->title; } else { $text = $entity->name; } $params = array( 'text' => $text, 'href' => $entity->getURL(), 'is_trusted' => true, ); $title_link = elgg_view('output/url', $params); } $metadata = elgg_extract('metadata', $vars, ''); $subtitle = elgg_extract('subtitle', $vars, ''); $content = elgg_extract('content', $vars, ''); $container = get_entity($entity->container_guid); $tags = elgg_extract('tags', $vars, ''); if ($tags !== false) { $tags = elgg_view('output/tags', array('tags' => $entity->tags)); } if ($metadata) { echo $metadata; } if ($title_link) { echo "

$title_link

"; } if(elgg_instanceof($container, 'group')) { $container_link = elgg_view('output/url', array( 'text' => $container->name, 'href' => $container->getURL(), 'is_trusted' => true, )); $container_link = elgg_echo('subgroups:owner:single', array($container_link)); echo "
$container_link
"; } echo "
$subtitle
"; $subgroups = elgg_view('subgroups/subgroups_icons', array('entity' => $entity)); echo "
$subgroups
"; echo $tags; echo elgg_view('object/summary/extend', $vars); if ($content) { echo "
$content
"; }