summaryrefslogtreecommitdiff
path: root/templates/contact_header.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-03-27 16:07:32 +0000
committerlsces <lester@lsces.co.uk>2026-03-27 16:07:32 +0000
commit72312119fe678d14b61e3c508db98a6dd0ee4ec0 (patch)
treec84b946956c2c1dc82ef1c63249d9bc942747af3 /templates/contact_header.tpl
parent8d7b90039e6459d3137bb274ccd1031b8abcbe6a (diff)
downloadcontact-72312119fe678d14b61e3c508db98a6dd0ee4ec0.tar.gz
contact-72312119fe678d14b61e3c508db98a6dd0ee4ec0.tar.bz2
contact-72312119fe678d14b61e3c508db98a6dd0ee4ec0.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.V5-php84
Diffstat (limited to 'templates/contact_header.tpl')
-rwxr-xr-xtemplates/contact_header.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/contact_header.tpl b/templates/contact_header.tpl
index 74db00d..bcc680a 100755
--- a/templates/contact_header.tpl
+++ b/templates/contact_header.tpl
@@ -1,14 +1,14 @@
<div class="header">
-{if $is_categorized eq 'y' and $gBitSystem->isFeatureActive('package_categories') and $gBitSystem->isFeatureActive('feature_categorypath')}
+{if $is_categorized eq 'y' && $gBitSystem->isFeatureActive('package_categories') && $gBitSystem->isFeatureActive('feature_categorypath')}
<div class="category">
<div class="path">{$display_catpath}</div>
</div> {* end category *}
{/if}
<h1>{$gContent->mInfo.xkey}&nbsp;-&nbsp;
-{* {if isset(gContent->mInfo.organisation) and (gContent->mInfo.organisation <> '') }
+{* {if isset(gContent->mInfo.organisation) && (gContent->mInfo.organisation <> '') }
{$gContent->mInfo.organisation}
- {elseif isset(gContent->mInfo.surname) and (gContent->mInfo.surname <> '') }
+ {elseif isset(gContent->mInfo.surname) && (gContent->mInfo.surname <> '') }
{$gContent->mInfo.prefix}&nbsp;
{$gContent->mInfo.forename}&nbsp;
{$gContent->mInfo.surname}