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