From 8a73785aee3e51c26c65053a4de7c5d7f0ebb673 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 21 Aug 2010 23:58:35 +0000 Subject: Merged r6586:6587 from 1.7 branch into trunk git-svn-id: http://code.elgg.org/elgg/trunk@6842 36083f99-b078-4883-b0ff-0f9b5a30f544 --- .../views/default/reportedcontent/listing.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mod/reportedcontent/views/default') diff --git a/mod/reportedcontent/views/default/reportedcontent/listing.php b/mod/reportedcontent/views/default/reportedcontent/listing.php index 99069cb8c..33c546397 100644 --- a/mod/reportedcontent/views/default/reportedcontent/listing.php +++ b/mod/reportedcontent/views/default/reportedcontent/listing.php @@ -1,7 +1,7 @@ @@ -12,27 +12,27 @@ if($vars['entity']){ $id = 0; foreach($vars['entity'] as $report){ - + // increment our id counter $id++; - + //get the user making the report $user = get_user($report->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 "
"; echo ""; - echo "

" . elgg_echo('reportedcontent:by') . ": " . $user . ", " . friendly_time($report->time_created) . "

"; + echo "

" . elgg_echo('reportedcontent:by') . ": " . $user . ", " . elgg_view_friendly_time($report->time_created) . "

"; echo "

" . elgg_echo('reportedcontent:objecttitle') . ": " . $report->title; echo "
" . elgg_echo('reportedcontent:moreinfo') . "

"; echo "
"; } - + } else { echo "

".elgg_echo('reportedcontent:none')."

"; } \ No newline at end of file -- cgit v1.2.3