blob: ef2be588545973bd6fd68a31b80c2fe40f77d485 (
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
|
<?php
/**
* Featured groups
*
* @uses $vars['featured']
*
* @package ElggGroups
*/
if ($vars['featured']) {
elgg_push_context('widgets');
$body = '';
foreach ($vars['featured'] as $group) {
$body .= elgg_view_entity($group, false);
}
elgg_pop_context();
echo elgg_view('layout/objects/module', array(
'title' => elgg_echo("groups:featured"),
'body' => $body,
'class' => 'elgg-aside-module',
));
}
|