owner_guid)->name; $user_url = get_user($report->owner_guid)->getURL(); //find out if the report is current or archive if($report->state == 'archived'){ $reportedcontent_background = "archived_report"; }else{ $reportedcontent_background = "active_report"; } echo "
"; if($report->state != 'archived') echo "guid . "\">" . elgg_echo('reportedcontent:archive') . ""; echo "guid . "\" onclick=\"return confirm('" . elgg_echo('reportedcontent:areyousure') . "')\">" . elgg_echo('reportedcontent:delete') . "
"; echo "" . elgg_echo('reportedcontent:by') . ": " . $user . ", " . friendly_time($report->time_created) . "
"; echo "" . elgg_echo('reportedcontent:objecttitle') . ": " . $report->title . "
"; echo "" . elgg_echo("more info") . "
"; echo "" . elgg_echo('reportedcontent:objecturl') . ": address}\">" . elgg_echo('reportedcontent:visit') . "
"; echo "" . elgg_echo('reportedcontent:reason') . ": " .$report->description . "
"; echo "