aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/index.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-08 17:43:01 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-08 17:43:01 +0000
commitb893e1f3876a071c46f4053aab67f4f4da8f19f9 (patch)
treeaa7602e063f212480b8a58921cdef79162e74ed6 /mod/groups/index.php
parent30033877087a010608089b33def4869b71413f20 (diff)
downloadelgg-b893e1f3876a071c46f4053aab67f4f4da8f19f9.tar.gz
elgg-b893e1f3876a071c46f4053aab67f4f4da8f19f9.tar.bz2
Beginnings of the refreshed groups interface
git-svn-id: http://code.elgg.org/elgg/trunk@5307 36083f99-b078-4883-b0ff-0f9b5a30f544
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);