diff options
Diffstat (limited to 'mod/groups/views/default/group')
-rw-r--r-- | mod/groups/views/default/group/group.php | 32 |
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 |