aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/admin/overview/reportedcontent.php
blob: 9828b10ff5c30e197d76e78a4506db957b43a0eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * Elgg Reported content
 * 
 * @package ElggReportedContent
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @author Curverider Ltd
 * @copyright Curverider Ltd 2008-2010
 * @link http://elgg.com/
 */

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

$reported = elgg_get_entities(array('types' => 'object', 'subtypes' => 'reported_content', 'limit' => 9999));
$list = elgg_view("reportedcontent/listing", array('entity' => $reported));
	
// Display main admin menu
$body = <<<__HTML
$title
$reported
$list
__HTML;

echo $body;