aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/admin/utilities/reportedcontent.php
blob: 3f79d500abf1f06c823fbd22d0746ca0deb9e064 (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;