Ignore:
Timestamp:
Sep 11, 2014, 10:11:42 AM (10 years ago)
Author:
JanisV
Message:

Updated picture navigation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_responsive/template/picture_content.tpl

    r29449 r29476  
    4242{/if}
    4343
     44{if ($stripped_responsive.imageArrows) }
     45    {if isset($previous)}
     46        <a href="{$previous.U_IMG}" class="img_nav img_prev" alt="{$previous.TITLE}"><span class="img_nav_content">&nbsp;</span></a>
     47    {/if}
     48{/if}
    4449<div id="theImg" {if ($stripped_responsive.imageFrame)}class="img_frame"{/if}>
    4550        {if isset($displayHD)}
     
    4853                {if ($stripped_responsive.imagePreloadHD)}<div class="preload" style="display:none;">{$HD_url}</div>{/if}
    4954        {/if}
    50         {if ($stripped_responsive.imageArrows) }
    51                 {if isset($U_UP)}
    52                         <a href="{$U_UP}" class="img_nav cat_up" alt="{'Thumbnails'|@translate}">&nbsp;</a>
    53                 {/if}
    54                 {if isset($previous)}
    55                         <a href="{$previous.U_IMG}" class="img_nav img_prev" alt="{$previous.TITLE}">&nbsp;</a>
    56                 {/if}
    57                 {if isset($next)}
    58                         <a href="{$next.U_IMG}" class="img_nav img_next" alt="{$next.TITLE}">&nbsp;</a>
    59                 {/if}
    60         {/if}
    6155        <img src="{$derivative->get_url()}" {$derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" class="hideTabs">
    6256</div>
     57{if ($stripped_responsive.imageArrows) }
     58    {if isset($next)}
     59        <a href="{$next.U_IMG}" class="img_nav img_next" alt="{$next.TITLE}"><span class="img_nav_content">&nbsp;</span></a>
     60    {/if}
     61{/if}
Note: See TracChangeset for help on using the changeset viewer.