Ignore:
Timestamp:
May 2, 2012, 9:48:27 PM (12 years ago)
Author:
flop25
Message:

changes for compatibility 2.3 and 2.4 in tpl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/floOS/OS_default/template/picture_nav_buttons.tpl

    r14391 r14652  
    2121{if isset($next) }
    2222<a class="navThumb" id="thumbNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
     23  {if strpos('2.4',$PHPWG_VERSION)}
    2324  <img src="{$next.derivatives.square->get_url()}" class="thumbLink" id="linkNext" alt="{$next.TITLE}">
     25  {else}
     26  <img src="{$next.THUMB_SRC}" class="thumbLink" id="linkNext" alt="{$next.TITLE}">
     27  {/if}
    2428</a>
    2529{/if}
     30  {if strpos('2.4',$PHPWG_VERSION)}
    2631        <img src="{$current.derivatives.square->get_url()}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}">
     32  {else}
     33        <img src="{$current.THUMB_SRC}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}">
     34  {/if}
    2735{if isset($previous) }
    2836<a class="navThumb" id="thumbPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
     37  {if strpos('2.4',$PHPWG_VERSION)}
    2938  <img src="{$previous.derivatives.square->get_url()}" class="thumbLink" id="linkPrev" alt="{$previous.TITLE}">
     39  {else}
     40  <img src="{$previous.THUMB_SRC}" class="thumbLink" id="linkPrev" alt="{$previous.TITLE}">
     41  {/if}
    3042</a>
    3143{/if}
Note: See TracChangeset for help on using the changeset viewer.