blob: 794dccfc34797c8c374bb7410f461a0e33d41e0c (
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
|
<?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
* @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(20);
foreach($members as $mem){
echo "<div class=\"member_icon\" style=\"float:left;margin:4px;\">" . elgg_view("profile/icon",array('entity' => $mem, 'size' => 'small')) . "</div>";
}
?>
</div>
|