blob: 0e953e0b9385d205184e876722e1889166788b18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
/**
* Elgg report this link
*
* @package ElggReportContent
*/
$title = elgg_echo('reportedcontent:this:title');
$text = elgg_echo('reportedcontent:this');
?>
<div id="report_this">
<a href="javascript:location.href='<?php echo elgg_get_site_url(); ?>mod/reportedcontent/add.php?address='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)" title="<?php echo $title; ?>"><?php echo $text; ?></a>
</div>
|