aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 23:52:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 23:52:23 +0000
commit3e49786bc6e271867fc57d7725905452ba280842 (patch)
tree3cefcaa44dfcd38df30836ad47ba13729bac80eb
parentc194b2ad8b99621c5bd7bf32f68d3c3d2399073c (diff)
downloadelgg-3e49786bc6e271867fc57d7725905452ba280842.tar.gz
elgg-3e49786bc6e271867fc57d7725905452ba280842.tar.bz2
somehow we forgot to use 'elements' in river views
git-svn-id: http://code.elgg.org/elgg/trunk@8679 36083f99-b078-4883-b0ff-0f9b5a30f544
-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);