From 409331a459355fb827aa33acf3275f3d618a2510 Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 10 Mar 2010 17:13:37 +0000 Subject: Updated Groups to the new interface. Some view clean-up & simplification done. git-svn-id: http://code.elgg.org/elgg/trunk@5348 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/groupprofile.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'mod/groups/groupprofile.php') diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php index 42875b52f..c1b65c14b 100644 --- a/mod/groups/groupprofile.php +++ b/mod/groups/groupprofile.php @@ -28,8 +28,6 @@ if (!$groupaccess) $view_all = false; - - $area2 = elgg_view_title($title); $area2 .= elgg_view('group/group', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)); if ($view_all) { @@ -38,11 +36,8 @@ //group members $area3 = elgg_view('groups/members',array('entity' => $group)); - } - else - { + } else { $area2 .= elgg_view('groups/closedmembership', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)); - } $body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3); @@ -50,7 +45,7 @@ $title = elgg_echo('groups:notfound'); $area2 = elgg_view_title($title); - $area2 .= elgg_echo('groups:notfound:details'); + $area2 .= "

".elgg_echo('groups:notfound:details')."

"; $body = elgg_view_layout('one_column_with_sidebar', $area2); } -- cgit v1.2.3