From bdb5d2b95792782ebc379e3348cad1812c1980b4 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 9 Mar 2011 03:07:40 +0000 Subject: Fixes #3058 pulls likes out as a plugin git-svn-id: http://code.elgg.org/elgg/trunk@8639 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/river/annotation/likes/create.php | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 views/default/river/annotation/likes/create.php (limited to 'views/default/river/annotation/likes/create.php') diff --git a/views/default/river/annotation/likes/create.php b/views/default/river/annotation/likes/create.php deleted file mode 100644 index 374f4a381..000000000 --- a/views/default/river/annotation/likes/create.php +++ /dev/null @@ -1,23 +0,0 @@ -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)); -- cgit v1.2.3