Changeset 11918


Ignore:
Timestamp:
Aug 6, 2011, 3:38:09 PM (13 years 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()

File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.