Browse code

Initial commit

Benjamin Roth authored on16/03/2023 20:22:35
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,533 @@
1
+<?php
2
+// rsce_my_element_config.php
3
+return array(
4
+    'label' => array('Custom | Boxen-Grid, 2-Spaltig (Bild+Text) mit Icons, Bild, Text und Verlinkung', ''),
5
+    'types' => array('content'),
6
+    'contentCategory' => 'texts',
7
+    'moduleCategory' => 'miscellaneous',
8
+    'standardFields' => array('headline', 'cssID'),
9
+    'wrapper' => array(
10
+        'type' => 'none',
11
+    ),
12
+    'fields' => array(
13
+        'topline' => array(
14
+            'label' => array('Topline', 'Text oberhalb der Überschrift'),
15
+            'inputType' => 'text',
16
+        ), 'subline' => array(
17
+            'label' => array('Subline', 'Text unterhalb der Überschrift'),
18
+            'inputType' => 'text',
19
+        ),
20
+        'animation_type' => array(
21
+            'label' => array(
22
+                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
23
+            ),
24
+            'inputType' => 'select',
25
+            'options' => array(
26
+                /* Fading entrances  */
27
+                'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
28
+                'no-animation' => 'Keine Animation',
29
+                'animate__fadeIn' => 'fadeIn',
30
+                'animate__fadeInDown' => 'fadeInDown',
31
+                'animate__fadeInDownBig' => 'fadeInDownBig',
32
+                'animate__fadeInLeft' => 'fadeInLeft',
33
+                'animate__fadeInLeftBig' => 'fadeInLeftBig',
34
+                'animate__fadeInRight' => 'fadeInRight',
35
+                'animate__fadeInRightBig' => 'fadeInRightBig',
36
+                'animate__fadeInUpBig' => 'fadeInUpBig',
37
+                'animate__fadeInTopLeft' => 'fadeInTopLeft',
38
+                'animate__fadeInTopRight' => 'fadeInTopRight',
39
+                'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
40
+                'animate__fadeInBottomRight' => 'fadeInBottomRight',
41
+                /* Attention seekers  */
42
+                'animate__bounce' => 'bounce',
43
+                'animate__flash' => 'flash',
44
+                'animate__pulse' => 'pulse',
45
+                'animate__rubberBand' => 'rubberBand',
46
+                'animate__shakeX' => 'shakeX',
47
+                'animate__shakeY' => 'shakeY',
48
+                'animate__headShake' => 'headShake',
49
+                'animate__swing' => 'swing',
50
+                'animate__tada' => 'tada',
51
+                'animate__wobble' => 'wobble',
52
+                'animate__jello' => 'jello',
53
+                'animate__heartBeat' => 'heartBeat',
54
+                /* Back entrances */
55
+                'animate__backInDown' => 'backInDown',
56
+                'animate__backInLeft' => 'backInLeft',
57
+                'animate__backInRight' => 'backInRight',
58
+                'animate__backInUp' => 'backInUp',
59
+                /* Back exits */
60
+                'animate__backOutDown' => 'backOutDown',
61
+                'animate__backOutLeft' => 'backOutLeft',
62
+                'animate__backOutRight' => 'backOutRight',
63
+                'animate__backOutUp' => 'backOutUp',
64
+                /* Bouncing entrances  */
65
+                'animate__bounceIn' => 'bounceIn',
66
+                'animate__bounceInDown' => 'bounceInDown',
67
+                'animate__bounceInLeft' => 'bounceInLeft',
68
+                'animate__bounceInRight' => 'bounceInRight',
69
+                'animate__bounceInUp' => 'bounceInUp',
70
+                /* Bouncing exits  */
71
+                'animate__bounceOut' => 'bounceOut',
72
+                'animate__bounceOutDown' => 'bounceOutDown',
73
+                'animate__bounceOutLeft' => 'bounceOutLeft',
74
+                'animate__bounceOutRight' => 'bounceOutRight',
75
+                'animate__bounceOutUp' => 'bounceOutUp',
76
+                /* Fading exits */
77
+                'animate__fadeOut' => 'fadeOut',
78
+                'animate__fadeOutDown' => 'fadeOutDown',
79
+                'animate__fadeOutDownBig' => 'fadeOutDownBig',
80
+                'animate__fadeOutLeft' => 'fadeOutLeft',
81
+                'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
82
+                'animate__fadeOutRight' => 'fadeOutRight',
83
+                'animate__fadeOutRightBig' => 'fadeOutRightBig',
84
+                'animate__fadeOutUp' => 'fadeOutUp',
85
+                'animate__fadeOutUpBig' => 'fadeOutUpBig',
86
+                'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
87
+                'animate__fadeOutTopRight' => 'fadeOutTopRight',
88
+                'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
89
+                'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
90
+                /* Flippers */
91
+                'animate__flip' => 'flip',
92
+                'animate__flipInX' => 'flipInX',
93
+                'animate__flipInY' => 'flipInY',
94
+                'animate__flipOutX' => 'flipOutX',
95
+                'animate__flipOutY' => 'flipOutY',
96
+                /* Lightspeed */
97
+                'animate__lightSpeedInRight' => 'lightSpeedInRight',
98
+                'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
99
+                'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
100
+                'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
101
+                /* Rotating entrances */
102
+                'animate__rotateIn' => 'rotateIn',
103
+                'animate__rotateInDownLeft' => 'rotateInDownLeft',
104
+                'animate__rotateInDownRight' => 'rotateInDownRight',
105
+                'animate__rotateInUpLeft' => 'rotateInUpLeft',
106
+                'animate__rotateInUpRight' => 'rotateInUpRight',
107
+                /* Rotating exits */
108
+                'animate__rotateOut' => 'rotateOut',
109
+                'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
110
+                'animate__rotateOutDownRight' => 'rotateOutDownRight',
111
+                'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
112
+                'animate__rotateOutUpRight' => 'rotateOutUpRight',
113
+                /* Specials */
114
+                'animate__hinge' => 'hinge',
115
+                'animate__jackInTheBox' => 'jackInTheBox',
116
+                'animate__rollIn' => 'rollIn',
117
+                'animate__rollOut' => 'rollOut',
118
+                /* Zooming entrances */
119
+                'animate__zoomIn' => 'zoomIn',
120
+                'animate__zoomInDown' => 'zoomInDown',
121
+                'animate__zoomInLeft' => 'zoomInLeft',
122
+                'animate__zoomInRight' => 'zoomInRight',
123
+                'animate__zoomInUp' => 'zoomInUp',
124
+                /* Zooming exits */
125
+                'animate__zoomOut' => 'zoomOut',
126
+                'animate__zoomOutDown' => 'zoomOutDown',
127
+                'animate__zoomOutLeft' => 'zoomOutLeft',
128
+                'animate__zoomOutRight' => 'zoomOutRight',
129
+                'animate__zoomOutUp' => 'zoomOutUp',
130
+                /* Sliding entrances */
131
+                'animate__slideInDown' => 'slideInDown',
132
+                'animate__slideInLeft' => 'slideInLeft',
133
+                'animate__slideInRight' => 'slideInRight',
134
+                'animate__slideInUp' => 'slideInUp',
135
+                /* Sliding exits */
136
+                'animate__slideOutDown' => 'slideOutDown',
137
+                'animate__slideOutLeft' => 'slideOutLeft',
138
+                'animate__slideOutRight' => 'slideOutRight',
139
+                'animate__slideOutUp' => 'slideOutUp',
140
+            ),
141
+            'eval' => array('chosen' => 'true')
142
+        ),
143
+
144
+
145
+        'fullwidth' => array(
146
+            'label' => array('Element nimmt volle Bildschirmbreite ein', ''),
147
+            'inputType' => 'checkbox',
148
+            'eval' => array('tl_class' => 'clr'),
149
+        ),
150
+
151
+        'no_gutter' => array(
152
+            'label' => array('Kein Spaltenabstand', ''),
153
+            'inputType' => 'checkbox',
154
+            'eval' => array('tl_class' => 'clr'),
155
+        ),
156
+
157
+
158
+        'boxes' => array(
159
+            'label' => array('Boxen', ''),
160
+            'elementLabel' => '%s. Box',
161
+            'inputType' => 'list',
162
+            'minItems' => 1,
163
+            'maxItems' => 999,
164
+            'fields' => array(
165
+
166
+                'settings_1' => array(
167
+                    'label' => array('Einstellungen', ''),
168
+                    'inputType' => 'group',
169
+                ),
170
+
171
+                'animation_type' => array(
172
+                    'label' => array(
173
+                        'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
174
+                    ),
175
+                    'inputType' => 'select',
176
+                    'options' => array(
177
+                        /* Fading entrances  */
178
+                        'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
179
+                        'no-animation' => 'Keine Animation',
180
+                        'animate__fadeIn' => 'fadeIn',
181
+                        'animate__fadeInDown' => 'fadeInDown',
182
+                        'animate__fadeInDownBig' => 'fadeInDownBig',
183
+                        'animate__fadeInLeft' => 'fadeInLeft',
184
+                        'animate__fadeInLeftBig' => 'fadeInLeftBig',
185
+                        'animate__fadeInRight' => 'fadeInRight',
186
+                        'animate__fadeInRightBig' => 'fadeInRightBig',
187
+                        'animate__fadeInUpBig' => 'fadeInUpBig',
188
+                        'animate__fadeInTopLeft' => 'fadeInTopLeft',
189
+                        'animate__fadeInTopRight' => 'fadeInTopRight',
190
+                        'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
191
+                        'animate__fadeInBottomRight' => 'fadeInBottomRight',
192
+                        /* Attention seekers  */
193
+                        'animate__bounce' => 'bounce',
194
+                        'animate__flash' => 'flash',
195
+                        'animate__pulse' => 'pulse',
196
+                        'animate__rubberBand' => 'rubberBand',
197
+                        'animate__shakeX' => 'shakeX',
198
+                        'animate__shakeY' => 'shakeY',
199
+                        'animate__headShake' => 'headShake',
200
+                        'animate__swing' => 'swing',
201
+                        'animate__tada' => 'tada',
202
+                        'animate__wobble' => 'wobble',
203
+                        'animate__jello' => 'jello',
204
+                        'animate__heartBeat' => 'heartBeat',
205
+                        /* Back entrances */
206
+                        'animate__backInDown' => 'backInDown',
207
+                        'animate__backInLeft' => 'backInLeft',
208
+                        'animate__backInRight' => 'backInRight',
209
+                        'animate__backInUp' => 'backInUp',
210
+                        /* Back exits */
211
+                        'animate__backOutDown' => 'backOutDown',
212
+                        'animate__backOutLeft' => 'backOutLeft',
213
+                        'animate__backOutRight' => 'backOutRight',
214
+                        'animate__backOutUp' => 'backOutUp',
215
+                        /* Bouncing entrances  */
216
+                        'animate__bounceIn' => 'bounceIn',
217
+                        'animate__bounceInDown' => 'bounceInDown',
218
+                        'animate__bounceInLeft' => 'bounceInLeft',
219
+                        'animate__bounceInRight' => 'bounceInRight',
220
+                        'animate__bounceInUp' => 'bounceInUp',
221
+                        /* Bouncing exits  */
222
+                        'animate__bounceOut' => 'bounceOut',
223
+                        'animate__bounceOutDown' => 'bounceOutDown',
224
+                        'animate__bounceOutLeft' => 'bounceOutLeft',
225
+                        'animate__bounceOutRight' => 'bounceOutRight',
226
+                        'animate__bounceOutUp' => 'bounceOutUp',
227
+                        /* Fading exits */
228
+                        'animate__fadeOut' => 'fadeOut',
229
+                        'animate__fadeOutDown' => 'fadeOutDown',
230
+                        'animate__fadeOutDownBig' => 'fadeOutDownBig',
231
+                        'animate__fadeOutLeft' => 'fadeOutLeft',
232
+                        'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
233
+                        'animate__fadeOutRight' => 'fadeOutRight',
234
+                        'animate__fadeOutRightBig' => 'fadeOutRightBig',
235
+                        'animate__fadeOutUp' => 'fadeOutUp',
236
+                        'animate__fadeOutUpBig' => 'fadeOutUpBig',
237
+                        'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
238
+                        'animate__fadeOutTopRight' => 'fadeOutTopRight',
239
+                        'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
240
+                        'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
241
+                        /* Flippers */
242
+                        'animate__flip' => 'flip',
243
+                        'animate__flipInX' => 'flipInX',
244
+                        'animate__flipInY' => 'flipInY',
245
+                        'animate__flipOutX' => 'flipOutX',
246
+                        'animate__flipOutY' => 'flipOutY',
247
+                        /* Lightspeed */
248
+                        'animate__lightSpeedInRight' => 'lightSpeedInRight',
249
+                        'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
250
+                        'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
251
+                        'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
252
+                        /* Rotating entrances */
253
+                        'animate__rotateIn' => 'rotateIn',
254
+                        'animate__rotateInDownLeft' => 'rotateInDownLeft',
255
+                        'animate__rotateInDownRight' => 'rotateInDownRight',
256
+                        'animate__rotateInUpLeft' => 'rotateInUpLeft',
257
+                        'animate__rotateInUpRight' => 'rotateInUpRight',
258
+                        /* Rotating exits */
259
+                        'animate__rotateOut' => 'rotateOut',
260
+                        'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
261
+                        'animate__rotateOutDownRight' => 'rotateOutDownRight',
262
+                        'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
263
+                        'animate__rotateOutUpRight' => 'rotateOutUpRight',
264
+                        /* Specials */
265
+                        'animate__hinge' => 'hinge',
266
+                        'animate__jackInTheBox' => 'jackInTheBox',
267
+                        'animate__rollIn' => 'rollIn',
268
+                        'animate__rollOut' => 'rollOut',
269
+                        /* Zooming entrances */
270
+                        'animate__zoomIn' => 'zoomIn',
271
+                        'animate__zoomInDown' => 'zoomInDown',
272
+                        'animate__zoomInLeft' => 'zoomInLeft',
273
+                        'animate__zoomInRight' => 'zoomInRight',
274
+                        'animate__zoomInUp' => 'zoomInUp',
275
+                        /* Zooming exits */
276
+                        'animate__zoomOut' => 'zoomOut',
277
+                        'animate__zoomOutDown' => 'zoomOutDown',
278
+                        'animate__zoomOutLeft' => 'zoomOutLeft',
279
+                        'animate__zoomOutRight' => 'zoomOutRight',
280
+                        'animate__zoomOutUp' => 'zoomOutUp',
281
+                        /* Sliding entrances */
282
+                        'animate__slideInDown' => 'slideInDown',
283
+                        'animate__slideInLeft' => 'slideInLeft',
284
+                        'animate__slideInRight' => 'slideInRight',
285
+                        'animate__slideInUp' => 'slideInUp',
286
+                        /* Sliding exits */
287
+                        'animate__slideOutDown' => 'slideOutDown',
288
+                        'animate__slideOutLeft' => 'slideOutLeft',
289
+                        'animate__slideOutRight' => 'slideOutRight',
290
+                        'animate__slideOutUp' => 'slideOutUp',
291
+                    ),
292
+                    'eval' => array('chosen' => 'true')
293
+                ),
294
+                'column_width' => array(
295
+                    'label' => array(
296
+                        'de' => array('Spaltenbreite', ''),
297
+                    ),
298
+                    'inputType' => 'select',
299
+                    'options' => array(
300
+                        'col-12 col-md-6 col-lg-3' => '25%',
301
+                        'col-12 col-md-6 col-lg-4' => '33%',
302
+                        'col-12 col-md-6' => '50%',
303
+                        'col-12 col-lg-8' => '66.66%',
304
+                        'col-12 col-lg-9' => '75%',
305
+                        'col-12' => 'Volle Breite',
306
+                    ),
307
+                ),
308
+
309
+
310
+                'alternate_background' => array(
311
+                    'label' => array(
312
+                        'de' => array('Hintergrundfarbe (Auswahl)', ''),
313
+                    ),
314
+                    'inputType' => 'select',
315
+                    'options' => array(
316
+                        'var(--bs-primary)' => 'Hauptfarbe',
317
+                        'var(--bs-secondary)' => 'Sekundärfarbe',
318
+                        'var(--bs-blue)' => 'Blau',
319
+                        'var(--bs-pink)' => 'Pink',
320
+                        'var(--bs-brown)' => 'Braun',
321
+                        'var(--bs-yellow)' => 'Gelb',
322
+                        'var(--bs-green)' => 'Grün',
323
+                    ),
324
+                ),
325
+
326
+                'alternate_backgroundcolor' => array(
327
+                    'label' => array('Alternative Hintergrundfarbe', 'In HEX oder rgb(a) angeben, überschreibt Farbauswahl'),
328
+                    'inputType' => 'text',
329
+                    'eval' => array('tl_class' => 'w50'),
330
+                ),
331
+
332
+                'alternate_textcolor' => array(
333
+                    'label' => array('Alternative Textfarbe', 'In HEX oder rgb(a) angeben'),
334
+                    'inputType' => 'text',
335
+                    'eval' => array('tl_class' => 'w50'),
336
+                ),
337
+
338
+
339
+                'settings_2' => array(
340
+                    'label' => array('Bild', ''),
341
+                    'inputType' => 'group',
342
+                ),
343
+
344
+
345
+                'reverse_columns' => array(
346
+                    'label' => array('Spalten tauschen', 'Inhalts (links) und Bildspalte (rechts) tauschen'),
347
+                    'inputType' => 'checkbox',
348
+                    'eval' => array('tl_class' => 'clr'),
349
+                ),
350
+
351
+                'size' => array(
352
+                    'label' => array('Bildbreite und Bildhöhe', ''),
353
+                    'inputType' => 'imageSize',
354
+                    'options' => System::getImageSizes(),
355
+                    'reference' => &$GLOBALS['TL_LANG']['MSC'],
356
+                    'eval' => array(
357
+                        'rgxp' => 'digit',
358
+                        'tl_class' => 'clr',
359
+                        'includeBlankOption' => true,
360
+                    ),
361
+                ),
362
+
363
+                'image' => array(
364
+                    'label' => array('Bild für Bildspalte', ''),
365
+                    'inputType' => 'fileTree',
366
+                    'eval' => array(
367
+                        'multiple' => false,
368
+                        'fieldType' => 'radio',
369
+                        'filesOnly' => true,
370
+                        'extensions' => 'jpg,jpeg,png,svg',
371
+                    ),
372
+                ),
373
+
374
+                'image_column_width' => array(
375
+                    'label' => array(
376
+                        'de' => array('Spaltenbreite', ''),
377
+                    ),
378
+                    'inputType' => 'select',
379
+                    'options' => array(
380
+                        'col-12 col-md-6 col-lg-3' => '25%',
381
+                        'col-12 col-md-6 col-lg-4' => '33%',
382
+                        'col-12 col-md-6' => '50%',
383
+                        'col-12 col-lg-8' => '66.66%',
384
+                        'col-12 col-lg-9' => '75%',
385
+                    ),
386
+                ),
387
+
388
+                'settings_3' => array(
389
+                    'label' => array('Inhalte', ''),
390
+                    'inputType' => 'group',
391
+                ),
392
+
393
+                'textalign' => array(
394
+                    'label' => array(
395
+                        'de' => array('Text-Ausrichtung', ''),
396
+                    ),
397
+                    'inputType' => 'select',
398
+                    'options' => array(
399
+                        'text-start' => 'Linksbündig',
400
+                        'text-center' => 'Zentriert',
401
+                        'text-end' => 'Rechtsbündig',
402
+                    ),
403
+                ),
404
+
405
+
406
+                'title' => array(
407
+                    'label' => array('Überschrift', ''),
408
+                    'inputType' => 'text',
409
+                    'eval' => array('tl_class' => ''),
410
+                ),
411
+
412
+                'topline' => array(
413
+                    'label' => array('Topline', 'Text oberhalb der Überschrift'),
414
+                    'inputType' => 'text',
415
+                          'eval' => array('tl_class' => 'w50'),
416
+                ),
417
+                'subline' => array(
418
+                    'label' => array('Subline', 'Text unterhalb der Überschrift'),
419
+                    'inputType' => 'text',
420
+                                   'eval' => array('tl_class' => 'w50'),
421
+                ),
422
+
423
+                'text' => array(
424
+                    'label' => array('Teaser-Text', ''),
425
+                    'inputType' => 'textarea',
426
+                    'eval' => array('rte' => 'tinyMCE', 'tl_class' => 'clr'),
427
+                ),
428
+
429
+                'icon' => array(
430
+                    'label' => array('Icon unten links', ''),
431
+                    'inputType' => 'fileTree',
432
+                    'eval' => array(
433
+                        'multiple' => false,
434
+                        'fieldType' => 'radio',
435
+                        'filesOnly' => true,
436
+                        'extensions' => 'jpg,jpeg,png,svg',
437
+                    ),
438
+                ),
439
+
440
+
441
+                'settings_4' => array(
442
+                    'label' => array('Verlinkung', ''),
443
+                    'inputType' => 'group',
444
+                ),
445
+
446
+
447
+                'new_tab' => array(
448
+                    'label' => array('Link in neuen Tab öffnen', ''),
449
+                    'inputType' => 'checkbox',
450
+                    'eval' => array('tl_class' => 'clr'),
451
+                ),
452
+
453
+                'hide_link' => array(
454
+                    'label' => array('Link-Pfeil bzw. Button verstecken', 'Box ist klickbar'),
455
+                    'inputType' => 'checkbox',
456
+                    'eval' => array('tl_class' => 'clr'),
457
+                ),
458
+
459
+                'is_button' => array(
460
+                    'label' => array(
461
+                        'de' => array('Link ist Button', 'rein optisch'),
462
+                    ),
463
+                    'inputType' => 'checkbox',
464
+                    'eval' => array('allowHtml' => true),
465
+                ),
466
+
467
+                'link_text' => array(
468
+                    'label' => array(
469
+                        'de' => array('Beschriftung', 'Button befindet sich rechts unter dem Text'),
470
+                    ),
471
+                    'inputType' => 'text',
472
+                    'eval' => array('tl_class' => 'w50', 'allowHtml' => true),
473
+                    'dependsOn' => array(
474
+                        'field' => 'is_button',
475
+                    ),
476
+                ),
477
+
478
+
479
+                'link_type' => array(
480
+                    'label' => array(
481
+                        'de' => array('Optik des Buttons', ''),
482
+                    ),
483
+                    'inputType' => 'select',
484
+                    'options' => array(
485
+                        'btn-primary' => 'Hauptfarbe',
486
+                        'btn-outline-primary' => 'Hauptfarbe (Outline)',
487
+                        'btn-secondary' => 'Sekundär-Farbe',
488
+                        'btn-outline-secondary' => 'Sekundär-Farbe (Outline)',
489
+                        'btn-link with-arrow' => 'Link-Optik mit Pfeilen',
490
+                        'btn-outline-black' => 'Transparenter Button mit schwarzer Schrift und Rahmen', 'btn-outline-white' => 'Transparenter Button mit weißer Schrift und Rahmen',
491
+                        'btn-white' => 'Weißer Button mit schwarzer Schrift',
492
+                    ),
493
+                    'eval' => array('tl_class' => 'w50'),
494
+
495
+                    'dependsOn' => array(
496
+                        'field' => 'is_button',
497
+                    ),
498
+                ),
499
+
500
+                'link_size' => array(
501
+                    'label' => array(
502
+                        'de' => array('Größe des Buttons', ''),
503
+                    ),
504
+                    'inputType' => 'select',
505
+                    'options' => array(
506
+                        '' => 'Standard',
507
+                        'btn-sm' => 'Klein',
508
+                        'btn-lg' => 'Groß',
509
+                    ),
510
+                    'eval' => array('tl_class' => 'w50'),
511
+
512
+                    'dependsOn' => array(
513
+                        'field' => 'is_button',
514
+                    ),
515
+                ),
516
+
517
+
518
+                'link_url' => array(
519
+                    'label' => array('Verlinkung', ''),
520
+                    'inputType' => 'url',
521
+                    'eval' => array('tl_class' => 'w50'),
522
+                ),
523
+
524
+                'link_betreff' => array(
525
+                    'label' => array('Betreffzeile für "mailto:"-Buttons', '(optional, falls Link eine neue Email öffnen soll)'),
526
+                    'inputType' => 'text',
527
+                    'eval' => array('tl_class' => 'w50'),
528
+                ),
529
+
530
+            ),
531
+        ),
532
+    ),
533
+);