aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent/views')
-rw-r--r--mod/reportedcontent/views/default/admin/overview/reportedcontent.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/mod/reportedcontent/views/default/admin/overview/reportedcontent.php b/mod/reportedcontent/views/default/admin/overview/reportedcontent.php
new file mode 100644
index 000000000..4207aacd2
--- /dev/null
+++ b/mod/reportedcontent/views/default/admin/overview/reportedcontent.php
@@ -0,0 +1,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; \ No newline at end of file