require_once('include/security.php');
require_once('include/conversation.php');
-
- $o .= '<h3>' . t('Community') . '</h3>';
if (! $update) {
nav_set_selected('community');
}
$o .= conversation($a, $s, 'community', $update);
- $o .= alt_pager($a, count($r));
+ $o .= alt_pager($a, count($r));
- return $o;
+ $t = get_markup_template("community.tpl");
+ return replace_macros($t, array(
+ '$content' => $o,
+ '$header' => t("Community"),
+ '$show_global_community_hint' => (Config::get('system', 'community_page_style') == CP_GLOBAL_COMMUNITY && Config::get('system', 'show_global_community_hint')),
+ '$global_community_hint' => t("This community stream shows all public posts received by this node. They may not reflect the opinions of this node’s users.")
+ ));
}
function community_getitems($start, $itemspage) {