From d3efc6c117d43e651a7e4e85162237311f5816cf Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 30 Jun 2009 11:19:49 +0000 Subject: wire links will now work in the activity river git-svn-id: https://code.elgg.org/elgg/trunk@3367 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/thewire/views/default/river/object/thewire/create.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mod/thewire') diff --git a/mod/thewire/views/default/river/object/thewire/create.php b/mod/thewire/views/default/river/object/thewire/create.php index df381d7f7..2c1bb159d 100644 --- a/mod/thewire/views/default/river/object/thewire/create.php +++ b/mod/thewire/views/default/river/object/thewire/create.php @@ -5,8 +5,10 @@ $url = $object->getURL(); $string = "getURL()}\">{$performed_by->name}: "; - $string .= $object->description; - + $desc .= $object->description; + $desc = preg_replace('/\@([A-Za-z0-9\_\.\-]*)/i','@$1',$desc); + $string .= parse_urls($desc); + $string .= " (getOwnerEntity()->username}\" class=\"reply\">" . elgg_echo('thewire:reply') . ")"; ?> -- cgit v1.2.3