diff --git a/htdocs/themes/xswatch4/modules/wggallery/blocks/wggallery_block_albums_default.tpl b/htdocs/themes/xswatch4/modules/wggallery/blocks/wggallery_block_albums_default.tpl index dccde9dc5..e0488d794 100644 --- a/htdocs/themes/xswatch4/modules/wggallery/blocks/wggallery_block_albums_default.tpl +++ b/htdocs/themes/xswatch4/modules/wggallery/blocks/wggallery_block_albums_default.tpl @@ -170,10 +170,10 @@ <{/if}> <{/if}> - <{if $album.linebreak}> + <{if $album.linebreak|default:false}>
<{$image.title}> - <{if $image.desc}><{$image.desc}><{/if}> + <{if $image.desc|default:''}><{$image.desc}><{/if}>
<{$image.size}> kb
<{$image.resx}>px / <{$image.resy}>px
@@ -33,10 +33,10 @@ <{if $use_categories && $image.cats_list}><{$image.cats_list}>
<{/if}> - <{if $use_tags && $image.tags}> + <{if $use_tags|default:false && $image.tags|default:false}> <{/if}> - <{if $image.com_show}> + <{if $image.com_show|default:false}><{$image.com_count_text}>
<{/if}> <{if isset($rating) && $rating > 0}> @@ -113,7 +113,7 @@<{$image.title}>
- <{if $image.desc}> + <{if $image.desc|default:''}><{$image.desc}>
<{/if}><{$smarty.const._CO_WGGALLERY_IMAGE_MANAGE_DESC}>
@@ -37,7 +37,7 @@ <{/foreach}> - <{else if $showlist}> + <{elseif $showlist}><{$image.title}>
- <{if $image.desc}> + <{if $image.desc|default:''}><{$image.desc}>
<{/if}><{$image.size}> kb
@@ -49,7 +49,7 @@ <{if $use_categories && $image.cats_list}><{$image.cats_list}>
<{/if}> - <{if $use_tags && $image.tags}> + <{if $use_tags|default:false && $image.tags|default:false}> <{/if}> <{if isset($rating) && $rating > 0}> @@ -69,7 +69,7 @@ <{if $image.exif}><{else}><{/if}> <{/if}> - <{if $image.com_show}> + <{if $image.com_show|default:false}><{$image.com_count_text}>
<{/if}>