blob: f062793ecc35a1bc9aaf258b4e709ec6789618d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
$groupforumtopic = $vars['entity'];
$title = elgg_view('output/url', array(
'text' => $groupforumtopic->title,
'href' => $groupforumtopic->getURL(),
'encode_text' => true,
));
$description = elgg_get_excerpt($groupforumtopic->description, 350);
echo elgg_view('river/elements/attachment', array(
'image' => elgg_view_entity_icon($groupforumtopic->getOwnerEntity(), 'tiny'),
'title' => $title,
'description' => $description,
));
|