aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/groupprofile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/groupprofile.php')
-rw-r--r--mod/groups/groupprofile.php9
1 files changed, 2 insertions, 7 deletions
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 .= "<p class='margin_top'>".elgg_echo('groups:notfound:details')."</p>";
$body = elgg_view_layout('one_column_with_sidebar', $area2);
}