aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/widgets/reportedcontent/content.php
blob: 4f8906ef2e055de1f0876c2e6236f45b758684d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * List the latest reports
 */

$list = elgg_list_entities(array(
	'types' => 'object',
	'subtypes' => 'reported_content',
	'limit' => $vars['entity']->num_display,
));
if (!$list) {
	$list = '<p class="mtm">' . elgg_echo('reportedcontent:none') . '</p>';
}

echo $list;