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 --- mod/thewire/views/default/object/thewire.php | 2 +- mod/thewire/views/default/river/object/thewire/create.php | 2 +- mod/thewire/views/default/thewire/profile_status.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/thewire/views/default') diff --git a/mod/thewire/views/default/object/thewire.php b/mod/thewire/views/default/object/thewire.php index 170c0484a..d87d8f8e3 100644 --- a/mod/thewire/views/default/object/thewire.php +++ b/mod/thewire/views/default/object/thewire.php @@ -58,7 +58,7 @@ if (isset($vars['entity'])) {

time_created) + elgg_view_friendly_time($vars['entity']->time_created) ); echo " via " . elgg_echo($vars['entity']->method) . "."; ?> diff --git a/mod/thewire/views/default/river/object/thewire/create.php b/mod/thewire/views/default/river/object/thewire/create.php index d8d8ba3b5..9dee87274 100644 --- a/mod/thewire/views/default/river/object/thewire/create.php +++ b/mod/thewire/views/default/river/object/thewire/create.php @@ -8,7 +8,7 @@ $string = "getURL()}\">{$performed_by->name}: "; $desc = $object->description; //$desc = preg_replace('/\@([A-Za-z0-9\_\.\-]*)/i','@$1',$desc); $string .= parse_urls($desc); -$string .= " " . friendly_time($object->time_created); +$string .= " " . elgg_view_friendly_time($object->time_created); if (isloggedin()){ $string .= "Comment"; $string .= elgg_view('likes/forms/link', array('entity' => $object)); diff --git a/mod/thewire/views/default/thewire/profile_status.php b/mod/thewire/views/default/thewire/profile_status.php index fa8ccd76b..24f6c447b 100644 --- a/mod/thewire/views/default/thewire/profile_status.php +++ b/mod/thewire/views/default/thewire/profile_status.php @@ -13,7 +13,7 @@ if($latest_wire){ foreach($latest_wire as $lw){ $content = $lw->description; - $time = "

(" . friendly_time($lw->time_created) . ")

"; + $time = "

(" . elgg_view_friendly_time($lw->time_created) . ")

"; } } -- cgit v1.2.3