From 47f85ed3b5c06e16845a65f4e2d259e0dc0458c2 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 7 Feb 2009 16:23:39 +0000 Subject: profile icon added to change river view and css added to activity git-svn-id: https://code.elgg.org/elgg/trunk@2677 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../default/river/user/default/profileiconupdate.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'mod/profile/views/default/river') diff --git a/mod/profile/views/default/river/user/default/profileiconupdate.php b/mod/profile/views/default/river/user/default/profileiconupdate.php index ce511c40c..c56699afe 100644 --- a/mod/profile/views/default/river/user/default/profileiconupdate.php +++ b/mod/profile/views/default/river/user/default/profileiconupdate.php @@ -1,11 +1,12 @@ getSubject(); - - $url = "getURL()}\">{$performed_by->name}"; - $string = sprintf(elgg_echo("profile:river:iconupdate"),$url); + + $statement = $vars['statement']; + + $performed_by = $statement->getSubject(); + + $url = "getURL()}\">{$performed_by->name}"; + $string = sprintf(elgg_echo("profile:river:iconupdate"),$url); + $string .= "
" . elgg_view("profile/icon",array('entity' => $performed_by, 'size' => 'small', 'override' => 'true')) . "
"; ?> -- cgit v1.2.3