From 08b92eb78c8a1a3b0b0c32f1e355445aa83bb721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Auswo=CC=88ger?= Date: Thu, 31 Mar 2016 15:49:24 +0200 Subject: [PATCH] Added slider type fade-in-out --- dca/tl_content.php | 9 +++++++-- dca/tl_module.php | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dca/tl_content.php b/dca/tl_content.php index 4a04919..544a483 100644 --- a/dca/tl_content.php +++ b/dca/tl_content.php @@ -68,12 +68,17 @@ 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(32) NOT NULL default 'rsts_default'", ); -// slider type (slide, side-slide or fade) +// slider type (slide, side-slide, fade or fade-in-out) $GLOBALS['TL_DCA']['tl_content']['fields']['rsts_type'] = array( 'label' => &$GLOBALS['TL_LANG']['tl_module']['rsts_type'], 'exclude' => true, 'inputType' => 'select', - 'options' => array('slide' => 'slide', 'side-slide' => 'side-slide', 'fade' => 'fade'), + 'options' => array( + 'slide' => 'slide', + 'side-slide' => 'side-slide', + 'fade' => 'fade', + 'fade-in-out' => 'fade-in-out', + ), 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''", ); diff --git a/dca/tl_module.php b/dca/tl_module.php index e868e52..5d50e4b 100644 --- a/dca/tl_module.php +++ b/dca/tl_module.php @@ -65,12 +65,17 @@ 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(32) NOT NULL default 'rsts_default'", ); -// slider type (slide, side-slide or fade) +// slider type (slide, side-slide, fade or fade-in-out) $GLOBALS['TL_DCA']['tl_module']['fields']['rsts_type'] = array( 'label' => &$GLOBALS['TL_LANG']['tl_module']['rsts_type'], 'exclude' => true, 'inputType' => 'select', - 'options' => array('slide' => 'slide', 'side-slide' => 'side-slide', 'fade' => 'fade'), + 'options' => array( + 'slide' => 'slide', + 'side-slide' => 'side-slide', + 'fade' => 'fade', + 'fade-in-out' => 'fade-in-out', + ), 'eval' => array('tl_class' => 'w50'), 'sql' => "varchar(64) NOT NULL default ''", );