From 186f5474e37f9ebde09b9afe2c82fa711402b421 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 22 Jan 2011 12:54:38 +0000 Subject: using list metadata view rather than custom code git-svn-id: http://code.elgg.org/elgg/trunk@7897 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 47 +++++++--------------------------- 1 file changed, 9 insertions(+), 38 deletions(-) (limited to 'mod') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index fd2c4fee8..3c5003310 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -43,46 +43,17 @@ if ($blog->comments_on != 'Off') { $comments_link = ''; } -// access is always shown. -$metadata = ''; +$metadata = elgg_view('layout/objects/list/metadata', array( + 'entity' => $blog, + 'handler' => 'blog', + 'links' => $extra_links, +)); $subtitle = "$author_text $date $categories $comments_link"; -- cgit v1.2.3