aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/elements/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/elements/layout.php')
-rw-r--r--views/default/river/elements/layout.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/default/river/elements/layout.php b/views/default/river/elements/layout.php
new file mode 100644
index 000000000..94622e272
--- /dev/null
+++ b/views/default/river/elements/layout.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Layout of a river item
+ *
+ * @uses $vars['item'] ElggRiverItem
+ */
+
+$item = $vars['item'];
+
+echo elgg_view('page/components/image_block', array(
+ 'image' => elgg_view('river/elements/image', $vars),
+ 'body' => elgg_view('river/elements/body', $vars),
+ 'class' => 'elgg-river-item',
+));