aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default/reportedcontent/footer_link.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/reportedcontent/views/default/reportedcontent/footer_link.php')
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/footer_link.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/footer_link.php b/mod/reportedcontent/views/default/reportedcontent/footer_link.php
index 729aef2af..991db6b83 100644
--- a/mod/reportedcontent/views/default/reportedcontent/footer_link.php
+++ b/mod/reportedcontent/views/default/reportedcontent/footer_link.php
@@ -8,8 +8,11 @@
* @copyright Curverider Ltd 2008-2010
* @link http://elgg.org/
*/
+
+$title = elgg_echo('reportedcontent:this:title');
+$text = elgg_echo('reportedcontent:this');
?>
<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>
+ <a href="javascript:location.href='<?php echo $vars['url']; ?>mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)" title="<?php echo $title; ?>"><?php echo $text; ?></a>
</div>