1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,36 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-/** |
|
4 |
- * Slick slider for Contao |
|
5 |
- * |
|
6 |
- * Copyright (c) 2016 Benjamin Roth |
|
7 |
- * |
|
8 |
- * @license LGPL-3.0+ |
|
9 |
- */ |
|
10 |
- |
|
11 |
- |
|
12 |
-/** |
|
13 |
- * Asset version |
|
14 |
- */ |
|
15 |
-$GLOBALS['TL_ASSETS']['SWIPERJS'] = '6.5.0'; |
|
16 |
- |
|
17 |
-/** |
|
18 |
- * Content elements |
|
19 |
- */ |
|
20 |
-$GLOBALS['TL_CTE']['swiperSlider'] = array |
|
21 |
-( |
|
22 |
- 'swiperSliderStart' => 'ContentSwiperSliderStart', |
|
23 |
- 'swiperSliderStop' => 'ContentSwiperSliderStop', |
|
24 |
- 'swiperSliderSlideStart'=> 'ContentSwiperSliderSlideStart', |
|
25 |
- 'swiperSliderSlideStop' => 'ContentSwiperSliderSlideStop', |
|
26 |
- 'swiperSliderImage' => 'ContentSwiperSliderImage' |
|
27 |
-); |
|
28 |
- |
|
29 |
-/** |
|
30 |
- * Wrapper elements |
|
31 |
- */ |
|
32 |
- |
|
33 |
-$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderStart'; |
|
34 |
-$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderStop'; |
|
35 |
-$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderSlideStart'; |
|
36 |
-$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderSlideStop'; |
... | ... |
@@ -33,4 +33,4 @@ $GLOBALS['TL_CTE']['swiperSlider'] = array |
33 | 33 |
$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderStart'; |
34 | 34 |
$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderStop'; |
35 | 35 |
$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderSlideStart'; |
36 |
-$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderImage'; |
|
36 |
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderSlideStop'; |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,36 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+/** |
|
4 |
+ * Slick slider for Contao |
|
5 |
+ * |
|
6 |
+ * Copyright (c) 2016 Benjamin Roth |
|
7 |
+ * |
|
8 |
+ * @license LGPL-3.0+ |
|
9 |
+ */ |
|
10 |
+ |
|
11 |
+ |
|
12 |
+/** |
|
13 |
+ * Asset version |
|
14 |
+ */ |
|
15 |
+$GLOBALS['TL_ASSETS']['SWIPERJS'] = '5.4.0'; |
|
16 |
+ |
|
17 |
+/** |
|
18 |
+ * Content elements |
|
19 |
+ */ |
|
20 |
+$GLOBALS['TL_CTE']['swiperSlider'] = array |
|
21 |
+( |
|
22 |
+ 'swiperSliderStart' => 'ContentSwiperSliderStart', |
|
23 |
+ 'swiperSliderStop' => 'ContentSwiperSliderStop', |
|
24 |
+ 'swiperSliderSlideStart'=> 'ContentSwiperSliderSlideStart', |
|
25 |
+ 'swiperSliderSlideStop' => 'ContentSwiperSliderSlideStop', |
|
26 |
+ 'swiperSliderImage' => 'ContentSwiperSliderImage' |
|
27 |
+); |
|
28 |
+ |
|
29 |
+/** |
|
30 |
+ * Wrapper elements |
|
31 |
+ */ |
|
32 |
+ |
|
33 |
+$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderStart'; |
|
34 |
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderStop'; |
|
35 |
+$GLOBALS['TL_WRAPPERS']['start'][] = 'swiperSliderSlideStart'; |
|
36 |
+$GLOBALS['TL_WRAPPERS']['stop'][] = 'swiperSliderImage'; |