aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/index.php')
-rw-r--r--mod/groups/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/index.php b/mod/groups/index.php
index b21d5962b..36137033d 100644
--- a/mod/groups/index.php
+++ b/mod/groups/index.php
@@ -14,17 +14,17 @@
$limit = get_input("limit", 10);
$offset = get_input("offset", 0);
- $title = sprintf(elgg_echo("groups:owned"),page_owner_entity()->name);
+ $title = elgg_echo("groups:owned");
// Get objects
- $area2 = elgg_view_title($title);
+ $area2 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'groups'));
set_context('search');
$objects = elgg_list_entities(array('types' => 'group', 'owner_guid' => page_owner(), 'limit' => $limit, 'full_view' => FALSE));
set_context('groups');
$area2 .= $objects;
- $body = elgg_view_layout('two_column_left_sidebar',$area1, $area2);
+ $body = elgg_view_layout('one_column_with_sidebar','', $area1.$area2);
// Finally draw the page
page_draw($title, $body);