Changeset 27155 for extensions/Fotorama/template
- Timestamp:
- Feb 4, 2014, 10:23:58 AM (10 years ago)
- Location:
- extensions/Fotorama/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/template/admin.tpl
r27148 r27155 10 10 <li> 11 11 <label for="allowfullscreen"> 12 <b>{' allowfullscreen'|@translate}</b>12 <b>{'Allows fullscreen'|@translate}</b> 13 13 </label> 14 14 <select class="categoryDropDown" id="allowfullscreen" name="allowfullscreen"> … … 20 20 <li> 21 21 <label for="fit"> 22 <b>{' fit'|@translate}</b>22 <b>{'How to fit an image'|@translate}</b> 23 23 </label> 24 24 <select class="categoryDropDown" id="fit" name="fit"> … … 31 31 <li> 32 32 <label for="transition"> 33 <b>{' transition'|@translate}</b>33 <b>{'What transition to use'|@translate}</b> 34 34 </label> 35 35 <select class="categoryDropDown" id="transition" name="transition"> … … 40 40 </li> 41 41 <li> 42 <label for="nav"> 43 <b>{'Navigation style'|@translate}</b> 44 </label> 45 <select class="categoryDropDown" id="nav" name="nav"> 46 <option value="false"{if $Fotorama.nav == 'false'} selected{/if}>{'false'|@translate}</option> 47 <option value="dots"{if $Fotorama.nav == 'dots'} selected{/if}>{'dots'|@translate}</option> 48 <option value="thumbs"{if $Fotorama.nav == 'thumbs'} selected{/if}>{'thumbs'|@translate}</option> 49 </select> 50 </li> 51 <li> 42 52 <input type="checkbox" id="shadows" name="shadows"{if $Fotorama.shadows} checked="checked"{/if}> 43 53 <label for="shadows"> 44 <b>{' shadows'|@translate}</b>54 <b>{'Enables shadows'|@translate}</b> 45 55 </label> 46 56 </li> … … 48 58 <input type="checkbox" id="autoplay" name="autoplay"{if $Fotorama.autoplay} checked="checked"{/if}> 49 59 <label for="autoplay"> 50 <b>{' autoplay'|@translate}</b>60 <b>{'Enables autoplay'|@translate}</b> 51 61 </label> 52 62 </li> … … 54 64 <input type="checkbox" id="stopautoplayontouch" name="stopautoplayontouch"{if $Fotorama.stopautoplayontouch} checked="checked"{/if}> 55 65 <label for="stopautoplayontouch"> 56 <b>{' stopautoplayontouch'|@translate}</b>66 <b>{'Stops slideshow at any user action with the fotorama'|@translate}</b> 57 67 </label> 58 68 </li> … … 60 70 <input type="checkbox" id="loop" name="loop"{if $Fotorama.loop} checked="checked"{/if}> 61 71 <label for="loop"> 62 <b>{' loop'|@translate}</b>72 <b>{'Enables loop'|@translate}</b> 63 73 </label> 64 74 </li> -
extensions/Fotorama/template/slideshow.tpl
r27148 r27155 18 18 <div id="content"> 19 19 <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']}"> 24 26 {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> 26 31 {/foreach} 27 32 </div>
Note: See TracChangeset
for help on using the changeset viewer.