forum_enable == 'no') { return true; } $group = $vars['entity']; $all_link = elgg_view('output/url', array( 'href' => "pg/discussion/owner/$group->guid", 'text' => elgg_echo('link:view:all'), )); $header = "
"; $header .= '' . elgg_echo('grouptopic:notcreated') . '
'; } $new_link = elgg_view('output/url', array( 'href' => "pg/discussion/add/" . $group->getGUID(), 'text' => elgg_echo('groups:addtopic'), )); $content .= " "; $params = array( 'header' => $header, 'body' => $content, 'class' => 'elgg-module-info', ); echo elgg_view('layout/objects/module', $params);