diff options
| author | lsces <lester@lsces.co.uk> | 2026-03-27 16:15:39 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-03-27 16:15:39 +0000 |
| commit | 5d1e23b85fcbcf24236d8d8c5db1180000ea4d7e (patch) | |
| tree | ae2418c35e414aeefe136601b732c66bcc472528 | |
| parent | 5940e9344c8ff49004f31ec19cd2c458ead88fae (diff) | |
| download | rss-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.tpl | 4 |
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} |
