Changeset 26188


Ignore:
Timestamp:
12/25/13 18:22:26 (6 years ago)
Author:
mistic100
Message:

Smarty 2 does not understand intval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/template/slider.tpl

    r26187 r26188  
    5454    animSpeed: {$SLIDER.speed}*1000/6, 
    5555    effect: '{$SLIDER.effect}', 
    56     directionNav: {intval($SLIDER.arrows)}, 
    57     controlNav: {intval($SLIDER.control)}, 
    58     controlNavThumbs: {intval($SLIDER.control_thumbs)}, 
     56    directionNav: {if $SLIDER.arrows}true{else}false{/if},{*intval($SLIDER.arrows)*} 
     57    controlNav: {if $SLIDER.control}true{else}false{/if},{*intval($SLIDER.control)*} 
     58    controlNavThumbs: {if $SLIDER.control_thumbs}true{else}false{/if},{*intval($SLIDER.control_thumbs)*} 
    5959    beforeChange: function() {ldelim} 
    6060      if ($slider.data('nivo:vars').currentImage.attr('src') == "") {ldelim} 
Note: See TracChangeset for help on using the changeset viewer.