aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2011-08-09 14:21:33 +0000
committerflop25 <flop25@piwigo.org>2011-08-09 14:21:33 +0000
commit803d50f534e370844d4d83ed731210600d1eefdc (patch)
tree9bdf827370392b7e85b048362acf2b16d503e1bd /themes
parent3ed5fad6ff8ab26c52ac13353339d9d19e2ad954 (diff)
feature:2390
All the legend is hidden if $conf['show_thumbnail_caption'] = false; git-svn-id: http://piwigo.org/svn/trunk@11924 68402e56-0260-453c-a942-63ccdbb3a9ee
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}