Ignore:
Timestamp:
Feb 4, 2014, 10:23:58 AM (10 years ago)
Author:
JanisV
Message:

Added navigation
Added translation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Fotorama/template/slideshow.tpl

    r27148 r27155  
    1818        <div id="content">
    1919        <div id="theImage">
    20       <div class="fotorama" data-startindex="{$current_rank}" data-ratio="16/9" data-fit="{$Fotorama['fit']}" data-auto="false"
    21         data-width="100%" data-maxheight="100%" data-minheight="200" data-height="{$item_height}" data-shadows="{$Fotorama['shadows']}"
    22         data-allowfullscreen="{$Fotorama['allowfullscreen']}" data-autoplay="{if $Fotorama['autoplay']}true{else}false{/if}" data-transition="{$Fotorama['transition']}"
    23         data-stopautoplayontouch="{$Fotorama['stopautoplayontouch']}" data-loop="{$Fotorama['stopautoplayontouch']}" data-nav=false>
     20      <div class="fotorama" data-startindex="{$current_rank}" data-ratio="16/9" data-auto="false"
     21        data-width="100%" data-maxheight="100%" data-minheight="200" data-height="{$item_height}"
     22        data-shadows="{$Fotorama['shadows']}" data-nav="{$Fotorama['nav']}" data-fit="{$Fotorama['fit']}"
     23        data-allowfullscreen="{$Fotorama['allowfullscreen']}" data-autoplay="{if $Fotorama['autoplay']}true{else}false{/if}"
     24        data-transition="{$Fotorama['transition']}" data-stopautoplayontouch="{$Fotorama['stopautoplayontouch']}"
     25        data-loop="{$Fotorama['stopautoplayontouch']}">
    2426      {foreach from=$items item=thumbnail}
    25         <a href="{$thumbnail['derivative']->get_url()}" data-full="{$thumbnail['derivative_big']->get_url()}" data-url="{$thumbnail['url']}" data-title="{$thumbnail['TITLE']}"></a>
     27        <a href="{$thumbnail['derivative']->get_url()}"
     28          data-full="{$thumbnail['derivative_big']->get_url()}" data-url="{$thumbnail['url']}" data-title="{$thumbnail['TITLE']}">
     29          {if $Fotorama['nav'] == 'thumbs'}<img src="{$thumbnail['derivative_thumb']->get_url()}">{/if}
     30        </a>
    2631      {/foreach}
    2732      </div>
Note: See TracChangeset for help on using the changeset viewer.