summaryrefslogtreecommitdiff
path: root/templates/mime/image
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mime/image')
-rwxr-xr-xtemplates/mime/image/admin.tpl4
-rwxr-xr-xtemplates/mime/image/attachment.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/mime/image/admin.tpl b/templates/mime/image/admin.tpl
index 8da6d45..ffeabcd 100755
--- a/templates/mime/image/admin.tpl
+++ b/templates/mime/image/admin.tpl
@@ -8,14 +8,14 @@
<div class="body">
{form legend="Image specific settings"}
{foreach from=$settings key=feature item=output}
- {if $feature == 'mime_image_panoramas' and $image_processor_warning}
+ {if $feature == 'mime_image_panoramas' && $image_processor_warning}
{formfeedback warning="This feature is only available when using the magickwand image processor."}
{/if}
<div class="form-group">
{formlabel label=`$output.label` for=$feature}
{forminput}
{if $output.type == 'checkbox'}
- {if $feature == 'mime_image_panoramas' and $image_processor_warning}
+ {if $feature == 'mime_image_panoramas' && $image_processor_warning}
{html_checkboxes name="$feature" values="y" labels=false id=$feature disabled="disabled"}
{else}
{html_checkboxes name="$feature" values="y" checked=$gBitSystem->getConfig($feature) labels=false id=$feature}
diff --git a/templates/mime/image/attachment.tpl b/templates/mime/image/attachment.tpl
index b9713de..96451db 100755
--- a/templates/mime/image/attachment.tpl
+++ b/templates/mime/image/attachment.tpl
@@ -1,6 +1,6 @@
{strip}
{if $attachment.thumbnail_url.panorama}
- {if $wrapper.output == 'desc' or $wrapper.output == 'description'}
+ {if $wrapper.output == 'desc' || $wrapper.output == 'description'}
{if $attachment.display_url}<a {$wrapper.href_class} href="{$wrapper.display_url|default:$attachment.display_url}">{/if}
{$wrapper.description_parsed|default:$attachment.filename}
{if $attachment.display_url}</a>{/if}