aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 09:10:34 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-16 09:10:34 +0000
commit0ad7f6660c247e1eead0e651f4da73db762e2d2a (patch)
tree839417a2de9d32f37878f1e1625615e4d4dd930b /mod/profile/views
parent98d21b028c66bb30241398e4667814f125021c35 (diff)
downloadelgg-0ad7f6660c247e1eead0e651f4da73db762e2d2a.tar.gz
elgg-0ad7f6660c247e1eead0e651f4da73db762e2d2a.tar.bz2
Closes #152 and as a bonus you get a river notification for icon upload as well. Aren't I nice?
git-svn-id: https://code.elgg.org/elgg/trunk@1433 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views')
-rw-r--r--mod/profile/views/default/river/ElggUser/profileiconupdate.php12
-rw-r--r--mod/profile/views/default/river/ElggUser/profileupdate.php (renamed from mod/profile/views/default/river/ElggUser/update.php)0
2 files changed, 12 insertions, 0 deletions
diff --git a/mod/profile/views/default/river/ElggUser/profileiconupdate.php b/mod/profile/views/default/river/ElggUser/profileiconupdate.php
new file mode 100644
index 000000000..ce511c40c
--- /dev/null
+++ b/mod/profile/views/default/river/ElggUser/profileiconupdate.php
@@ -0,0 +1,12 @@
+<?php
+
+ $statement = $vars['statement'];
+
+ $performed_by = $statement->getSubject();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("profile:river:iconupdate"),$url);
+
+?>
+
+<?php echo $string; ?> \ No newline at end of file
diff --git a/mod/profile/views/default/river/ElggUser/update.php b/mod/profile/views/default/river/ElggUser/profileupdate.php
index 36f775991..36f775991 100644
--- a/mod/profile/views/default/river/ElggUser/update.php
+++ b/mod/profile/views/default/river/ElggUser/profileupdate.php