diff options
author | cash <cash.costello@gmail.com> | 2011-09-25 15:41:30 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-09-25 15:41:30 -0400 |
commit | 0a0414619d4a82494403e8334e9a5367f893667e (patch) | |
tree | 5bb4b193b84bdccbef2dcf54662b93a4ec0ed8a7 /views/default/river/user | |
parent | 83221c9eb9dcf37d5287180e7f7d9469036aaac6 (diff) | |
download | elgg-0a0414619d4a82494403e8334e9a5367f893667e.tar.gz elgg-0a0414619d4a82494403e8334e9a5367f893667e.tar.bz2 |
Refs #3842 adding river view back so that those upgrading from earlier Elgg views don't have empty river messages
Diffstat (limited to 'views/default/river/user')
-rw-r--r-- | views/default/river/user/default/profileupdate.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/views/default/river/user/default/profileupdate.php b/views/default/river/user/default/profileupdate.php new file mode 100644 index 000000000..a344131d6 --- /dev/null +++ b/views/default/river/user/default/profileupdate.php @@ -0,0 +1,19 @@ +<?php +/** + * Update profile river view + */ + +$subject = $vars['item']->getSubjectEntity(); + +$subject_link = elgg_view('output/url', array( + 'href' => $subject->getURL(), + 'text' => $subject->name, + 'class' => 'elgg-river-subject', +)); + +$string = elgg_echo('river:update:user:profile', array($subject_link)); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'summary' => $string, +)); |