blob: 4207aacd2f0b7bf1465b56314781d60b77dd5122 (
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
25
26
27
|
<?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/
*/
// Set admin user for user block
set_page_owner($_SESSION['guid']);
$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;
|