diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-19 21:40:44 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-19 21:40:44 +0000 |
commit | b5c6d66de499a109444a226a69522c690bf3bb4e (patch) | |
tree | afaa56757f5c4b30b97a777499a4a97617f44f69 /mod/groups/discussions.php | |
parent | 251dba674e65f5742c45e777dcba78513bba7082 (diff) | |
download | elgg-b5c6d66de499a109444a226a69522c690bf3bb4e.tar.gz elgg-b5c6d66de499a109444a226a69522c690bf3bb4e.tar.bz2 |
Removed legacy calls from groups.
git-svn-id: http://code.elgg.org/elgg/trunk@6103 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/discussions.php')
-rw-r--r-- | mod/groups/discussions.php | 24 |
1 files changed, 12 insertions, 12 deletions
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 <info@elgg.com> @@ -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 |