if ($this->maxWidth > 0) {
$res .= ' data-max-width="' . $this->maxWidth . '"';
}
+ if (!isset($this->popupClose)) {
+ $this->popupClose = 1;
+ }
+ $res .= ' data-popup-close="' . $this->popupClose . '"';
if ($this->tooltipBackgroundColor) {
$res .= 'data-tooltip-background="' . $this->tooltipBackgroundColor . '" ';
}
{
$this->copyExternalFile($this->alternative);
$read = ($this->read_mode) ? 'r_' : '';
- return '#/multimedia/' . $read . md5($this->alternative);
+ return '#/multimedia/' . $read . md5($this->alternative . '/' . $this->extra.'/'.$this->id);
}
public function getAdditionnalContent()