aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/all.php')
-rw-r--r--mod/groups/all.php5
1 files changed, 2 insertions, 3 deletions
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 .= "<div class='contentWrapper groups'>" . elgg_view("groups/group_sort_menu", array("count" => $group_count, "filter" => $filter));
- $area2 .= $objects . "</div>";
+ $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