aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/groups/members.php
blob: 4a97af7df6f79ed3b98fe4ae180a259b015e1bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
	/**
	 * Elgg groups items view.
	 * This is the messageboard, members, pages and latest forums posts. Each plugin will extend the views
	 * 
	 * @package ElggGroups
	 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
	 * @author Curverider
	 * @copyright Curverider Ltd 2008-2009
	 * @link http://elgg.com/
	 */
	 
	 //var_export($vars['entity']);
?>

<div id="group_members">
<h2><?php echo elgg_echo("groups:members"); ?></h2>

<?php

    $members = $vars['entity']->getMembers(9999);
    foreach($members as $mem){
           
        echo "<div class=\"member_icon\">" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'tiny')) . "</div>";   
           
    }
    
?>
<br class="clearfloat" />
</div>