$settingsSlideOutput->init($settingsSlide); //Set various parameters needed for the page $width = $sliderParams["width"]; $height = $sliderParams["height"]; $imageUrl = $slide->getImageUrl(); $imageID = $slide->getImageID(); $imageFilename = $slide->getImageFilename(); $urlCaptionsCSS = GlobalsBannerRotator::$urlCaptionsCSS; $style = "width:{$width}px;height:{$height}px;"; //Set iframe parameters $iframeWidth = $width + 60; $iframeHeight = $height + 50; $iframeStyle = "width:{$iframeWidth}px;height:{$iframeHeight}px;"; $closeUrl = self::getViewUrl(BannerRotatorAdmin::VIEW_SLIDES, "id=" . $sliderID); $jsonLayers = UniteFunctionsBanner::jsonEncodeForClientSide($arrLayers); $jsonCaptions = UniteFunctionsBanner::jsonEncodeForClientSide($arrCaptionClasses); $loadGoogleFont = $slider->getParam("loadGoogleFont", "false"); //Bg type params $bgType = UniteFunctionsBanner::getVal($slideParams, "background_type", "image"); $slideBGColor = UniteFunctionsBanner::getVal($slideParams, "slide_bg_color", "#E7E7E7"); $divLayersClass = "slide_layers"; $bgSolidPickerProps = 'class="inputColorPicker slide_bg_color disabled" disabled="disabled"'; switch ($bgType) { case "trans": $divLayersClass = "slide_layers trans_bg"; break; case "solid": $style .= "background-color:{$slideBGColor};"; $bgSolidPickerProps = 'class="inputColorPicker slide_bg_color" style="background-color:' . $slideBGColor . '"'; break; case "image":