aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-22 16:20:15 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-22 16:20:15 +0000
commit146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0 (patch)
tree4e128bb75e641cdd7d587927bde57e9d85d3c58d /mod/reportedcontent/views/default
parent4d21dc679676166b1ea93412dbe0cdba73a88721 (diff)
downloadelgg-146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0.tar.gz
elgg-146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0.tar.bz2
removing reported content dependency from core code...again
git-svn-id: http://code.elgg.org/elgg/trunk@6137 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/views/default')
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/footer_link.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/footer_link.php b/mod/reportedcontent/views/default/reportedcontent/footer_link.php
new file mode 100644
index 000000000..729aef2af
--- /dev/null
+++ b/mod/reportedcontent/views/default/reportedcontent/footer_link.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Elgg report this link
+ *
+ * @package ElggReportContent
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider <info@elgg.com>
+ * @copyright Curverider Ltd 2008-2010
+ * @link http://elgg.org/
+ */
+?>
+
+<div id="report_this">
+ <a href="javascript:location.href='<?php echo $vars['url']; ?>mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)"><?php echo elgg_echo('reportedcontent:report'); ?></a>
+</div>