summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormodela bitweaver <bitweaver@modela>2016-06-21 12:43:41 -0400
committermodela bitweaver <bitweaver@modela>2016-06-21 12:43:41 -0400
commita03f509361a8efb5bc831f85f389b9baf3f7c297 (patch)
tree5eed9ebbe7c98e0c7a3948abb3d69e6e3f4115b3 /templates
parent253d0d0581fe8e610e4fef728259878d7a5d0d87 (diff)
downloadblogs-a03f509361a8efb5bc831f85f389b9baf3f7c297.tar.gz
blogs-a03f509361a8efb5bc831f85f389b9baf3f7c297.tar.bz2
blogs-a03f509361a8efb5bc831f85f389b9baf3f7c297.zip
update for BitSystem::get(set)ActivePackage() instead of ACTIVE_PACKAGE
Diffstat (limited to 'templates')
-rw-r--r--templates/html_head_inc.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl
index f05a7da..e4cf8a4 100644
--- a/templates/html_head_inc.tpl
+++ b/templates/html_head_inc.tpl
@@ -1,6 +1,6 @@
{* $Header$ *}
{strip}
-{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'blogs_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'blogs' and $gBitUser->hasPermission( 'p_blogs_view' )}
+{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'blogs_rss' ) and $gBitSystem->getActivePackage() eq 'blogs' and $gBitUser->hasPermission( 'p_blogs_view' )}
{if isset($gContent->mBlogId)}
<link rel="alternate" type="application/rss+xml" title="{$gContent->getTitle()}" href="{$smarty.const.BLOGS_PKG_URL}blogs_rss.php?blog_id={$gContent->blog_content_id}&amp;version={$gBitSystem->getConfig('rssfeed_default_version',0)}" />
{elseif isset($post_info.blogs)}