aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/group
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 17:13:37 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 17:13:37 +0000
commit409331a459355fb827aa33acf3275f3d618a2510 (patch)
treec300483fe791a99a4e6890cf507ddf7c9843078d /mod/groups/views/default/group
parent755367a31d3c1dbc1cc24ce270a217d2390cbe44 (diff)
downloadelgg-409331a459355fb827aa33acf3275f3d618a2510.tar.gz
elgg-409331a459355fb827aa33acf3275f3d618a2510.tar.bz2
Updated Groups to the new interface. Some view clean-up & simplification done.
git-svn-id: http://code.elgg.org/elgg/trunk@5348 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/group')
-rw-r--r--mod/groups/views/default/group/group.php32
1 files changed, 14 insertions, 18 deletions
diff --git a/mod/groups/views/default/group/group.php b/mod/groups/views/default/group/group.php
index 96f70d36a..e250a247b 100644
--- a/mod/groups/views/default/group/group.php
+++ b/mod/groups/views/default/group/group.php
@@ -1,21 +1,17 @@
<?php
- /**
- * Elgg groups profile display
- *
- * @package ElggGroups
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltd
- * @copyright Curverider Ltd 2008-2010
- * @link http://elgg.com/
- */
+/**
+ * Elgg groups profile display
+ *
+ * @package ElggGroups
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008-2010
+ * @link http://elgg.com/
+ */
- if ($vars['full']) {
- echo elgg_view("groups/groupprofile",$vars);
- } else {
- if (get_input('search_viewtype') == "gallery") {
- echo elgg_view('groups/groupgallery',$vars);
- } else {
- echo elgg_view("groups/grouplisting",$vars);
- }
- }
+if ($vars['full']) {
+ echo elgg_view("groups/groupprofile",$vars);
+} else {
+ echo elgg_view("groups/grouplisting",$vars);
+}
?> \ No newline at end of file