Changeset 14974
- Timestamp:
- May 14, 2012, 9:22:23 PM (12 years ago)
- Location:
- extensions/floOS/OS_default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/OS_default/template/picture_nav_buttons.tpl
r14652 r14974 21 21 {if isset($next) } 22 22 <a class="navThumb" id="thumbNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next"> 23 {if strpos('2.4',$PHPWG_VERSION)} 23 {assign var=Pwg_VERSION value=strpos('2.4',$PHPWG_VERSION) } 24 {if isset($Pwg_VERSION) and $Pwg_VERSION!==false } 24 25 <img src="{$next.derivatives.square->get_url()}" class="thumbLink" id="linkNext" alt="{$next.TITLE}"> 25 26 {else} … … 28 29 </a> 29 30 {/if} 30 {if strpos('2.4',$PHPWG_VERSION)}31 {if isset($Pwg_VERSION) and $Pwg_VERSION!==false } 31 32 <img src="{$current.derivatives.square->get_url()}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}"> 32 33 {else} … … 35 36 {if isset($previous) } 36 37 <a class="navThumb" id="thumbPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev"> 37 {if strpos('2.4',$PHPWG_VERSION)}38 {if isset($Pwg_VERSION) and $Pwg_VERSION!==false } 38 39 <img src="{$previous.derivatives.square->get_url()}" class="thumbLink" id="linkPrev" alt="{$previous.TITLE}"> 39 40 {else} -
extensions/floOS/OS_default/themeconf.inc.php
r14652 r14974 18 18 'Exclude' => array('theNBMPage','thePicturePage','thePopuphelpPage',), # Excluded pages 19 19 ); 20 21 22 23 add_event_handler('loc_begin_picture', 'pwg_v'); 24 function pwg_v() { 25 global $template; 26 $template->assign( 27 array( 28 'PHPWG_VERSION' => PHPWG_VERSION, 29 )); 30 } 20 31 /*********************************menu on every pages ************************************/ 21 32 // thx to Vdigital and his plugin spreadmenus
Note: See TracChangeset
for help on using the changeset viewer.