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,292 @@
1
+<?php
2
+// rsce_boxes_config.php
3
+return array(
4
+    'label' => array('Custom | Formular :: Image-Checkbox mit Headine, Text, Bild & Preis', ''),
5
+    'types' => array('form'),
6
+    'contentCategory' => 'texts',
7
+    'moduleCategory' => 'miscellaneous',
8
+    'standardFields' => array('cssID'),
9
+    'wrapper' => array(
10
+        'type' => 'none',
11
+    ),
12
+    'fields' => array(
13
+        'animation_type' => array(
14
+            'label' => array(
15
+                'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
16
+            ),
17
+            'inputType' => 'select',
18
+            'options' => array(
19
+                'options' => array(
20
+                    'no-animation' => 'Keine Animation',
21
+                    'animate__fadeInUp' => 'fade-up (Standard)',
22
+                    'animate__fade' => 'fade',
23
+                    'animate__fadeDown' => 'fade-down',
24
+                    'animate__fadeLeft' => 'fade-left',
25
+                    'animate__fadeRight' => 'fade-right',
26
+                    'animate__fadeUpRight' => 'fade-up-right',
27
+                    'animate__fadeUpLeft' => 'fade-up-left',
28
+                    'animate__fadeDownRight' => 'fade-down-right',
29
+                    'animate__fadeDownLeft' => 'fade-down-left',
30
+                    'animate__flipUp' => 'flip-up',
31
+                    'animate__flipDown' => 'flip-down',
32
+                    'animate__flipLeft' => 'flip-left',
33
+                    'animate__flipRight' => 'flip-right',
34
+                    'animate__slideUp' => 'slide-up',
35
+                    'animate__slideDown' => 'slide-down',
36
+                    'animate__slideLeft' => 'slide-left',
37
+                    'animate__slideRight' => 'slide-right',
38
+                    'animate__zoomIn' => 'zoom-in',
39
+                    'animate__zoomInUp' => 'zoom-in-up',
40
+                    'animate__zoomInDown' => 'zoom-in-down',
41
+                    'animate__zoomInLeft' => 'zoom-in-left',
42
+                    'animate__zoomInRight' => 'zoom-in-right',
43
+                    'animate__zoomOut' => 'zoom-out',
44
+                    'animate__zoomOutUp' => 'zoom-out-up',
45
+                    'animate__zoomOutDown' => 'zoom-out-down',
46
+                    'animate__zoomOutLeft' => 'zoom-out-left',
47
+                    'animate__zoomOutRight' => 'zoom-out-right'
48
+                ),
49
+            ),
50
+        ),
51
+        'headline' => array(
52
+            'label' => array('Headine', ''),
53
+            'inputType' => 'text',
54
+        ),
55
+        'headline_type' => array(
56
+            'label' => array(
57
+                'de' => array('Typ der Überschrift', ''),
58
+            ),
59
+            'inputType' => 'select',
60
+            'options' => array(
61
+                'h1' => 'H1 (Haupt-Headline für SEO, darf nur 1x vorkommen)',
62
+                'h2' => 'H2 (Sollte H1 thematisch untergeordnet sein)',
63
+                'h3' => 'H3 (Sollte H2 thematisch untergeordnet sein)',
64
+                'h4' => 'H4',
65
+                'h5' => 'H5',
66
+            ),
67
+        ),
68
+        'topline' => array(
69
+            'label' => array('Topline', 'Text oberhalb der Überschrift'),
70
+            'inputType' => 'text',
71
+        ), 'subline' => array(
72
+            'label' => array('Subline', 'Text unterhalb der Überschrift'),
73
+            'inputType' => 'text',
74
+        ),
75
+        'input_type' => array(
76
+            'label' => array(
77
+                'de' => array('Input-Typ', ''),
78
+            ),
79
+            'inputType' => 'select',
80
+            'options' => array(
81
+                'checkbox' => 'Checkbox',
82
+                'radio' => 'Radio',
83
+            ),
84
+        ),
85
+        'name' => array(
86
+            'inputType' => 'standardField',
87
+        ),
88
+        'text_right' => array(
89
+            'label' => array('Text rechts als Box neben den Listing-Elementen', ''),
90
+            'inputType' => 'text',
91
+            'eval' => array(
92
+                'allowHtml' => true,
93
+                'rte' => 'tinyMCE',
94
+                'tl_class' => 'clr'
95
+            ),
96
+        ),
97
+        'inputs' => array(
98
+            'label' => array('Inputs', ''),
99
+            'elementLabel' => '%s. Input',
100
+            'inputType' => 'list',
101
+            'minItems' => 1,
102
+            'maxItems' => 99,
103
+            'fields' => array(
104
+                'animation_type' => array(
105
+                    'label' => array(
106
+                        'de' => array('Art der Einblendeanimation', 'Siehe https://animate.style/ für Beispiele'),
107
+                    ),
108
+                    'inputType' => 'select',
109
+                    'options' => array(
110
+                        /* Fading entrances  */
111
+                        'animate__fadeInUp' => 'fadeInUp (Meistens Standard)',
112
+                        'no-animation' => 'Keine Animation',
113
+                        'animate__fadeIn' => 'fadeIn',
114
+                        'animate__fadeInDown' => 'fadeInDown',
115
+                        'animate__fadeInDownBig' => 'fadeInDownBig',
116
+                        'animate__fadeInLeft' => 'fadeInLeft',
117
+                        'animate__fadeInLeftBig' => 'fadeInLeftBig',
118
+                        'animate__fadeInRight' => 'fadeInRight',
119
+                        'animate__fadeInRightBig' => 'fadeInRightBig',
120
+                        'animate__fadeInUpBig' => 'fadeInUpBig',
121
+                        'animate__fadeInTopLeft' => 'fadeInTopLeft',
122
+                        'animate__fadeInTopRight' => 'fadeInTopRight',
123
+                        'animate__fadeInBottomLeft' => 'fadeInBottomLeft',
124
+                        'animate__fadeInBottomRight' => 'fadeInBottomRight',
125
+                        /* Attention seekers  */
126
+                        'animate__bounce' => 'bounce',
127
+                        'animate__flash' => 'flash',
128
+                        'animate__pulse' => 'pulse',
129
+                        'animate__rubberBand' => 'rubberBand',
130
+                        'animate__shakeX' => 'shakeX',
131
+                        'animate__shakeY' => 'shakeY',
132
+                        'animate__headShake' => 'headShake',
133
+                        'animate__swing' => 'swing',
134
+                        'animate__tada' => 'tada',
135
+                        'animate__wobble' => 'wobble',
136
+                        'animate__jello' => 'jello',
137
+                        'animate__heartBeat' => 'heartBeat',
138
+                        /* Back entrances */
139
+                        'animate__backInDown' => 'backInDown',
140
+                        'animate__backInLeft' => 'backInLeft',
141
+                        'animate__backInRight' => 'backInRight',
142
+                        'animate__backInUp' => 'backInUp',
143
+                        /* Back exits */
144
+                        'animate__backOutDown' => 'backOutDown',
145
+                        'animate__backOutLeft' => 'backOutLeft',
146
+                        'animate__backOutRight' => 'backOutRight',
147
+                        'animate__backOutUp' => 'backOutUp',
148
+                        /* Bouncing entrances  */
149
+                        'animate__bounceIn' => 'bounceIn',
150
+                        'animate__bounceInDown' => 'bounceInDown',
151
+                        'animate__bounceInLeft' => 'bounceInLeft',
152
+                        'animate__bounceInRight' => 'bounceInRight',
153
+                        'animate__bounceInUp' => 'bounceInUp',
154
+                        /* Bouncing exits  */
155
+                        'animate__bounceOut' => 'bounceOut',
156
+                        'animate__bounceOutDown' => 'bounceOutDown',
157
+                        'animate__bounceOutLeft' => 'bounceOutLeft',
158
+                        'animate__bounceOutRight' => 'bounceOutRight',
159
+                        'animate__bounceOutUp' => 'bounceOutUp',
160
+                        /* Fading exits */
161
+                        'animate__fadeOut' => 'fadeOut',
162
+                        'animate__fadeOutDown' => 'fadeOutDown',
163
+                        'animate__fadeOutDownBig' => 'fadeOutDownBig',
164
+                        'animate__fadeOutLeft' => 'fadeOutLeft',
165
+                        'animate__fadeOutLeftBig' => 'fadeOutLeftBig',
166
+                        'animate__fadeOutRight' => 'fadeOutRight',
167
+                        'animate__fadeOutRightBig' => 'fadeOutRightBig',
168
+                        'animate__fadeOutUp' => 'fadeOutUp',
169
+                        'animate__fadeOutUpBig' => 'fadeOutUpBig',
170
+                        'animate__fadeOutTopLeft' => 'fadeOutTopLeft',
171
+                        'animate__fadeOutTopRight' => 'fadeOutTopRight',
172
+                        'animate__fadeOutBottomRight' => 'fadeOutBottomRight',
173
+                        'animate__fadeOutBottomLeft' => 'fadeOutBottomLeft',
174
+                        /* Flippers */
175
+                        'animate__flip' => 'flip',
176
+                        'animate__flipInX' => 'flipInX',
177
+                        'animate__flipInY' => 'flipInY',
178
+                        'animate__flipOutX' => 'flipOutX',
179
+                        'animate__flipOutY' => 'flipOutY',
180
+                        /* Lightspeed */
181
+                        'animate__lightSpeedInRight' => 'lightSpeedInRight',
182
+                        'animate__lightSpeedInLeft' => 'lightSpeedInLeft',
183
+                        'animate__lightSpeedOutRight' => 'lightSpeedOutRight',
184
+                        'animate__lightSpeedOutLeft' => 'lightSpeedOutLeft',
185
+                        /* Rotating entrances */
186
+                        'animate__rotateIn' => 'rotateIn',
187
+                        'animate__rotateInDownLeft' => 'rotateInDownLeft',
188
+                        'animate__rotateInDownRight' => 'rotateInDownRight',
189
+                        'animate__rotateInUpLeft' => 'rotateInUpLeft',
190
+                        'animate__rotateInUpRight' => 'rotateInUpRight',
191
+                        /* Rotating exits */
192
+                        'animate__rotateOut' => 'rotateOut',
193
+                        'animate__rotateOutDownLeft' => 'rotateOutDownLeft',
194
+                        'animate__rotateOutDownRight' => 'rotateOutDownRight',
195
+                        'animate__rotateOutUpLeft' => 'rotateOutUpLeft',
196
+                        'animate__rotateOutUpRight' => 'rotateOutUpRight',
197
+                        /* Specials */
198
+                        'animate__hinge' => 'hinge',
199
+                        'animate__jackInTheBox' => 'jackInTheBox',
200
+                        'animate__rollIn' => 'rollIn',
201
+                        'animate__rollOut' => 'rollOut',
202
+                        /* Zooming entrances */
203
+                        'animate__zoomIn' => 'zoomIn',
204
+                        'animate__zoomInDown' => 'zoomInDown',
205
+                        'animate__zoomInLeft' => 'zoomInLeft',
206
+                        'animate__zoomInRight' => 'zoomInRight',
207
+                        'animate__zoomInUp' => 'zoomInUp',
208
+                        /* Zooming exits */
209
+                        'animate__zoomOut' => 'zoomOut',
210
+                        'animate__zoomOutDown' => 'zoomOutDown',
211
+                        'animate__zoomOutLeft' => 'zoomOutLeft',
212
+                        'animate__zoomOutRight' => 'zoomOutRight',
213
+                        'animate__zoomOutUp' => 'zoomOutUp',
214
+                        /* Sliding entrances */
215
+                        'animate__slideInDown' => 'slideInDown',
216
+                        'animate__slideInLeft' => 'slideInLeft',
217
+                        'animate__slideInRight' => 'slideInRight',
218
+                        'animate__slideInUp' => 'slideInUp',
219
+                        /* Sliding exits */
220
+                        'animate__slideOutDown' => 'slideOutDown',
221
+                        'animate__slideOutLeft' => 'slideOutLeft',
222
+                        'animate__slideOutRight' => 'slideOutRight',
223
+                        'animate__slideOutUp' => 'slideOutUp',
224
+                    ),
225
+                    'eval' => array('chosen' => 'true')
226
+                ),
227
+                'input_value' => array(
228
+                    'label' => array('Eindeutiger Wert des Inputs', 'einmalig, keine Sonderzeichen'),
229
+                    'inputType' => 'text',
230
+                ),
231
+                'headline' => array(
232
+                    'label' => array('Überschrift', ''),
233
+                    'inputType' => 'text',
234
+                ),
235
+                'headline_type' => array(
236
+                    'label' => array(
237
+                        'de' => array('Typ der Überschrift', ''),
238
+                    ),
239
+                    'inputType' => 'select',
240
+                    'options' => array(
241
+                        'h1' => 'H1 (Haupt-Headline für SEO, darf nur 1x vorkommen)',
242
+                        'h2' => 'H2 (Sollte H1 thematisch untergeordnet sein)',
243
+                        'h3' => 'H3 (Sollte H2 thematisch untergeordnet sein)',
244
+                        'h4' => 'H4',
245
+                        'h5' => 'H5',
246
+                    ),
247
+                ),
248
+                'text_top' => array(
249
+                    'label' => array('Text oberhalb des Bildes', ''),
250
+                    'inputType' => 'text',
251
+                    'eval' => array(
252
+                        'allowHtml' => true,
253
+                        'rte' => 'tinyMCE',
254
+                        'tl_class' => 'clr'
255
+                    ),
256
+                ),
257
+                'image' => array(
258
+                    'label' => array('Bild', ''),
259
+                    'inputType' => 'fileTree',
260
+                    'eval' => array(
261
+                        'multiple' => false,
262
+                        'fieldType' => 'radio',
263
+                        'filesOnly' => true,
264
+                        'extensions' => 'jpg,jpeg,png,svg',
265
+                    ),
266
+                ),
267
+                'text_bottom' => array(
268
+                    'label' => array('Text unterhalb des Bildes', ''),
269
+                    'inputType' => 'text',
270
+                    'eval' => array(
271
+                        'allowHtml' => true,
272
+                        'rte' => 'tinyMCE',
273
+                        'tl_class' => 'clr'
274
+                    ),
275
+                ),
276
+                'price' => array(
277
+                    'label' => array('Preis ohne Zeichen', 'das Währungssymbol wird automatisch angehängt'),
278
+                    'inputType' => 'text',
279
+                ),
280
+                'preview_links' => array(
281
+                    'label' => array('Text unterhalb des Preises', ''),
282
+                    'inputType' => 'text',
283
+                    'eval' => array(
284
+                        'allowHtml' => true,
285
+                        'rte' => 'tinyMCE',
286
+                        'tl_class' => 'clr'
287
+                    ),
288
+                ),
289
+            ),
290
+        ),
291
+    ),
292
+);