diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 00:12:17 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-24 00:12:17 +0000 |
commit | 01afda7ed87e7def6a411d871daf49522e977b26 (patch) | |
tree | 53a2ca457b94c777db3a808afad0173f4b96095b /views/default/river/item/image.php | |
parent | 7cca9471c04848c4e41077c83b01089d0736fbed (diff) | |
download | elgg-01afda7ed87e7def6a411d871daf49522e977b26.tar.gz elgg-01afda7ed87e7def6a411d871daf49522e977b26.tar.bz2 |
organized the river views according to the subview pattern
git-svn-id: http://code.elgg.org/elgg/trunk@8452 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/item/image.php')
-rw-r--r-- | views/default/river/item/image.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/views/default/river/item/image.php b/views/default/river/item/image.php new file mode 100644 index 000000000..afb6b4019 --- /dev/null +++ b/views/default/river/item/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("profile/icon", array('entity' => $subject, 'size' => 'small')); |