blob: 4e893522c383d4d29e92da15146a1d95b1996f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
/**
* Elgg report this link
*
* @package ElggReportContent
*/
$title = elgg_echo('reportedcontent:this:tooltip');
$text = elgg_echo('reportedcontent:this');
?>
<a class="report-this" href="javascript:location.href='<?php echo elgg_get_site_url(); ?>pg/reportedcontent/add/?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)" title="<?php echo $title; ?>">
<span class="elgg-icon report-this-icon"></span>
<?php echo $text; ?>
</a>
|