diff options
author | cash <cash.costello@gmail.com> | 2011-06-24 13:42:07 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-06-24 13:42:07 -0400 |
commit | 3c2f72753335a5ca793cf8250c4233d04689e5d2 (patch) | |
tree | 43fb542574f791bc47546e65e24f858c3eec0698 /mod/likes/views/default/river | |
parent | 42e02f03c306717002aac0d36f0e2b48bf369fed (diff) | |
parent | d701c3bdf59e2d326c27dd0567323e09a65c00f2 (diff) | |
download | elgg-3c2f72753335a5ca793cf8250c4233d04689e5d2.tar.gz elgg-3c2f72753335a5ca793cf8250c4233d04689e5d2.tar.bz2 |
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'mod/likes/views/default/river')
-rw-r--r-- | mod/likes/views/default/river/annotation/likes/create.php | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/mod/likes/views/default/river/annotation/likes/create.php b/mod/likes/views/default/river/annotation/likes/create.php index 463fe5049..0160bcc0b 100644 --- a/mod/likes/views/default/river/annotation/likes/create.php +++ b/mod/likes/views/default/river/annotation/likes/create.php @@ -5,22 +5,6 @@ * @todo not finished */ -$object = $vars['item']->getObjectEntity(); -$comment = $vars['item']->getAnnotation(); - -$url = $object->getURL(); -$title = $object->title; -if (!$title) { - $title = elgg_echo('untitled'); -} -$params = array( - 'href' => $object->getURL(), - 'text' => $title, -); -$object_link = elgg_view('output/url', $params); - -$type = $object->getType(); -$subtype = $object->getSubtype(); - -$type_string = elgg_echo("river:commented:$type:$subtype"); -echo elgg_echo('river:likes', array($type_string, $object_link)); +echo elgg_view('river/item', array( + 'item' => $vars['item'], +)); |