"; echo elgg_echo("groups:closedgroup"); if (elgg_is_logged_in()) { echo " " . elgg_echo("groups:closedgroup:request"); } echo "

"; if (!empty($group) && ($group instanceof ElggGroup)) { if (!$group->isPublicMembership() && ($group->profile_widgets == "yes")) { $vars["entity"] = $group; echo elgg_view("groups/profile/widgets", $vars); } }