Changeset 31313 for extensions


Ignore:
Timestamp:
Oct 9, 2015, 9:12:52 AM (9 years ago)
Author:
plg
Message:

use the standard TN_TITLE as thumbnail tooltip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/thumbnails.tpl

    r26898 r31313  
    1414                                <span class="wrap2 {if !($stripped.showThumbLegend)}wrap2full{/if}">
    1515                                        <a href="{$thumbnail.URL}"><div class="thumbframe"><div class="thumbpos">
    16                                                 <img class="thumbnail" {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$thumbnail.TN_ALT}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|@replace:'"':' '}{else}{$thumbnail.TN_TITLE}{/if}">
     16                                                <img class="thumbnail" {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
    1717                                                {if (isset($stripped.imagePreload) & isset($stripped.imagePreloadThumbs))}
    1818                                                        {assign var=preload value=$pwg->derivative($stripped.imageSize, $thumbnail.src_image)}
Note: See TracChangeset for help on using the changeset viewer.