blob: 0f9a3bedf4a1779358fbb1f439f4b5a5868e1888 (
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
|
<?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' => 'tiny',
));
echo "<div class='featured_group'>".$icon."<p class='entity-title clearfix'><a href=\"" . $group->getUrl() . "\">" . $group->name . "</a></p>";
echo "<p class='entity-subtext'>" . $group->briefdescription . "</p></div>";
}
}
?>
|