diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 13:00:58 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-04 13:00:58 +0000 |
commit | f361fa6d7a3e990ed6bcb05cf634ef9cfae0fe4d (patch) | |
tree | d1df74baeeea97aebb59be6a3bf06e7fc7d0bc89 /mod/groups/groupprofile.php | |
parent | f783b09dc80ee4ee2af8749e6cf8cf62923b07e2 (diff) | |
download | elgg-f361fa6d7a3e990ed6bcb05cf634ef9cfae0fe4d.tar.gz elgg-f361fa6d7a3e990ed6bcb05cf634ef9cfae0fe4d.tar.bz2 |
Refs #109 - Basic profile layout
git-svn-id: https://code.elgg.org/elgg/trunk@1292 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/groupprofile.php')
-rw-r--r-- | mod/groups/groupprofile.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mod/groups/groupprofile.php b/mod/groups/groupprofile.php new file mode 100644 index 000000000..9d354ef0d --- /dev/null +++ b/mod/groups/groupprofile.php @@ -0,0 +1,24 @@ +<?php + /** + * Full group profile + * + * @package ElggGroups + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Marcus Povey + * @copyright Curverider Ltd 2008 + * @link http://elgg.com/ + */ + + $group_guid = get_input('group_guid'); + + $group = get_entity($group_guid); + + + $body = elgg_view('group/group', array('entity' => $group, 'user' => $_SESSION['user'], 'full' => true)); + + + // TODO: Add widgets etc + + // Finally draw the page + page_draw($group->name, elgg_view_layout('one_column', $body)); +?>
\ No newline at end of file |