aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/groupprofile.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-10 13:02:04 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-10 13:02:04 +0000
commite378f5961943faf16995acda327b81a2d5a0bd05 (patch)
treed0f9284dc195e396313e28e3970840aae6ee2f8f /mod/groups/groupprofile.php
parent01a482ddf2684612a989772a732c13e9bc9cc04c (diff)
downloadelgg-e378f5961943faf16995acda327b81a2d5a0bd05.tar.gz
elgg-e378f5961943faf16995acda327b81a2d5a0bd05.tar.bz2
moved most of the groups pages into its library
git-svn-id: http://code.elgg.org/elgg/trunk@7867 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/groupprofile.php')
-rw-r--r--mod/groups/groupprofile.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php
deleted file mode 100644
index 1c35163ad..000000000
--- a/mod/groups/groupprofile.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/**
- * Profile of a group
- *
- * @package ElggGroups
- */
-
-$guid = get_input('group_guid');
-elgg_set_context('groups');
-
-elgg_set_page_owner_guid($guid);
-
-// can the user see all content
-$group_access = group_gatekeeper(false);
-
-// turn this into a core function
-global $autofeed;
-$autofeed = true;
-
-$group = get_entity($guid);
-
-elgg_push_breadcrumb(elgg_echo('groups:all'), elgg_get_site_url() . "pg/groups/world");
-elgg_push_breadcrumb($group->name);
-
-$sidebar = '';
-$content = elgg_view('groups/profile/profile_block', 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');
-}
-
-$params = array(
- 'content' => $content,
- 'sidebar' => $sidebar,
- 'title' => $group->name,
- 'buttons' => elgg_view('groups/profile/buttons', array('entity' => $group)),
- 'filter' => '',
-);
-$body = elgg_view_layout('content', $params);
-
-echo elgg_view_page($title, $body);