aboutsummaryrefslogtreecommitdiff
path: root/mod/cool_theme/views/default/object/page/river.php
blob: cfd93d6582503daca5d47b3b1fee54a5a3559230 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

$page = $vars['entity'];

$icon = elgg_view_entity_icon($page, 'tiny');

echo elgg_view('river/elements/attachment', array(
	'image' => $icon,
	'title' => elgg_view('output/url', array(
		'href' => $page->getURL(), 
		'text' => $page->title,
		'encode_text' => true,
	)),
	'description' => elgg_get_excerpt($page->description, 1000),
));