summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2008-10-04 18:34:54 +0000
committerwjames5 <will@tekimaki.com>2008-10-04 18:34:54 +0000
commitedf80d555bb7b730b79634574dad3857b173e759 (patch)
tree9146250888ad3ff2feeb9e62ed6b0995e5bfaec9
parentf09ffeb70a716134ef0105f1932d867d0325f789 (diff)
downloadblogs-edf80d555bb7b730b79634574dad3857b173e759.tar.gz
blogs-edf80d555bb7b730b79634574dad3857b173e759.tar.bz2
blogs-edf80d555bb7b730b79634574dad3857b173e759.zip
check perm to see tools via BitUser method so global group perm is respected
-rw-r--r--templates/view_blog_post.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index 1a20fbc..d0a0491 100644
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -20,7 +20,7 @@
{if !($preview)}
<div class="floaticon">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$post_info}
- {if $gContent->hasUserPermission( 'p_users_view_icons_and_tools' )}
+ {if $gBitUser->hasPermission( 'p_users_view_icons_and_tools' )}
{if $gBitSystem->isPackageActive( 'rss' ) && $gBitSystem->isFeatureActive( 'rss_blogs' )}
<a href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?user_id={$post_info.user_id}">{biticon ipackage="rss" iname="rss-16x16" iexplain="RSS feed"}</a>
{/if}