aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-22 16:27:30 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-22 16:27:30 +0000
commit9bbb5d94bb2a5ee3bf7061826003b54c03697a20 (patch)
tree8651fbfb5e61b2c5cafc4b10e8e69d88d24d3f41 /mod/reportedcontent
parent146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0 (diff)
downloadelgg-9bbb5d94bb2a5ee3bf7061826003b54c03697a20.tar.gz
elgg-9bbb5d94bb2a5ee3bf7061826003b54c03697a20.tar.bz2
added title attribute to report this footer link
git-svn-id: http://code.elgg.org/elgg/trunk@6138 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent')
-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>