From b5c6d66de499a109444a226a69522c690bf3bb4e Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 19 May 2010 21:40:44 +0000 Subject: Removed legacy calls from groups. git-svn-id: http://code.elgg.org/elgg/trunk@6103 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/discussions.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'mod/groups/discussions.php') diff --git a/mod/groups/discussions.php b/mod/groups/discussions.php index c3166dc95..44bc5e610 100644 --- a/mod/groups/discussions.php +++ b/mod/groups/discussions.php @@ -2,9 +2,9 @@ /** * Elgg all group forum discussions page - * This page will show all topic dicussions ordered by last comment, regardless of which group + * This page will show all topic dicussions ordered by last comment, regardless of which group * they are part of - * + * * @package ElggGroups * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 * @author Curverider Ltd @@ -17,17 +17,17 @@ // access check for closed groups group_gatekeeper(); - + // Display them - $area1 = elgg_view_title(elgg_echo("groups:latestdiscussion")); + $area1 = elgg_view_title(elgg_echo("groups:latestdiscussion")); set_context('search'); - $area1 .= list_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 40, 0, 0, false, true); - set_context('groups'); - - $body = elgg_view_layout("one_column_with_sidebar", $area1); - - // Display page + $area1 .= list_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 40, 0, 0, false, true); + set_context('groups'); + + $body = elgg_view_layout("one_column_with_sidebar", $area1); + + // Display page page_draw(elgg_echo('groups:latestdiscussion'),$body); - - + + ?> \ No newline at end of file -- cgit v1.2.3