summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspider@app1 <spiderr@bitweaver.org>2016-06-21 12:07:11 -0400
committerspider@app1 <spiderr@bitweaver.org>2016-06-21 12:07:11 -0400
commit1ad8a97e099cada49e7026a07707bfd90b16d749 (patch)
treecd20905de9d50d4acc89a42e602c903388ba6bdb /templates
parent3ebed9ade0609ded87c1657704b85ed0e4e82ba4 (diff)
downloadwiki-1ad8a97e099cada49e7026a07707bfd90b16d749.tar.gz
wiki-1ad8a97e099cada49e7026a07707bfd90b16d749.tar.bz2
wiki-1ad8a97e099cada49e7026a07707bfd90b16d749.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 5e9ceb4..db2a834 100644
--- a/templates/html_head_inc.tpl
+++ b/templates/html_head_inc.tpl
@@ -1,5 +1,5 @@
{strip}
-{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'wiki_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'wiki' and $gBitUser->hasPermission( 'p_wiki_view_page' )}
+{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'wiki_rss' ) and $gBitSystem->getActivePackage() eq 'wiki' and $gBitUser->hasPermission( 'p_wiki_view_page' )}
<link rel="alternate" type="application/rss+xml" title="{$gBitSystem->getConfig('fisheye_rss_title',"{tr}Wiki{/tr} RSS")}" href="{$smarty.const.WIKI_PKG_URL}wiki_rss.php?version={$gBitSystem->getConfig('rssfeed_default_version',0)}{if $gBitSystem->getConfig( 'rssfeed_httpauth' ) && $gBitUser->isRegistered()}&httpauth=y{/if}" />
{/if}
{/strip}