diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 23:52:23 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-12 23:52:23 +0000 |
commit | 3e49786bc6e271867fc57d7725905452ba280842 (patch) | |
tree | 3cefcaa44dfcd38df30836ad47ba13729bac80eb /views/default/river/item/body.php | |
parent | c194b2ad8b99621c5bd7bf32f68d3c3d2399073c (diff) | |
download | elgg-3e49786bc6e271867fc57d7725905452ba280842.tar.gz elgg-3e49786bc6e271867fc57d7725905452ba280842.tar.bz2 |
somehow we forgot to use 'elements' in river views
git-svn-id: http://code.elgg.org/elgg/trunk@8679 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/item/body.php')
-rw-r--r-- | views/default/river/item/body.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/views/default/river/item/body.php b/views/default/river/item/body.php deleted file mode 100644 index 7d36222ac..000000000 --- a/views/default/river/item/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('river/item/footer', $vars); - -echo elgg_view('page/components/module', array( - 'header' => $header, - 'body' => $body, - 'footer' => $footer, - 'show_inner' => false, -));
\ No newline at end of file |