diff options
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} |
