aboutsummaryrefslogtreecommitdiff
path: root/views/rss/layout
diff options
context:
space:
mode:
Diffstat (limited to 'views/rss/layout')
-rw-r--r--views/rss/layout/objects/list.php15
-rw-r--r--views/rss/layout/shells/default.php5
2 files changed, 20 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
diff --git a/views/rss/layout/shells/default.php b/views/rss/layout/shells/default.php
new file mode 100644
index 000000000..7f3ddebbd
--- /dev/null
+++ b/views/rss/layout/shells/default.php
@@ -0,0 +1,5 @@
+<?php
+/**
+ * RSS layout shell
+ */
+echo $vars['content']; \ No newline at end of file