aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/elements/image.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 23:52:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-12 23:52:23 +0000
commit3e49786bc6e271867fc57d7725905452ba280842 (patch)
tree3cefcaa44dfcd38df30836ad47ba13729bac80eb /views/default/river/elements/image.php
parentc194b2ad8b99621c5bd7bf32f68d3c3d2399073c (diff)
downloadelgg-3e49786bc6e271867fc57d7725905452ba280842.tar.gz
elgg-3e49786bc6e271867fc57d7725905452ba280842.tar.bz2
somehow we forgot to use 'elements' in river views
git-svn-id: http://code.elgg.org/elgg/trunk@8679 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/elements/image.php')
-rw-r--r--views/default/river/elements/image.php12
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');