blob: e87331feca4abaef66b61e26a8a6aa249e20920c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
$group = $vars['entity'];
$image = elgg_view_entity_icon($group, 'tiny');
$title = elgg_view('output/url', array(
'href' => $group->getURL(),
'text' => $group->name,
'encode_text' => true,
));
$subtitle = elgg_view('output/text', array('value' => $group->briefdescription));
$description = elgg_get_excerpt($group->description, 350);
echo elgg_view('river/elements/attachment', array(
'icon' => $image,
'title' => $title,
'subtitle' => $subtitle,
'description' => $description,
));
|