aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-25 22:18:22 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-25 22:18:22 +0000
commit76d3b27335145459e1b9da4e07cf37ad8bd050c1 (patch)
tree7ac84ed02686061d1ced1e1951598e30334da9c3 /mod/reportedcontent/views/default
parent6a64b7d0b595c97c4bef9a8fa22d567611fb3fd1 (diff)
downloadelgg-76d3b27335145459e1b9da4e07cf37ad8bd050c1.tar.gz
elgg-76d3b27335145459e1b9da4e07cf37ad8bd050c1.tar.bz2
Updating administration plugins with admin submenu views.
git-svn-id: http://code.elgg.org/elgg/trunk@6220 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views/default')
-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