aboutsummaryrefslogtreecommitdiff
path: root/views/default/likes/forms/link.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 12:34:48 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 12:34:48 +0000
commitd43e034a36768b945986f827f81618492a58f750 (patch)
treed24eede5913545929a6f3236c36cc1942ccf1304 /views/default/likes/forms/link.php
parent2ce0878606a75a38dd2eef9403a9c94529f46d5f (diff)
downloadelgg-d43e034a36768b945986f827f81618492a58f750.tar.gz
elgg-d43e034a36768b945986f827f81618492a58f750.tar.bz2
moved likes forms into forms directory
git-svn-id: http://code.elgg.org/elgg/trunk@7631 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/likes/forms/link.php')
-rw-r--r--views/default/likes/forms/link.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/views/default/likes/forms/link.php b/views/default/likes/forms/link.php
deleted file mode 100644
index decb4aa7f..000000000
--- a/views/default/likes/forms/link.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * Elgg likes link form - used on riverdashboard where we want the likes link separate from the list of users that liked the object
- *
- * @package Elgg
- *
- * @uses $vars['entity']
- */
-
-if (isset($vars['entity']) && isloggedin()) {
- $guid = $vars['entity']->getGuid();
- $url = elgg_add_action_tokens_to_url(elgg_get_site_url() . "action/likes/add?guid={$guid}");
- //check to see if the user has already liked
- if (!elgg_annotation_exists($guid, 'likes') ) {
- echo "<span class='river_link_divider'> | </span><a class='river_user-like_button link' href=\"{$url}\">" . elgg_echo('likes:likethis') . "</a>";
- }
-} \ No newline at end of file