aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
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