aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/reportedcontent/languages/en.php1
-rw-r--r--mod/reportedcontent/views/default/reportedcontent/footer_link.php5
2 files changed, 5 insertions, 1 deletions
diff --git a/mod/reportedcontent/languages/en.php b/mod/reportedcontent/languages/en.php
index 6da0b2ba0..97b86d242 100644
--- a/mod/reportedcontent/languages/en.php
+++ b/mod/reportedcontent/languages/en.php
@@ -18,6 +18,7 @@
'item:object:reported_content' => 'Reported items',
'reportedcontent' => 'Reported content',
'reportedcontent:this' => 'Report this',
+ 'reportedcontent:this:title' => 'Report this page to the site administrator for review',
'reportedcontent:none' => 'There is no reported content at this time.',
'reportedcontent:report' => 'Report to admin',
'reportedcontent:title' => 'Page title',
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>