aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/default/template/thumbnails.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl
index 9b06f3c5c..93faaf06e 100644
--- a/themes/default/template/thumbnails.tpl
+++ b/themes/default/template/thumbnails.tpl
@@ -7,8 +7,9 @@
<img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|@replace:'"':' '}{else}{$thumbnail.TN_TITLE}{/if}">
</a>
</span>
+ {if $SHOW_THUMBNAIL_CAPTION }
<span class="thumbLegend">
- {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
+ {$thumbnail.NAME}
{if !empty($thumbnail.icon_ts)}
<img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
{/if}
@@ -26,6 +27,7 @@
</span>
{/if}
</span>
+ {/if}
</span>
</li>
{/foreach}{/strip}