From 7fab6390acd5cfcdd8458d43eae4ff984aefae43 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 13 Feb 2009 13:29:51 +0000 Subject: new river work committed for profiles git-svn-id: https://code.elgg.org/elgg/trunk@2741 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/river/user/default/profileiconupdate.php | 4 +--- .../views/default/river/user/default/profileupdate.php | 12 +++++------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'mod/profile/views/default/river/user') diff --git a/mod/profile/views/default/river/user/default/profileiconupdate.php b/mod/profile/views/default/river/user/default/profileiconupdate.php index c56699afe..464f07abc 100644 --- a/mod/profile/views/default/river/user/default/profileiconupdate.php +++ b/mod/profile/views/default/river/user/default/profileiconupdate.php @@ -1,8 +1,6 @@ getSubject(); + $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject(); $url = "getURL()}\">{$performed_by->name}"; $string = sprintf(elgg_echo("profile:river:iconupdate"),$url); diff --git a/mod/profile/views/default/river/user/default/profileupdate.php b/mod/profile/views/default/river/user/default/profileupdate.php index 36f775991..8f3690ae2 100644 --- a/mod/profile/views/default/river/user/default/profileupdate.php +++ b/mod/profile/views/default/river/user/default/profileupdate.php @@ -1,11 +1,9 @@ getSubject(); - - $url = "getURL()}\">{$performed_by->name}"; - $string = sprintf(elgg_echo("profile:river:update"),$url); + + $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject(); + + $url = "getURL()}\">{$performed_by->name}"; + $string = sprintf(elgg_echo("profile:river:update"),$url); ?> -- cgit v1.2.3