From 5dfb9a97cd5d99479610339f1c613f1468b96687 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 13 Jan 2011 12:03:27 +0000 Subject: discussion topics using new page handler git-svn-id: http://code.elgg.org/elgg/trunk@7880 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/topicposts.php | 46 ++++++++++++++++------------------------------ 1 file changed, 16 insertions(+), 30 deletions(-) (limited to 'mod/groups/topicposts.php') diff --git a/mod/groups/topicposts.php b/mod/groups/topicposts.php index fe9b85cec..f9dd3344b 100644 --- a/mod/groups/topicposts.php +++ b/mod/groups/topicposts.php @@ -1,33 +1,19 @@ $topic)); - $body = elgg_view_layout("one_column_with_sidebar", array('content' => $area2)); - - // Display page - echo elgg_view_page($topic->title,$body); - -?> \ No newline at end of file +elgg_load_library('elgg:topic'); + +$guid = get_input('topic'); + +register_error(elgg_echo('changebookmark')); + +topic_handle_view_page($guid); -- cgit v1.2.3