diff options
Diffstat (limited to 'mod/reportedcontent/views/default/reportedcontent/listing.php')
-rw-r--r-- | mod/reportedcontent/views/default/reportedcontent/listing.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/reportedcontent/views/default/reportedcontent/listing.php b/mod/reportedcontent/views/default/reportedcontent/listing.php index b56a12615..d8388e479 100644 --- a/mod/reportedcontent/views/default/reportedcontent/listing.php +++ b/mod/reportedcontent/views/default/reportedcontent/listing.php @@ -10,17 +10,17 @@ //find out if the report is current or archive
if($report->state == 'archived'){
- $reportedcontent_background = "archive";
+ $reportedcontent_background = "archived_report";
}else{
- $reportedcontent_background = "active";
+ $reportedcontent_background = "active_report";
}
echo "<div class=\"reportedcontent_content {$reportedcontent_background}\">";
+ echo "<p class=\"reportedcontent_detail\"><a class=\"archive_report_button\" href=\"" . $vars['url'] . "action/reportedcontent/archive?item=" . $report->guid . "\">" . elgg_echo('reportedcontent:archive') . "</a> <a class=\"delete_report_button\" href=\"" . $vars['url'] . "action/reportedcontent/delete?item=" . $report->guid . "\" onclick=\"return confirm('" . elgg_echo('reportedcontent:areyousure') . "')\">" . elgg_echo('reportedcontent:delete') . "</a></p>";
echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:by') . ": </b><a href=\"{$user_url}\">" . $user . "</a>, " . friendly_time($report->time_created) . "</p>";
echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:objecttitle') . ": </b>" . $report->title . "</p>";
- echo "<p class=\"reportedcontent_detail\">[<a href=\"" . $vars['url'] . "action/reportedcontent/archive?item=" . $report->guid . "\">" . elgg_echo('reportedcontent:archive') . "</a>] - [<a href=\"" . $vars['url'] . "action/reportedcontent/delete?item=" . $report->guid . "\" onclick=\"return confirm('" . elgg_echo('reportedcontent:areyousure') . "')\">" . elgg_echo('reportedcontent:delete') . "</a>]</p>";
- echo "<p><a class=\"manifest_details\">" . elgg_echo("more info") . "</a></p>";
+ echo "<p><a class=\"manifest_details\">" . elgg_echo("more info") . "</a></p>";
echo "<div class=\"manifest_file\">";
echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:objecturl') . ": </b><a href=\"{$report->address}\">" . elgg_echo('reportedcontent:visit') . "</a></p>";
echo "<p class=\"reportedcontent_detail\"><b>" . elgg_echo('reportedcontent:reason') . ": </b>" .$report->description . "</p>";
|