getOwnerEntity(); $archive_url = elgg_get_site_url() . "action/reportedcontent/archive?guid=$report->guid"; $delete_url = elgg_get_site_url() . "action/reportedcontent/delete?guid=$report->guid"; //find out if the report is current or archive if ($report->state == 'archived') { $reportedcontent_background = "reported-content-archived"; } else { $reportedcontent_background = "reported-content-active"; } ?>
state != 'archived') { $params = array( 'href' => $archive_url, 'text' => elgg_echo('reportedcontent:archive'), 'is_action' => true, 'is_trusted' => true, 'class' => 'elgg-button elgg-button-action', ); echo elgg_view('output/url', $params); } $params = array( 'href' => $delete_url, 'text' => elgg_echo('reportedcontent:delete'), 'is_action' => true, 'is_trusted' => true, 'class' => 'elgg-button elgg-button-action', ); echo elgg_view('output/url', $params); ?>

: $reporter->getURL(), 'text' => $reporter->name, 'is_trusted' => true, )); ?>, time_created); ?>

: title; ?>

: $report->address, 'text' => elgg_echo('reportedcontent:visit'), 'is_trusted' => true, )); ?>

"#report-$report->guid", 'text' => elgg_echo('reportedcontent:moreinfo'), 'rel' => "toggle", )); ?>