layout.php 299 B

123456789101112131415
  1. <?php
  2. /**
  3. * Layout of a river item
  4. *
  5. * @uses $vars['item'] ElggRiverItem
  6. */
  7. $item = $vars['item'];
  8. echo elgg_view('page/components/image_block', array(
  9. 'image' => elgg_view('river/elements/image', $vars),
  10. 'body' => elgg_view('river/elements/body', $vars),
  11. 'class' => 'elgg-river-item',
  12. ));