diff options
Diffstat (limited to 'views/default/river/elements/image.php')
-rw-r--r-- | views/default/river/elements/image.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/river/elements/image.php b/views/default/river/elements/image.php new file mode 100644 index 000000000..9caa44b36 --- /dev/null +++ b/views/default/river/elements/image.php @@ -0,0 +1,12 @@ +<?php +/** + * Elgg river image + * + * Displayed next to the body of each river item + * + * @uses $vars['item'] + */ + +$subject = $vars['item']->getSubjectEntity(); + +echo elgg_view_entity_icon($subject, 'small'); |