Changeset 4471
- Timestamp:
- 01/13/12 17:18:05 (4 months ago)
- Location:
- plugins/apostrophePlugin/branches/1.5/lib
- Files:
-
- 2 modified
-
action/BaseaButtonSlotComponents.class.php (modified) (1 diff)
-
model/doctrine/PluginaMediaItem.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostrophePlugin/branches/1.5/lib/action/BaseaButtonSlotComponents.class.php
r4470 r4471 44 44 "height" => $this->options['flexHeight'] ? false : $this->options['height'], 45 45 "resizeType" => $this->options['resizeType'])); 46 $this->embed = $this->item->getEmbedCode($this->dimensions['width'], $this->dimensions['height'], $this->dimensions['resizeType'], $this->dimensions['format'], false );46 $this->embed = $this->item->getEmbedCode($this->dimensions['width'], $this->dimensions['height'], $this->dimensions['resizeType'], $this->dimensions['format'], false, 'opaque', false, array('alt' => strlen($this->options['title']) ? $this->options['title'] : '')); 47 47 } 48 48 } -
plugins/apostrophePlugin/branches/1.5/lib/model/doctrine/PluginaMediaItem.class.php
r4355 r4471 303 303 304 304 // Accessible alt title 305 $title = htmlentities($this->getTitle(), ENT_COMPAT, 'UTF-8'); 305 if (isset($options['alt'])) 306 { 307 $title = aHtml::entities($options['alt']); 308 } 309 else 310 { 311 $title = aHtml::entities($this->getTitle()); 312 } 306 313 if ($this->getEmbeddable()) 307 314 {

