]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
added title attribute to report this footer link
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 22 May 2010 16:27:30 +0000 (16:27 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sat, 22 May 2010 16:27:30 +0000 (16:27 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6138 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/reportedcontent/languages/en.php
mod/reportedcontent/views/default/reportedcontent/footer_link.php

index 6da0b2ba0e616bf0996f37012e291b4a8a362e88..97b86d24220c2e014267eaef0063c45fe997b444 100644 (file)
@@ -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',
index 729aef2af161a8f832d667a66bd89727269cc423..991db6b83a25c9de79160e9819980335540bcdf0 100644 (file)
@@ -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>