From 42ae2d2d1face8c781b6aef3140f4ec183d6f8a1 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Dec 2010 01:13:02 +0000 Subject: Fixes #2113 - updated rss view type to use new view structure for lists git-svn-id: http://code.elgg.org/elgg/trunk@7765 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/rss/entities/entity_list.php | 10 ---------- views/rss/layout/objects/list.php | 15 +++++++++++++++ views/rss/layout/shells/default.php | 5 +++++ 3 files changed, 20 insertions(+), 10 deletions(-) delete mode 100644 views/rss/entities/entity_list.php create mode 100644 views/rss/layout/objects/list.php create mode 100644 views/rss/layout/shells/default.php (limited to 'views') diff --git a/views/rss/entities/entity_list.php b/views/rss/entities/entity_list.php deleted file mode 100644 index 83b45b00f..000000000 --- a/views/rss/entities/entity_list.php +++ /dev/null @@ -1,10 +0,0 @@ - 0) { - foreach($entities as $entity) { - echo elgg_view_entity($entity, $fullview); - } -} \ No newline at end of file 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 @@ + 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 @@ +