aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/lib/groups.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-02 02:46:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-02 02:46:24 +0000
commit740bbc2c7b00f6e409fddff26d7d633caa2ddb9d (patch)
tree6eb7ede297bde5260c37a8744bf660fff1a702f4 /mod/groups/lib/groups.php
parent9064861b7b3946aa16d73aa3975f4fe4d89a0d97 (diff)
downloadelgg-740bbc2c7b00f6e409fddff26d7d633caa2ddb9d.tar.gz
elgg-740bbc2c7b00f6e409fddff26d7d633caa2ddb9d.tar.bz2
moved group profile layout out of page handler so that plugins can override it
git-svn-id: http://code.elgg.org/elgg/trunk@8905 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/lib/groups.php')
-rw-r--r--mod/groups/lib/groups.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php
index ec75078eb..279c5f238 100644
--- a/mod/groups/lib/groups.php
+++ b/mod/groups/lib/groups.php
@@ -227,13 +227,11 @@ function groups_handle_profile_page($guid) {
elgg_push_breadcrumb($group->name);
- $sidebar = '';
- $content = elgg_view('groups/profile/summary', array('entity' => $group));
+ $content = elgg_view('groups/profile/layout', array('entity' => $group));
if (group_gatekeeper(false)) {
- $content .= elgg_view('groups/profile/widgets', array('entity' => $group));
$sidebar = elgg_view('groups/sidebar/members', array('entity' => $group));
} else {
- $content .= elgg_view('groups/profile/closed_membership');
+ $sidebar = '';
}
$params = array(