From c5cc2821311012a8a4385a304a043c4b41f2afbb Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 31 Aug 2009 19:05:21 +0000 Subject: All line endings are now Unix-style. git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/json/river/item/list.php | 96 +++++++++++++++++++++--------------------- 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'views/json/river') diff --git a/views/json/river/item/list.php b/views/json/river/item/list.php index 8ab836f0a..149212135 100644 --- a/views/json/river/item/list.php +++ b/views/json/river/item/list.php @@ -1,49 +1,49 @@ -view,'default')) { - $body = elgg_view($item->view,array( - 'item' => $item - ),false,false,'default'); - $time = date("r",$item->posted); - if ($entity = get_entity($item->object_guid)) { - $url = htmlspecialchars($entity->getURL()); - } else { - $url = $vars['url']; - } - $title = strip_tags($body); - - $jsonitem = $item; - $jsonitem->url = $url; - $jsonitem->description = autop($body); - $jsonitem->title = $title; - unset($jsonitem->view); - - if ($subject = get_entity($item->subject_guid)) { - elgg_view_entity($subject); - } - if ($object = get_entity($item->object_guid)) { - elgg_view_entity($object); - } - - $jsonexport['activity'][] = $jsonitem; - - } - - $i++; - if ($i >= $vars['limit']) break; - - } - - } - echo "!"; - - +view,'default')) { + $body = elgg_view($item->view,array( + 'item' => $item + ),false,false,'default'); + $time = date("r",$item->posted); + if ($entity = get_entity($item->object_guid)) { + $url = htmlspecialchars($entity->getURL()); + } else { + $url = $vars['url']; + } + $title = strip_tags($body); + + $jsonitem = $item; + $jsonitem->url = $url; + $jsonitem->description = autop($body); + $jsonitem->title = $title; + unset($jsonitem->view); + + if ($subject = get_entity($item->subject_guid)) { + elgg_view_entity($subject); + } + if ($object = get_entity($item->object_guid)) { + elgg_view_entity($object); + } + + $jsonexport['activity'][] = $jsonitem; + + } + + $i++; + if ($i >= $vars['limit']) break; + + } + + } + echo "!"; + + ?> \ No newline at end of file -- cgit v1.2.3