'', 'slider_height' => 300, 'slider_navigation' => FALSE, 'slider_indicator' => FALSE, 'slider_interval' => 0, ]; $slider_options = \defender::unserialize($colData['page_options']); if (!empty($slider_options)) { $slider_options += $default_slider_options; } else { $slider_options = $default_slider_options; } if (empty($slider_options['slider_id'])) { $slider_options['slider_id'] = $colData['page_grid_id']."-".$colData['page_content_id']."-carousel"; } self::$sliderOptions = $slider_options; return self::display_carousel(); } else { return fusion_get_locale('SLDW_0404', WIDGETS."slider/locale".LANGUAGE.".php"); } } /** * Copies bootstrap 3 carousel HTML markup with PHP Implementations */ public static function display_carousel() { $slides_count = count(self::$sliderData); ob_start(); ?>
\n"; $html .= eval($description); $html .= "\n"; return (string)$html; } return (string)nl2br(parse_textarea($description)); } }