Changeset 29978 for extensions/Fotorama


Ignore:
Timestamp:
Oct 10, 2014, 10:36:05 AM (10 years ago)
Author:
JanisV
Message:

Fixed using TITLE_ESC

Location:
extensions/Fotorama
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/main.inc.php

    r29977 r29978  
    207207        );
    208208
    209       $row['TITLE_ESC'] = str_replace('"', '"', render_element_name($row));
     209      $row['TITLE'] = render_element_name($row);
    210210      $picture[] = $row;
    211211    }
  • extensions/Fotorama/template/fotorama-content.tpl

    r29977 r29978  
    1919{foreach from=$items item=thumbnail}
    2020  <a href="{$thumbnail.derivative->get_url()}"
    21     data-full="{$thumbnail.derivative_big->get_url()}" data-url="{$thumbnail.url}" data-caption="{$thumbnail.TITLE_ESC}"
     21    data-full="{$thumbnail.derivative_big->get_url()}" data-url="{$thumbnail.url}" data-caption="{$thumbnail.TITLE|escape:html}"
    2222    {if $Fotorama_has_thumbs}data-thumb="{$thumbnail.derivative_thumb->get_url()}"{/if}>
    2323    {if $Fotorama_has_thumbs}
Note: See TracChangeset for help on using the changeset viewer.