aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 22:18:04 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 22:18:04 +0000
commit799c8aa9e7a9ead3744ba8268d0f06bf0af6169e (patch)
treeca33806ee0320f2f5bd91f14dc018ec9bc78d99b /mod/blog/views
parent605d311eee2f4a225467f32652f4bec6c03474ee (diff)
downloadelgg-799c8aa9e7a9ead3744ba8268d0f06bf0af6169e.tar.gz
elgg-799c8aa9e7a9ead3744ba8268d0f06bf0af6169e.tar.bz2
Added access level in blog list.
git-svn-id: http://code.elgg.org/elgg/trunk@6194 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/object/blog.php4
1 files changed, 3 insertions, 1 deletions
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 = "<span class='blog_status'>$status_text</a>";
}
- $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