*
*
*
*
*
*
* @uses $vars['entity'] ElggEntity
* @uses $vars['icon'] HTML for the content icon
* @uses $vars['summary'] HTML for the content summary
* @uses $vars['body'] HTML for the content body
* @uses $vars['class'] Optional additional class for the content wrapper
*/
$icon = elgg_extract('icon', $vars);
$summary = elgg_extract('summary', $vars);
$body = elgg_extract('body', $vars);
$class = elgg_extract('class', $vars);
if ($class) {
$class = "elgg-content $class";
} else {
$class = "elgg-content";
}
$header = elgg_view_image_block($icon, $summary);
echo <<
$header
$body
HTML;