aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2011-08-06 13:38:09 +0000
committerflop25 <flop25@piwigo.org>2011-08-06 13:38:09 +0000
commit3ed5fad6ff8ab26c52ac13353339d9d19e2ad954 (patch)
tree02cbaf98620fb5389816d0a097fade308318fe0d
parent79f9cdf5f426b25ea120b7ace7dccf14bf1e1672 (diff)
bug:1729
Instead of using the get_thumbnail_title() which return the "file : nb of ko", it's better to use the file name. Here if the $conf['show_thumbnail_caption'] is false, the old title will be set : maybe it should be better to remove get_thumbnail_title() git-svn-id: http://piwigo.org/svn/trunk@11918 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--themes/default/template/thumbnails.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl
index 60638ccf0..9b06f3c5c 100644
--- a/themes/default/template/thumbnails.tpl
+++ b/themes/default/template/thumbnails.tpl
@@ -4,7 +4,7 @@
<span class="wrap1">
<span class="wrap2">
<a href="{$thumbnail.URL}">
- <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
+ <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>
<span class="thumbLegend">