12345678910111213141516 |
- <?php
- /**
- * Page river view.
- */
- $item = $vars['item'];
- /* @var ElggRiverItem $item */
- $object = $item->getObjectEntity();
- $excerpt = strip_tags($object->description);
- $excerpt = elgg_get_excerpt($excerpt);
- echo elgg_view('river/elements/layout', array(
- 'item' => $item,
- 'message' => $excerpt,
- ));
|