diff options
author | cash <cash.costello@gmail.com> | 2011-10-29 12:33:10 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-29 12:33:10 -0400 |
commit | 82da6bff73a99d18bbe2363c7e30aaf6d3fc949f (patch) | |
tree | bdd9e5bbfc718404223fb2ccbb48fa7ddf38c8ad /views/default/river/elements | |
parent | f0c096448105b0f88c03221414ded5fb765fe595 (diff) | |
download | elgg-82da6bff73a99d18bbe2363c7e30aaf6d3fc949f.tar.gz elgg-82da6bff73a99d18bbe2363c7e30aaf6d3fc949f.tar.bz2 |
adds a river layout view that all river views should use
Diffstat (limited to 'views/default/river/elements')
-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', +)); |