aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/views/default/river
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 10:49:19 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 10:49:19 +0000
commitd9a7f8ee70bdd5a5a596a5bb745c8d11391105e9 (patch)
tree342786130bc41bfb48065e4e72c661ca9486e7e8 /mod/profile/views/default/river
parentdea81fd61b6c04fda3dabc0360de312197c80db7 (diff)
downloadelgg-d9a7f8ee70bdd5a5a596a5bb745c8d11391105e9.tar.gz
elgg-d9a7f8ee70bdd5a5a596a5bb745c8d11391105e9.tar.bz2
Using ElggRiverStatement. Plugin writers update your views! Refs #135.
git-svn-id: https://code.elgg.org/elgg/trunk@1422 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/views/default/river')
-rw-r--r--mod/profile/views/default/river/ElggUser/update.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/profile/views/default/river/ElggUser/update.php b/mod/profile/views/default/river/ElggUser/update.php
index c9b710512..36f775991 100644
--- a/mod/profile/views/default/river/ElggUser/update.php
+++ b/mod/profile/views/default/river/ElggUser/update.php
@@ -1,10 +1,12 @@
<?php
-
- $performed_by = $vars['performed_by'];
+
+ $statement = $vars['statement'];
+
+ $performed_by = $statement->getSubject();
+
+ $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
+ $string = sprintf(elgg_echo("profile:river:update"),$url);
- $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
- $string = sprintf(elgg_echo("profile:river:update"),$url);
-
?>
<?php echo $string; ?> \ No newline at end of file