Changeset 11918

Show
Ignore:
Timestamp:
08/06/11 15:38:09 (22 months ago)
Author:
flop25
Message:

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 $confshow_thumbnail_caption is false, the old title will be set : maybe it should be better to remove get_thumbnail_title()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/thumbnails.tpl

    r8469 r11918  
    55                <span class="wrap2"> 
    66                <a href="{$thumbnail.URL}"> 
    7                         <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}"> 
     7                        <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|@replace:'"':' '}{else}{$thumbnail.TN_TITLE}{/if}"> 
    88                </a> 
    99                </span>