From 2601fb071cf566ea1f8859268f9cbf22ae77f6a1 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 26 Jan 2011 02:08:49 +0000 Subject: added reported content widget git-svn-id: http://code.elgg.org/elgg/trunk@7932 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/widgets/reportedcontent/content.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mod/reportedcontent/views/default/widgets/reportedcontent/content.php (limited to 'mod/reportedcontent/views/default/widgets/reportedcontent/content.php') diff --git a/mod/reportedcontent/views/default/widgets/reportedcontent/content.php b/mod/reportedcontent/views/default/widgets/reportedcontent/content.php new file mode 100644 index 000000000..4f8906ef2 --- /dev/null +++ b/mod/reportedcontent/views/default/widgets/reportedcontent/content.php @@ -0,0 +1,15 @@ + 'object', + 'subtypes' => 'reported_content', + 'limit' => $vars['entity']->num_display, +)); +if (!$list) { + $list = '

' . elgg_echo('reportedcontent:none') . '

'; +} + +echo $list; \ No newline at end of file -- cgit v1.2.3