aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default
diff options
context:
space:
mode:
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>