blob: 6e85bf5d8cfcb0d398fece50199e58a50d1dbfcc (
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
/**
* This view will display featured groups - these are set by admin
**/
?>
<div class="sidebarBox featuredgroups">
<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=\"contentWrapper\">" . $icon . " <p><span>" . $group->name . "</span><br />";
echo $group->briefdescription . "</p><div class=\"clearfloat\"></div></div>";
}
}
?>
</div>
|