diff options
Diffstat (limited to 'mod/profile/views/default/river')
-rw-r--r-- | mod/profile/views/default/river/user/default/profileiconupdate.php | 6 | ||||
-rw-r--r-- | mod/profile/views/default/river/user/default/profileupdate.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/mod/profile/views/default/river/user/default/profileiconupdate.php b/mod/profile/views/default/river/user/default/profileiconupdate.php index b1e5baf88..9e617573b 100644 --- a/mod/profile/views/default/river/user/default/profileiconupdate.php +++ b/mod/profile/views/default/river/user/default/profileiconupdate.php @@ -1,8 +1,8 @@ <?php $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject(); - + $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; - $string = sprintf(elgg_echo("profile:river:update"),$url) ." <span class='entity_subtext'>" . elgg_view_friendly_time($vars['item']->posted) . "</span>"; - + $string = elgg_echo("profile:river:update", array($url)) ." <span class='entity_subtext'>" . elgg_view_friendly_time($vars['item']->posted) . "</span>"; + echo $string;
\ No newline at end of file diff --git a/mod/profile/views/default/river/user/default/profileupdate.php b/mod/profile/views/default/river/user/default/profileupdate.php index 5da11c4b3..156aa8b1b 100644 --- a/mod/profile/views/default/river/user/default/profileupdate.php +++ b/mod/profile/views/default/river/user/default/profileupdate.php @@ -1,10 +1,10 @@ <?php $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject(); - + $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; - $string = sprintf(elgg_echo("profile:river:update"),$url) ." <span class='entity_subtext'>" . elgg_view_friendly_time($vars['item']->posted) . "</span>"; - + $string = elgg_echo("profile:river:update", array($url)) ." <span class='entity_subtext'>" . elgg_view_friendly_time($vars['item']->posted) . "</span>"; + ?> <?php echo $string; ?>
\ No newline at end of file |