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

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

echo $list;