aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/item.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/default/river/item.php b/views/default/river/item.php
new file mode 100644
index 000000000..388c0a79b
--- /dev/null
+++ b/views/default/river/item.php
@@ -0,0 +1,11 @@
+<?php
+$item = $vars['item'];
+
+$vars = array(
+ 'image' => elgg_view('core/river/image', array('item' => $item)),
+ 'body' => elgg_view('core/river/body', array('item' => $item)),
+ 'image_alt' => elgg_view('core/river/controls', array('item' => $item)),
+ 'class' => 'elgg-river-item',
+);
+
+echo elgg_view('layout/objects/image_block', $vars); \ No newline at end of file