aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/elements/body.php (renamed from views/default/river/item/body.php)0
-rw-r--r--views/default/river/elements/controls.php (renamed from views/default/river/item/controls.php)0
-rw-r--r--views/default/river/elements/footer.php (renamed from views/default/river/item/footer.php)0
-rw-r--r--views/default/river/elements/image.php (renamed from views/default/river/item/image.php)0
-rw-r--r--views/default/river/item.php14
5 files changed, 10 insertions, 4 deletions
diff --git a/views/default/river/item/body.php b/views/default/river/elements/body.php
index 7d36222ac..7d36222ac 100644
--- a/views/default/river/item/body.php
+++ b/views/default/river/elements/body.php
diff --git a/views/default/river/item/controls.php b/views/default/river/elements/controls.php
index 188d01b5a..188d01b5a 100644
--- a/views/default/river/item/controls.php
+++ b/views/default/river/elements/controls.php
diff --git a/views/default/river/item/footer.php b/views/default/river/elements/footer.php
index 7cf9dd925..7cf9dd925 100644
--- a/views/default/river/item/footer.php
+++ b/views/default/river/elements/footer.php
diff --git a/views/default/river/item/image.php b/views/default/river/elements/image.php
index 9caa44b36..9caa44b36 100644
--- a/views/default/river/item/image.php
+++ b/views/default/river/elements/image.php
diff --git a/views/default/river/item.php b/views/default/river/item.php
index 55e108482..0a32818e9 100644
--- a/views/default/river/item.php
+++ b/views/default/river/item.php
@@ -1,11 +1,17 @@
<?php
+/**
+ * Layout of a river item
+ *
+ * @uses $vars['item'] ElggRiverItem
+ */
+
$item = $vars['item'];
$vars = array(
- 'image' => elgg_view('river/item/image', array('item' => $item)),
- 'body' => elgg_view('river/item/body', array('item' => $item)),
- 'image_alt' => elgg_view('river/item/controls', array('item' => $item)),
+ 'image' => elgg_view('river/elements/image', array('item' => $item)),
+ 'body' => elgg_view('river/elements/body', array('item' => $item)),
+ 'image_alt' => elgg_view('river/elements/controls', array('item' => $item)),
'class' => 'elgg-river-item',
);
-echo elgg_view('page/components/image_block', $vars); \ No newline at end of file
+echo elgg_view('page/components/image_block', $vars);