diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 01:13:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-30 01:13:02 +0000 |
commit | 42ae2d2d1face8c781b6aef3140f4ec183d6f8a1 (patch) | |
tree | 52abad19e2b5f5fc15dc10e9409819678f2da8ec /views/rss/layout/objects | |
parent | 1b3512f61edbde3c3d071df064d58efd49911b2d (diff) | |
download | elgg-42ae2d2d1face8c781b6aef3140f4ec183d6f8a1.tar.gz elgg-42ae2d2d1face8c781b6aef3140f4ec183d6f8a1.tar.bz2 |
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
Diffstat (limited to 'views/rss/layout/objects')
-rw-r--r-- | views/rss/layout/objects/list.php | 15 |
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 |