… too late for today…
var/www/vhosts/osweed.io/httpdocs/market/packages/touch_gallery/blocks/touch_gallery/controller.php
$style .= "#tg-galleryOverlay" . $this->buID . "{";
$style .= "background-color:" . $this->overlayBgColor . ";}";
if ($this->controlsBgColorRest) {
$style .= "#tg-galleryOverlay" . $this->buID . " .tg-has-icons{";
$style .= "background-color:" . $this->controlsBgColorRest . ";}";
}
if ($this->controlsBgColor) {
$style .= "#tg-galleryOverlay" . $this->buID . " .tg-has-icons:hover{";
$style .= "background-color:" . $this->controlsBgColor . ";}";
}
$style .= "</style>";
return $style;
}
public function addInlineJs()
{
if (empty($this->fileSetName)) {
$this->fileSetName = htmlentities($fs->getFileSetName(), ENT_QUOTES, APP_CHARSET);
$this->set('fileSetName', $this->fileSetName);
}
$this->showDesc = empty($this->showDesc) ? 0 : 1;
$this->showClose = empty($this->showClose) ? 0 : 1;
$this->hideControls = empty($this->hideControls) ? 0 : 1;
$this->hideDelay = empty($this->hideDelay) ? '' : $this->hideDelay;
$this->loopSlides = empty($this->loopSlides) ? 0 : 1;
$this->hideArrowsEdge = empty($this->hideArrowsEdge) ? 0 : 1;
$js = "<script type='text/javascript'>";
$js .= "$(document).ready(function() {";
$js .= "$('#touchgallery-thumbs" . $this->buID . " a').touchGallery({";
$js .= "bid: " . $this->buID . ",";
$js .= "picClick: '" . $this->picClick . "',";
$js .= "showCaptions: " . $this->showDesc . ",";
$js .= "hideControls: " . $this->hideControls . ",";
$js .= "showClose: " . $this->showClose . ",";
$js .= "loopSlides: " . $this->loopSlides . ",";
$js .= "hideArrowsEdge: " . $this->hideArrowsEdge . ",";
Arguments
- “Call to a member function getFileSetName() on null”