getOwnerEntity(); //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') { $attrs = [ 'class' => 'elgg-button elgg-button-action', 'data-elgg-action' => json_encode([ 'name' => 'reportedcontent/archive', 'data' => [ 'guid' => $report->guid, ] ]), ]; echo elgg_format_element('button', $attrs, elgg_echo('reportedcontent:archive')); } $attrs = [ 'class' => 'elgg-button elgg-button-action', 'data-elgg-action' => json_encode([ 'name' => 'reportedcontent/delete', 'data' => [ 'guid' => $report->guid, ] ]), ]; echo elgg_format_element('button', $attrs, elgg_echo('reportedcontent:delete')); ?>

$report->title, 'href' => $report->address, 'is_trusted' => true, 'class' => 'elgg-reported-content-address elgg-lightbox', 'data-colorbox-opts' => json_encode([ 'width' => '85%', 'height' => '85%', 'iframe' => true, ]), ]); ?>

$reporter->getURL(), 'text' => $reporter->name, 'is_trusted' => true, ]); echo " " . elgg_view_friendly_time($report->time_created); ?>

description): ?>

description; ?>