From f27e958b4eda78099e55558e45c61f17802d0bcc Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 12 Jun 2011 23:35:26 +0000 Subject: fixing some display issues with reported content - code use a little cleanup git-svn-id: http://code.elgg.org/elgg/trunk@9195 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/reportedcontent/languages/en.php | 4 +- .../views/default/object/reported_content.php | 46 +++++++++++----------- .../views/default/reportedcontent/admin_css.php | 16 +++++++- 3 files changed, 41 insertions(+), 25 deletions(-) diff --git a/mod/reportedcontent/languages/en.php b/mod/reportedcontent/languages/en.php index 407717082..c047644e3 100644 --- a/mod/reportedcontent/languages/en.php +++ b/mod/reportedcontent/languages/en.php @@ -23,8 +23,8 @@ $english = array( 'reportedcontent:archived' => 'The report has been archived', 'reportedcontent:visit' => 'Visit reported item', 'reportedcontent:by' => 'Report by', - 'reportedcontent:objecttitle' => 'Object title', - 'reportedcontent:objecturl' => 'Object url', + 'reportedcontent:objecttitle' => 'Page title', + 'reportedcontent:objecturl' => 'Page url', 'reportedcontent:reason' => 'Reason for report', 'reportedcontent:description' => 'Why are you reporting this?', 'reportedcontent:address' => 'Location of the item', diff --git a/mod/reportedcontent/views/default/object/reported_content.php b/mod/reportedcontent/views/default/object/reported_content.php index 044a40012..b8c443450 100644 --- a/mod/reportedcontent/views/default/object/reported_content.php +++ b/mod/reportedcontent/views/default/object/reported_content.php @@ -21,7 +21,8 @@ if ($report->state == 'archived') { ?>
-
+
+
state != 'archived') { $params = array( @@ -40,28 +41,29 @@ if ($report->state == 'archived') { ); echo elgg_view('output/url', $params); ?> +
+

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

+

+ : + title; ?> +
+ "#report-$report->guid", + 'text' => elgg_echo('reportedcontent:moreinfo'), + 'class' => "elgg-toggler", + )); + ?> +

-

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

-

- : - title; ?> -
- "#report-$report->guid", - 'text' => elgg_echo('reportedcontent:moreinfo'), - 'class' => "elgg-toggler", - )); - ?> -

-