summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:15:39 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:15:39 +0000
commit5d1e23b85fcbcf24236d8d8c5db1180000ea4d7e (patch)
treeae2418c35e414aeefe136601b732c66bcc472528
parent5940e9344c8ff49004f31ec19cd2c458ead88fae (diff)
downloadrss-5d1e23b85fcbcf24236d8d8c5db1180000ea4d7e.tar.gz
rss-5d1e23b85fcbcf24236d8d8c5db1180000ea4d7e.tar.bz2
rss-5d1e23b85fcbcf24236d8d8c5db1180000ea4d7e.zip
Figured what has been causing a problem with using && and || in smarty templates and related to mistake in processing {2} elements that should use curly brackets and not revert to square ones. (This was a legacy mod)
-rw-r--r--templates/html_head_inc.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl
index 6af4972..9600bcd 100644
--- a/templates/html_head_inc.tpl
+++ b/templates/html_head_inc.tpl
@@ -1,9 +1,9 @@
{strip}
-{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'site_header_extended_nav' )}
+{if $gBitSystem->isPackageActive( 'rss' ) && $gBitSystem->isFeatureActive( 'site_header_extended_nav' )}
<link rel="rss feeds" title="{tr}RSS Syndication{/tr}" href="{$smarty.const.RSS_PKG_URL}" />
{/if}
-{if $gBitSystem->isPackageActive( 'rss' ) and !empty($feedlink.url)}
+{if $gBitSystem->isPackageActive( 'rss' ) && !empty($feedlink.url)}
<link rel="alternate" type="application/rss+xml" title="{$feedlink.title|escape}" href="{$feedlink.url}" />
{/if}
{/strip}