aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/views/default
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/views/default
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/views/default')
-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>