diff options
author | cash <cash.costello@gmail.com> | 2011-10-25 19:18:09 -0400 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-10-25 19:18:09 -0400 |
commit | 08910caa0a8750a449db6910bb28d0d1e758c615 (patch) | |
tree | abfb6e85ec8487c246e9f4c5d6e3f6327ccbfa39 /mod/blog | |
parent | 65bd37c1f0e3e3adb04bd48dad6183bcd3c7e26c (diff) | |
download | elgg-08910caa0a8750a449db6910bb28d0d1e758c615.tar.gz elgg-08910caa0a8750a449db6910bb28d0d1e758c615.tar.bz2 |
added new view for the full display of objects
Diffstat (limited to 'mod/blog')
-rw-r--r-- | mod/blog/views/default/object/blog.php | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index b51b769a2..05ddf62c7 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -66,8 +66,6 @@ if ($full) { 'class' => 'blog-post', )); - $header = elgg_view_title($blog->title); - $params = array( 'entity' => $blog, 'title' => false, @@ -76,15 +74,14 @@ if ($full) { 'tags' => $tags, ); $params = $params + $vars; - $list_body = elgg_view('object/elements/summary', $params); + $summary = elgg_view('object/elements/summary', $params); - $blog_info = elgg_view_image_block($owner_icon, $list_body); - - echo <<<HTML -$header -$blog_info -$body -HTML; + echo elgg_view('object/elements/full', array( + 'title' => $blog->title, + 'summary' => $summary, + 'icon' => $owner_icon, + 'body' => $body, + )); } else { // brief view |