create.php 264 B

12345678910111213
  1. <?php
  2. /**
  3. * Page river view.
  4. */
  5. $object = $vars['item']->getObjectEntity();
  6. $excerpt = strip_tags($object->description);
  7. $excerpt = elgg_get_excerpt($excerpt);
  8. echo elgg_view('river/elements/layout', array(
  9. 'item' => $vars['item'],
  10. 'message' => $excerpt,
  11. ));