aboutsummaryrefslogtreecommitdiff
path: root/views/rss/layout/objects/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/layout/objects/list.php')
-rw-r--r--views/rss/layout/objects/list.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/rss/layout/objects/list.php b/views/rss/layout/objects/list.php
new file mode 100644
index 000000000..352725239
--- /dev/null
+++ b/views/rss/layout/objects/list.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * RSS list view
+ *
+ * @uses $vars['items']
+ */
+
+$items = $vars['items'];
+$full_view = elgg_get_array_value('full_view', $vars, false);
+
+if (is_array($items) && sizeof($items) > 0) {
+ foreach ($items as $item) {
+ echo elgg_view_list_item($item, $full_view, $vars);
+ }
+} \ No newline at end of file