aboutsummaryrefslogtreecommitdiff
path: root/views/default/core/river/body.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 00:12:17 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-24 00:12:17 +0000
commit01afda7ed87e7def6a411d871daf49522e977b26 (patch)
tree53a2ca457b94c777db3a808afad0173f4b96095b /views/default/core/river/body.php
parent7cca9471c04848c4e41077c83b01089d0736fbed (diff)
downloadelgg-01afda7ed87e7def6a411d871daf49522e977b26.tar.gz
elgg-01afda7ed87e7def6a411d871daf49522e977b26.tar.bz2
organized the river views according to the subview pattern
git-svn-id: http://code.elgg.org/elgg/trunk@8452 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/core/river/body.php')
-rw-r--r--views/default/core/river/body.php31
1 files changed, 0 insertions, 31 deletions
diff --git a/views/default/core/river/body.php b/views/default/core/river/body.php
deleted file mode 100644
index e3c34acda..000000000
--- a/views/default/core/river/body.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-/**
- * Body of river item
- *
- * @uses $vars['item']
- */
-
-$item = $vars['item'];
-$subject = $item->getSubjectEntity();
-
-// river item header
-$params = array(
- 'href' => $subject->getURL(),
- 'text' => $subject->name,
-);
-$subject_link = elgg_view('output/url', $params);
-$timestamp = elgg_get_friendly_time($item->getPostedTime());
-$header = "$subject_link <span class=\"elgg-river-timestamp\">$timestamp</span>";
-
-// body
-$body = elgg_view($item->getView(), array('item' => $item));
-
-// footer
-$footer = elgg_view('core/river/footer', $vars);
-
-echo elgg_view('page/components/module', array(
- 'header' => $header,
- 'body' => $body,
- 'footer' => $footer,
- 'show_inner' => false,
-)); \ No newline at end of file