1234567891011121314151617181920 |
- <?php
- /**
- * Elgg river image
- *
- * Displayed next to the body of each river item
- *
- * @uses $vars['item']
- */
- $item = $vars['item'];
- /* @var ElggRiverItem $item */
- $subject = $item->getSubjectEntity();
- if (elgg_in_context('widgets')) {
- echo elgg_view_entity_icon($subject, 'tiny');
- } else {
- echo elgg_view_entity_icon($subject, 'small');
- }
|