To participate you must create an account on apostrophenow.org. If you have already done so, click Login.
Changeset 4483
- Timestamp:
- 01/19/12 15:08:37 (4 months ago)
- Author:
- johnnyoffline
- Message:
-
presumptuous default setting in slideshow for transitions removed
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r4458
|
r4483
|
|
| 24 | 24 | $this->setupOptions(); |
| 25 | 25 | $this->getLinkedItems(); |
| 26 | | |
| | 26 | |
| 27 | 27 | if ($this->options['uncropped']) |
| 28 | 28 | { |
| … |
… |
|
| 35 | 35 | $this->items = $newItems; |
| 36 | 36 | } |
| 37 | | |
| | 37 | |
| 38 | 38 | if ($this->options['random'] && count($this->items)) |
| 39 | 39 | { |
| … |
… |
|
| 71 | 71 | $this->options['interval'] = $this->getOption('interval', 0) + 0; |
| 72 | 72 | $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'); |
| 74 | 74 | $this->options['duration'] = $this->getOption('duration', 300) + 0; |
| 75 | 75 | $this->options['position'] = $this->getOption('position', false); |
| … |
… |
|
| 80 | 80 | // alternative rendering of a slideshow where custom crops are normally welcome |
| 81 | 81 | $this->options['uncropped'] = $this->getOption('uncropped', false); |
| 82 | | |
| | 82 | |
| 83 | 83 | // We automatically set up the aspect ratio if the resizeType is set to 'c' |
| 84 | 84 | $constraints = $this->getOption('constraints', array()); |
| … |
… |
|
| 90 | 90 | $this->options['constraints'] = $constraints; |
| 91 | 91 | |
| 92 | | // idSuffix works with the Blog Slot slideshows |
| | 92 | // idSuffix works with the Blog Slot slideshows |
| 93 | 93 | // 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); |
| 95 | 95 | } |
| 96 | 96 | |
Download in other formats: