diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-10-29 09:35:46 -0700 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-10-29 09:35:46 -0700 |
commit | 96fa5ba183d4ea5fb01d4f5a44c808dcb3291b72 (patch) | |
tree | bdd9e5bbfc718404223fb2ccbb48fa7ddf38c8ad /views/default/river/elements/layout.php | |
parent | f0c096448105b0f88c03221414ded5fb765fe595 (diff) | |
parent | 82da6bff73a99d18bbe2363c7e30aaf6d3fc949f (diff) | |
download | elgg-96fa5ba183d4ea5fb01d4f5a44c808dcb3291b72.tar.gz elgg-96fa5ba183d4ea5fb01d4f5a44c808dcb3291b72.tar.bz2 |
Merge pull request #82 from cash/add_river_item_view
Fixes #4017 by making river/item the first view called by elgg_view_river_item()
Diffstat (limited to 'views/default/river/elements/layout.php')
-rw-r--r-- | views/default/river/elements/layout.php | 14 |
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', +)); |