blog_enable == "no") {
return true;
}
$all_link = elgg_view('output/url', array(
'href' => "pg/blog/group/$group->guid/owner",
'text' => elgg_echo('link:view:all'),
));
$header = "$all_link";
$header .= '
' . elgg_echo('blog:group') . '
';
elgg_push_context('widgets');
$options = array(
'type' => 'object',
'subtype' => 'blog',
'container_guid' => elgg_get_page_owner_guid(),
'limit' => 6,
'full_view' => false,
'pagination' => false,
);
$content = elgg_list_entities($options);
elgg_pop_context();
$new_link = elgg_view('output/url', array(
'href' => "pg/blog/group/$group->guid/new",
'text' => elgg_echo('blog:write'),
));
$content .= "$new_link";
$params = array(
'header' => $header,
'body' => $content,
);
echo elgg_view('layout/objects/module', $params);