aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/admin/utilities
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 22:18:25 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-29 22:18:25 +0000
commit7355326146c6dd1f3e54f023510095c5fb0eb51c (patch)
tree7ff0d2c3eeabec7415992b2a4f85fd9d14778a26 /mod/reportedcontent/views/default/admin/utilities
parent6b9a1a85147b1dff645381e89e0439f2d0c0fb13 (diff)
downloadelgg-7355326146c6dd1f3e54f023510095c5fb0eb51c.tar.gz
elgg-7355326146c6dd1f3e54f023510095c5fb0eb51c.tar.bz2
fixes for previous commit
git-svn-id: http://code.elgg.org/elgg/trunk@7761 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views/default/admin/utilities')
-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