diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-02 02:46:24 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-02 02:46:24 +0000 |
commit | 740bbc2c7b00f6e409fddff26d7d633caa2ddb9d (patch) | |
tree | 6eb7ede297bde5260c37a8744bf660fff1a702f4 /mod/groups/views/default | |
parent | 9064861b7b3946aa16d73aa3975f4fe4d89a0d97 (diff) | |
download | elgg-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/views/default')
-rw-r--r-- | mod/groups/views/default/groups/profile/layout.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/groups/views/default/groups/profile/layout.php b/mod/groups/views/default/groups/profile/layout.php new file mode 100644 index 000000000..f513f10ae --- /dev/null +++ b/mod/groups/views/default/groups/profile/layout.php @@ -0,0 +1,13 @@ +<?php +/** + * Layout of the groups profile page + * + * @uses $vars['entity'] + */ + +echo elgg_view('groups/profile/summary', $vars); +if (group_gatekeeper(false)) { + echo elgg_view('groups/profile/widgets', $vars); +} else { + echo elgg_view('groups/profile/closed_membership'); +} |