diff options
| author | lsces <lester@lsces.co.uk> | 2026-03-27 16:07:50 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-03-27 16:07:50 +0000 |
| commit | 1e44fe5518cb89af983269db0e810221fca0a28d (patch) | |
| tree | 4aaf9f4b7f481603defaa3b5ac769874b4fb0292 /templates/view_image_details.tpl | |
| parent | 0bb98832b4cfa62edd5ee57185701faf1ccbd224 (diff) | |
| download | fisheye-1e44fe5518cb89af983269db0e810221fca0a28d.tar.gz fisheye-1e44fe5518cb89af983269db0e810221fca0a28d.tar.bz2 fisheye-1e44fe5518cb89af983269db0e810221fca0a28d.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.
Diffstat (limited to 'templates/view_image_details.tpl')
| -rwxr-xr-x | templates/view_image_details.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/view_image_details.tpl b/templates/view_image_details.tpl index 0c6b923..44dfb53 100755 --- a/templates/view_image_details.tpl +++ b/templates/view_image_details.tpl @@ -4,7 +4,7 @@ </div> {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo} <div class="image"> - {if $gBitSystem->isFeatureActive('fisheye_image_list_description') and $gContent->mInfo.data ne ''} + {if $gBitSystem->isFeatureActive('fisheye_image_list_description') && $gContent->mInfo.data ne ''} <p class="description">{$gContent->mInfo.parsed_data|default:''}</p> {/if} </div> @@ -12,7 +12,7 @@ {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo} -{if $gGallery and $gGallery->getPreference('allow_comments') eq 'y'} +{if $gGallery && $gGallery->getPreference('allow_comments') eq 'y'} {include file="bitpackage:liberty/comments.tpl"} {/if} |
