From 51f65f6debcb86ed5b329aa79bf571d60f587468 Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Mar 2009 11:22:39 +0000 Subject: Added contentWrapper view git-svn-id: https://code.elgg.org/elgg/trunk@3063 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/all.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mod/groups/all.php') diff --git a/mod/groups/all.php b/mod/groups/all.php index 8036abc94..7a6be0596 100644 --- a/mod/groups/all.php +++ b/mod/groups/all.php @@ -59,9 +59,8 @@ set_context($context); $title = sprintf(elgg_echo("groups:all"),page_owner_entity()->name); - $area2 = elgg_view_title($title); - $area2 .= "
" . elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)); - $area2 .= $objects . "
"; + $area2 = elgg_view_title($title); + $area2 .= elgg_view('groups/contentwrapper', array('body' => elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter)) . $objects)); $body = elgg_view_layout('sidebar_boxes',$area1, $area2); // Finally draw the page -- cgit v1.2.3