Skip to content

Commit

Permalink
bug:1729
Browse files Browse the repository at this point in the history
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
  • Loading branch information
flop25 committed Aug 6, 2011
1 parent 79f9cdf commit 3ed5fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/default/template/thumbnails.tpl
Expand Up @@ -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">
Expand Down

0 comments on commit 3ed5fad

Please sign in to comment.