summaryrefslogtreecommitdiff
path: root/templates/show_contact_item.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/show_contact_item.tpl
parent8d7b90039e6459d3137bb274ccd1031b8abcbe6a (diff)
downloadcontact-5-php84.tar.gz
contact-5-php84.tar.bz2
contact-5-php84.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/show_contact_item.tpl')
-rwxr-xr-xtemplates/show_contact_item.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_contact_item.tpl b/templates/show_contact_item.tpl
index d3e68a9..524a5b8 100755
--- a/templates/show_contact_item.tpl
+++ b/templates/show_contact_item.tpl
@@ -10,7 +10,7 @@
{tr}Created by {displayname user=$contentInfo.creator_user user_id=$contentInfo.creator_user_id|default:0 real_name=$contentInfo.creator_real_name}, Last modification by {displayname user=$contentInfo.modifier_user user_id=$contentInfo.modifier_user_id real_name=$contentInfo.modifier_real_name} on {$contentInfo.last_modified|bit_short_datetime}{/tr}
</div>
- {if $comments_at_top_of_page eq 'y' and $print_page ne 'y'}
+ {if $comments_at_top_of_page eq 'y' && $print_page ne 'y'}
{include file="bitpackage:liberty/comments.tpl"}
{/if}
@@ -24,7 +24,7 @@
{include file="bitpackage:contact/page_action_bar.tpl"}
{/if}
</div>
-{if $comments_at_top_of_page ne 'y' and $print_page ne 'y'}
+{if $comments_at_top_of_page ne 'y' && $print_page ne 'y'}
{include file="bitpackage:liberty/comments.tpl"}
{/if}