From b893e1f3876a071c46f4053aab67f4f4da8f19f9 Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 8 Mar 2010 17:43:01 +0000 Subject: Beginnings of the refreshed groups interface git-svn-id: http://code.elgg.org/elgg/trunk@5307 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/membership.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mod/groups/membership.php') 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); -- cgit v1.2.3