To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Changeset 4483

Show
Ignore:
Timestamp:
01/19/12 15:08:37 (4 months ago)
Author:
johnnyoffline
Message:

presumptuous default setting in slideshow for transitions removed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostrophePlugin/branches/1.5/lib/action/BaseaSlideshowSlotComponents.class.php

    r4458 r4483  
    2424    $this->setupOptions(); 
    2525    $this->getLinkedItems(); 
    26      
     26 
    2727    if ($this->options['uncropped']) 
    2828    { 
     
    3535      $this->items = $newItems; 
    3636    } 
    37      
     37 
    3838    if ($this->options['random'] && count($this->items)) 
    3939    { 
     
    7171    $this->options['interval'] = $this->getOption('interval', 0) + 0; 
    7272    $this->options['arrows'] = $this->getOption('arrows', true); 
    73     $this->options['transition'] = ($this->options['height']) ? $this->getOption('transition', 'normal') : 'normal-forced'; 
     73    $this->options['transition'] = $this->getOption('transition','normal'); 
    7474    $this->options['duration'] = $this->getOption('duration', 300) + 0; 
    7575    $this->options['position'] = $this->getOption('position', false); 
     
    8080    // alternative rendering of a slideshow where custom crops are normally welcome 
    8181    $this->options['uncropped'] = $this->getOption('uncropped', false); 
    82      
     82 
    8383    // We automatically set up the aspect ratio if the resizeType is set to 'c' 
    8484    $constraints = $this->getOption('constraints', array()); 
     
    9090    $this->options['constraints'] = $constraints; 
    9191 
    92     // idSuffix works with the Blog Slot slideshows  
     92    // idSuffix works with the Blog Slot slideshows 
    9393    // Creates unique ids for the same slideshows if they show up in separate slots on a single page. 
    94     $this->options['idSuffix'] = $this->getOption('idSuffix', false);  
     94    $this->options['idSuffix'] = $this->getOption('idSuffix', false); 
    9595  } 
    9696