From edf80d555bb7b730b79634574dad3857b173e759 Mon Sep 17 00:00:00 2001 From: wjames5 Date: Sat, 4 Oct 2008 18:34:54 +0000 Subject: check perm to see tools via BitUser method so global group perm is respected --- templates/view_blog_post.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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)}
{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' )} {biticon ipackage="rss" iname="rss-16x16" iexplain="RSS feed"} {/if} -- cgit v1.3