diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-12 23:31:00 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-12 23:31:00 +0000 |
commit | 4ae064871ba9dca9f03e095671db48815632d070 (patch) | |
tree | ccccacdac0f608e2d262d1d3a8916408c033f132 /mod/messageboard/views/default/river | |
parent | 8618288ed51942c814f45c67354b14eec43c2422 (diff) | |
download | elgg-4ae064871ba9dca9f03e095671db48815632d070.tar.gz elgg-4ae064871ba9dca9f03e095671db48815632d070.tar.bz2 |
merging messageboard cleanup from 1.7 branch [5908],[5909],[5917]
git-svn-id: http://code.elgg.org/elgg/trunk@6019 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messageboard/views/default/river')
-rw-r--r-- | mod/messageboard/views/default/river/object/messageboard/create.php | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/mod/messageboard/views/default/river/object/messageboard/create.php b/mod/messageboard/views/default/river/object/messageboard/create.php index 9f65122d0..88bbd56aa 100644 --- a/mod/messageboard/views/default/river/object/messageboard/create.php +++ b/mod/messageboard/views/default/river/object/messageboard/create.php @@ -1,12 +1,10 @@ <?php - $performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject(); - $performed_on = get_entity($vars['item']->object_guid); +$performed_by = get_entity($vars['item']->subject_guid); +$performed_on = get_entity($vars['item']->object_guid); - $url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; - $string = sprintf(elgg_echo("messageboard:river:added"),$url) . " <a href=\"{$performed_on->getURL()}\">" . $performed_on->name . "'s</a> " . elgg_echo("messageboard:river:messageboard"); - - - echo $string; +$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>"; +$string = sprintf(elgg_echo("messageboard:river:added"),$url) . " <a href=\"{$performed_on->getURL()}\">" . $performed_on->name . "'s</a> " . elgg_echo("messageboard:river:messageboard"); -?>
\ No newline at end of file + +echo $string; |