aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/admin/overview/reportedcontent.php
blob: 0cf8643a32cbc6731498dbd1982d1ae767d551ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * Elgg Reported content admin page
 *
 * @package ElggReportedContent
 */

$title = elgg_view_title(elgg_echo('reportedcontent'));

$list = elgg_list_entities(array('types' => 'object', 'subtypes' => 'reported_content'));
if (!$list) {
	$list = '<p class="margin_top">' . elgg_echo('reportedcontent:none') . '</p>';
}

$body = <<<__HTML
$title
$list
__HTML;

echo $body;