aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 18:13:26 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-19 18:13:26 +0000
commit33bd12ba604a9345974da3097c3a960b9597003f (patch)
tree6cc622d70499660adb004c1aa640cffeffeec20d /mod/profile
parent1ce8bfd2645cac79d44676ec769957f8d35e557c (diff)
downloadelgg-33bd12ba604a9345974da3097c3a960b9597003f.tar.gz
elgg-33bd12ba604a9345974da3097c3a960b9597003f.tar.bz2
Profile updates now show up in the river.
git-svn-id: https://code.elgg.org/elgg/trunk@1003 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/languages/en.php2
-rw-r--r--mod/profile/views/default/river/ElggUser/update.php12
2 files changed, 14 insertions, 0 deletions
diff --git a/mod/profile/languages/en.php b/mod/profile/languages/en.php
index ffe609eec..4074b2d53 100644
--- a/mod/profile/languages/en.php
+++ b/mod/profile/languages/en.php
@@ -33,6 +33,8 @@
'profile:mobile' => "Mobile phone",
'profile:website' => "Website",
+ 'profile:river:update' => "%s updated his or her profile",
+
/**
* Status messages
*/
diff --git a/mod/profile/views/default/river/ElggUser/update.php b/mod/profile/views/default/river/ElggUser/update.php
new file mode 100644
index 000000000..f518ef2c8
--- /dev/null
+++ b/mod/profile/views/default/river/ElggUser/update.php
@@ -0,0 +1,12 @@
+<?php
+
+ $performed_by = $vars['performed_by'];
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("profile:river:update"),$url);
+
+?>
+
+<p class="river_profile_update">
+ <?php echo $string; ?>
+</p> \ No newline at end of file