From 799c8aa9e7a9ead3744ba8268d0f06bf0af6169e Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 24 May 2010 22:18:04 +0000 Subject: Added access level in blog list. git-svn-id: http://code.elgg.org/elgg/trunk@6194 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/blog/views/default/object') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index a45e72bd8..bb109a21e 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -54,7 +54,9 @@ if ($blog->canEdit()) { $status = "$status_text"; } - $edit = "$status $edit_link $delete_link"; + $access = elgg_view('output/access', array('entity' => $vars['entity'])); + + $edit = "$access $status $edit_link $delete_link"; } // include a view for plugins to extend -- cgit v1.2.3