diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-08 17:43:01 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-08 17:43:01 +0000 |
commit | b893e1f3876a071c46f4053aab67f4f4da8f19f9 (patch) | |
tree | aa7602e063f212480b8a58921cdef79162e74ed6 /mod/groups/membership.php | |
parent | 30033877087a010608089b33def4869b71413f20 (diff) | |
download | elgg-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/membership.php')
-rw-r--r-- | mod/groups/membership.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mod/groups/membership.php b/mod/groups/membership.php index 9226a56d5..66cd5ed16 100644 --- a/mod/groups/membership.php +++ b/mod/groups/membership.php @@ -20,18 +20,17 @@ if (page_owner() == $_SESSION['user']->guid) { $title = elgg_echo("groups:yours"); - } else $title = sprintf(elgg_echo("groups:owned"),page_owner_entity()->name); + } else $title = elgg_echo("groups:owned"); // Get objects - $area2 = elgg_view_title($title); + $area2 = elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'groups')); set_context('search'); - //$objects = list_entities("group", "", page_owner(), $limit, false); $objects = list_entities_from_relationship('member',page_owner(),false,'group','',0, $limit,false, 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); |