num_display; $guid = (int) $vars['entity']->group_guid; $content = ''; if ($guid) { // backward compatibility when we couldn't set widget title (pre 1.9) if (!$vars['entity']->title) { $title = get_entity($guid)->name; $content = "
' . elgg_echo('groups:widget:group_activity:content:noactivity') . '
'; } $content .= $activity; } else { // no group selected yet $content = '' . elgg_echo('groups:widget:group_activity:content:noselect') . '
'; } echo $content;