blob: 381e01a4d8ab68470bb846661ed845a21662f19d (
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
|
<?php
/**
* This view will display featured groups - these are set by admin
**/
?>
<h3><?php echo elgg_echo("groups:featured"); ?></h3>
<?php
if($vars['featured']){
foreach($vars['featured'] as $group){
$icon = elgg_view(
"groups/icon", array(
'entity' => $group,
'size' => 'small',
)
);
echo "<div class=\"featured_group\">" . $icon . " " . $group->name . "<br />";
echo $group->briefdescription . "</div>";
}
}
?>
|