Browse code

First iteration of revamped formilicious for Contao 4.13+

Benjamin Roth authored on20/01/2023 09:49:23
Showing50 changed files
... ...
@@ -1,29 +1,23 @@
1
-Contao Module: Formilicious
2
-====
1
+# Form enhancement bundle for Contao Open Source CMS
3 2
 
4 3
 Extends the Contao forms to easily create multi column forms.
5 4
 
6
-This module is developed and provided by [eSales Media][1].
5
+This module is developed and provided by [Kommunikation vonRotenberg](https://www.vonrotenberg.de.de).
7 6
 
8
-__Author:__ Benjamin Roth [benjamin@esales-media.de]
7
+**Author:** Benjamin Roth [benjamin@esales-media.de]
9 8
 
10 9
 
11
-System requirements
12
-* Contao CMS > 4.4.x
13
-* jQuery Tooltipster Library (for neat form errors)
10
+## System requirements
11
+- Contao CMS >= 4.13.x
14 12
 
15 13
 
16
-Installation
17
-Just copy into your system/modules/ folder and don't forget to update the database.
18
-Afterwards you will see your new options in the form elements.
14
+## Installation
15
+Install the bundle via Composer:
19 16
 
20
-
21
-License
22
-LGPL-3.0+
17
+```
18
+composer require vonRotenberg/contao-formilicious-bundle
19
+```
23 20
 
24 21
 
25
-
26
-[1]: http://www.esales-media.de
27 22
\ No newline at end of file
23
+## License
24
+LGPL-3.0+
28 25
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-<IfModule !mod_authz_core.c>
2
-  Order allow,deny
3
-  Allow from all
4
-</IfModule>
5
-<IfModule mod_authz_core.c>
6
-  Require all granted
7
-</IfModule>
8 0
\ No newline at end of file
9 1
deleted file mode 100644
... ...
@@ -1,346 +0,0 @@
1
-/**
2
- * Fomrilicious for Contao Open Source CMS
3
- *
4
- * Copyright (C) 2013-2014 eSalesMedia
5
- *
6
- * @package eSM_formilicious
7
- * @link    http://www.esales-media.de
8
- * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
9
- *
10
- * @author  Benjamin Roth <benjamin@esales-media.de>
11
- */
12
-
13
-/**
14
- *
15
- */
16
-input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="email"],
17
-input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea, select {
18
-	width:100%;
19
-	-moz-box-sizing: border-box;
20
-	-webkit-box-sizing: border-box;
21
-	box-sizing: border-box;
22
-}
23
-
24
-.widget input.captcha {
25
-	max-width: 4em;
26
-}
27
-
28
-
29
-/**
30
- * Fieldset Styles
31
- */
32
-.formbody > fieldset {
33
-	clear: left;
34
-}
35
-
36
-.formbody > fieldset legend {
37
-	color: inherit;
38
-	font-size: 123%;
39
-	line-height: 2;
40
-	font-weight: normal;
41
-	border-bottom: inherit 3px solid;
42
-	margin-bottom: 1em;
43
-}
44
-
45
-.widget .radio_container legend,
46
-.widget .checkbox_container legend {
47
-	color: inherit;
48
-	font-size: 100%;
49
-	font-weight: normal;
50
-	border-bottom: none;
51
-	display: block;
52
-	margin-bottom: 0.4em;
53
-	line-height: 1.5em;
54
-}
55
-
56
-.widget .checkbox_container label,
57
-.widget .radio_container label {
58
-	font-weight: normal;
59
-	display: inline;
60
-	margin-bottom: 0;
61
-}
62
-
63
-.widget .checkbox_container > span,
64
-.widget .radio_container > span {
65
-	display: block;
66
-}
67
-
68
-/**
69
- * Headline Styles
70
- */
71
-
72
-.widget.headline {
73
-	margin-top: 1em;
74
-	/*color: #d7ae6e;*/
75
-	font-size: 108%;
76
-	font-weight: bold;
77
-	min-height: 1.5em;
78
-}
79
-
80
-/**
81
- * Widget Styles
82
- */
83
-.widget {
84
-	padding: 0 10px;
85
-	margin-bottom: 0.5em;
86
-	-webkit-box-sizing: border-box;
87
-	-moz-box-sizing: border-box;
88
-	box-sizing: border-box;
89
-	min-height: 4em;
90
-	float: left;
91
-	width: 100%;
92
-}
93
-
94
-.widget.cbx {
95
-	min-height: 1.5em;
96
-	height: 1.5em;
97
-	padding: 4px 10px;
98
-}
99
-
100
-.widget label {
101
-	display: block;
102
-	margin-bottom: 0.4em;
103
-	line-height: 1.5em;
104
-}
105
-
106
-/*.widget.error label {
107
-	color: #E23E15;
108
-}*/
109
-.widget.error input,
110
-.widget.error select,
111
-.widget.error textarea {
112
-	border-color: #E23E15;
113
-}
114
-
115
-.widget p.error {
116
-	font-size: 85%;
117
-	margin-top: -0.4em;
118
-	margin-bottom: 0.4em;
119
-}
120
-
121
-.widget.error .errortip {
122
-	background-color: rgb(226, 62, 21);
123
-	border-bottom-left-radius: 50%;
124
-	border-bottom-right-radius: 50%;
125
-	border-top-left-radius: 50%;
126
-	border-top-right-radius: 50%;
127
-	color: rgb(255, 255, 255);
128
-	cursor: help;
129
-	display: block;
130
-	float: right;
131
-	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
132
-	font-size: 13px;
133
-	font-style: normal;
134
-	font-variant: normal;
135
-	font-weight: normal;
136
-	height: 15px;
137
-	line-height: 13px;
138
-	margin-top: 3.25px;
139
-	text-align: center;
140
-	vertical-align: top;
141
-	width: 15px;
142
-}
143
-
144
-.submit_container {
145
-	/*padding-top: 1.9em;*/
146
-	min-height: 2.1em;
147
-}
148
-
149
-.widget.w10 { float: left; width: 10%; }
150
-.widget.w11 { float: left; width: 11.111%; }
151
-.widget.w15 { float: left; width: 15%; }
152
-.widget.w16_5 { float: left; width: 16.6665%; }
153
-.widget.w20 { float: left; width: 20%; }
154
-.widget.w22 { float: left; width: 22.222%; }
155
-.widget.w25 { float: left; width: 25%; }
156
-.widget.w30 { float: left; width: 30%; }
157
-.widget.w33 { float: left; width: 33.333%; }
158
-.widget.w35 { float: left; width: 35%; }
159
-.widget.w40 { float: left; width: 40%; }
160
-.widget.w44 { float: left; width: 44.444%; }
161
-.widget.w45 { float: left; width: 45%; }
162
-.widget.w50 { float: left; width: 50%; }
163
-.widget.w55 { float: left; width: 55%; }
164
-.widget.w60 { float: left; width: 60%; }
165
-.widget.w65 { float: left; width: 65%; }
166
-.widget.w66 { float: left; width: 66.666%; }
167
-.widget.w70 { float: left; width: 70%; }
168
-.widget.w75 { float: left; width: 75%; }
169
-.widget.w80 { float: left; width: 80%; }
170
-.widget.w85 { float: left; width: 85%; }
171
-.widget.w90 { float: left; width: 90%; }
172
-.widget.w95 { float: left; width: 95%; }
173
-.widget.w100 { float: left; width: 100%; }
174
-
175
-
176
-.widget.clr,
177
-.formbody > fieldset {
178
-	clear: left;
179
-}
180
-
181
-@media screen and (max-width: 43em) {
182
-	.widget.w10,
183
-	.widget.w11,
184
-	.widget.w15,
185
-	.widget.w16_5,
186
-	.widget.w20,
187
-	.widget.w22,
188
-	.widget.w25,
189
-	.widget.w30,
190
-	.widget.w33,
191
-	.widget.w35,
192
-	.widget.w40,
193
-	.widget.w44,
194
-	.widget.w45,
195
-	.widget.w50,
196
-	.widget.w55,
197
-	.widget.w60,
198
-	.widget.w65,
199
-	.widget.w66,
200
-	.widget.w70,
201
-	.widget.w75,
202
-	.widget.w80,
203
-	.widget.w85,
204
-	.widget.w90,
205
-	.widget.w95,
206
-	.widget.w100 { float: none; width: 100%; }
207
-}
208
-
209
-.widget.w10:before,
210
-.widget.w10:after,
211
-.widget.w11:before,
212
-.widget.w11:after,
213
-.widget.w15:before,
214
-.widget.w15:after,
215
-.widget.w16_5:before,
216
-.widget.w16_5:after,
217
-.widget.w20:before,
218
-.widget.w20:after,
219
-.widget.w22:before,
220
-.widget.w22:after,
221
-.widget.w25:before,
222
-.widget.w25:after,
223
-.widget.w30:before,
224
-.widget.w30:after,
225
-.widget.w33:before,
226
-.widget.w33:after,
227
-.widget.w35:before,
228
-.widget.w35:after,
229
-.widget.w40:before,
230
-.widget.w40:after,
231
-.widget.w44:before,
232
-.widget.w44:after,
233
-.widget.w45:before,
234
-.widget.w45:after,
235
-.widget.w50:before,
236
-.widget.w50:after,
237
-.widget.w55:before,
238
-.widget.w55:after,
239
-.widget.w60:before,
240
-.widget.w60:after,
241
-.widget.w65:before,
242
-.widget.w65:after,
243
-.widget.w66:before,
244
-.widget.w66:after,
245
-.widget.w70:before,
246
-.widget.w70:after,
247
-.widget.w75:before,
248
-.widget.w75:after,
249
-.widget.w80:before,
250
-.widget.w80:after,
251
-.widget.w85:before,
252
-.widget.w85:after,
253
-.widget.w90:before,
254
-.widget.w90:after,
255
-.widget.w95:before,
256
-.widget.w95:after,
257
-.widget.w100:before,
258
-.widget.w100:after,
259
-form:before,
260
-form:after {
261
-	content: " "; /* 1 */
262
-	display: table; /* 2 */
263
-}
264
-
265
-.widget.w10:after,
266
-.widget.w11:after,
267
-.widget.w15:after,
268
-.widget.w16_5:after,
269
-.widget.w20:after,
270
-.widget.w22:after,
271
-.widget.w25:after,
272
-.widget.w30:after,
273
-.widget.w33:after,
274
-.widget.w35:after,
275
-.widget.w40:after,
276
-.widget.w44:after,
277
-.widget.w45:after,
278
-.widget.w50:after,
279
-.widget.w55:after,
280
-.widget.w66:after,
281
-.widget.w65:after,
282
-.widget.w70:after,
283
-.widget.w75:after,
284
-.widget.w80:after,
285
-.widget.w85:after,
286
-.widget.w90:after,
287
-.widget.w95:after,
288
-.widget.w100:after,
289
-form:after {
290
-	clear: both;
291
-}
292
-
293
-.widget.widget-split input[type="text"],
294
-.widget.widget-split input[type="password"],
295
-.widget.widget-split input[type="date"],
296
-.widget.widget-split input[type="datetime"],
297
-.widget.widget-split input[type="email"],
298
-.widget.widget-split input[type="number"],
299
-.widget.widget-split input[type="search"],
300
-.widget.widget-split input[type="tel"],
301
-.widget.widget-split input[type="time"],
302
-.widget.widget-split input[type="url"],
303
-.widget.widget-split textarea,
304
-.widget.widget-split select
305
-{
306
-	max-width: 50% !important;
307
-	min-width: 10% !important;
308
-	float: left;
309
-	margin-right: 10px;
310
-	display: inline;
311
-}
312
-
313
-.widget.widget-split.widget-split-3 input { max-width: 30% !important; }
314
-.widget.widget-split.widget-split-3 input[type="submit"] { max-width: 70% !important; }
315
-.widget.widget-split.widget-split-4 input { max-width: 40% !important; }
316
-.widget.widget-split.widget-split-4 input[type="submit"] { max-width: 60% !important; }
317
-.widget.widget-split.widget-split-5 input { max-width: 50% !important; }
318
-.widget.widget-split.widget-split-5 input[type="submit"] { max-width: 50% !important; }
319
-.widget.widget-split.widget-split-6 input { max-width: 60% !important; }
320
-.widget.widget-split.widget-split-6 input[type="submit"] { max-width: 40% !important; }
321
-.widget.widget-split.widget-split-7 input { max-width: 70% !important; }
322
-.widget.widget-split.widget-split-7 input[type="submit"] { max-width: 30% !important; }
323
-
324
-
325
-.widget.fl_right input[type="submit"],
326
-.submit_container.fl_right .submit {
327
-	float: right;
328
-}
329
-
330
-.widget.lblp {
331
-	padding-top: 1.9em;
332
-	min-height: 2.1em;
333
-}
334
-
335
-.widget.autoh {
336
-	min-height: 0;
337
-}
338
-
339
-/**
340
- * For IE 6/7 only
341
- * Include this rule to trigger hasLayout and contain floats.
342
- */
343
-.widget,
344
-form {
345
-	*zoom: 1;
346
-}
347 0
\ No newline at end of file
348 1
deleted file mode 100644
... ...
@@ -1 +0,0 @@
1
-input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea,select{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.widget input.captcha{max-width:4em}.formbody>fieldset{clear:left}.formbody>fieldset legend{color:inherit;font-size:123%;line-height:2;font-weight:normal;border-bottom:inherit 3px solid;margin-bottom:1em}.widget .radio_container legend,.widget .checkbox_container legend{color:inherit;font-size:100%;font-weight:normal;border-bottom:0;display:block;margin-bottom:.4em;line-height:1.5em}.widget .checkbox_container label,.widget .radio_container label{font-weight:normal;display:inline;margin-bottom:0}.widget .checkbox_container>span,.widget .radio_container>span{display:block}.widget.headline{margin-top:1em;font-size:108%;font-weight:bold;min-height:1.5em}.widget{padding:0 10px;margin-bottom:.5em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;min-height:4em;float:left;width:100%}.widget.cbx{min-height:1.5em;height:1.5em;padding:4px 10px}.widget label{display:block;margin-bottom:.4em;line-height:1.5em}.widget.error input,.widget.error select,.widget.error textarea{border-color:#e23e15}.widget p.error{font-size:85%;margin-top:-0.4em;margin-bottom:.4em}.widget.error .errortip{background-color:#e23e15;border-bottom-left-radius:50%;border-bottom-right-radius:50%;border-top-left-radius:50%;border-top-right-radius:50%;color:#fff;cursor:help;display:block;float:right;font-family:'Open Sans',Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;height:15px;line-height:13px;margin-top:3.25px;text-align:center;vertical-align:top;width:15px}.submit_container{min-height:2.1em}.widget.w10{float:left;width:10%}.widget.w11{float:left;width:11.111%}.widget.w15{float:left;width:15%}.widget.w16_5{float:left;width:16.6665%}.widget.w20{float:left;width:20%}.widget.w22{float:left;width:22.222%}.widget.w25{float:left;width:25%}.widget.w30{float:left;width:30%}.widget.w33{float:left;width:33.333%}.widget.w35{float:left;width:35%}.widget.w40{float:left;width:40%}.widget.w44{float:left;width:44.444%}.widget.w45{float:left;width:45%}.widget.w50{float:left;width:50%}.widget.w55{float:left;width:55%}.widget.w60{float:left;width:60%}.widget.w65{float:left;width:65%}.widget.w66{float:left;width:66.666%}.widget.w70{float:left;width:70%}.widget.w75{float:left;width:75%}.widget.w80{float:left;width:80%}.widget.w85{float:left;width:85%}.widget.w90{float:left;width:90%}.widget.w95{float:left;width:95%}.widget.w100{float:left;width:100%}.widget.clr,.formbody>fieldset{clear:left}@media screen and (max-width:43em){.widget.w10,.widget.w11,.widget.w15,.widget.w16_5,.widget.w20,.widget.w22,.widget.w25,.widget.w30,.widget.w33,.widget.w35,.widget.w40,.widget.w44,.widget.w45,.widget.w50,.widget.w55,.widget.w60,.widget.w65,.widget.w66,.widget.w70,.widget.w75,.widget.w80,.widget.w85,.widget.w90,.widget.w95,.widget.w100{float:none;width:100%}}.widget.w10:before,.widget.w10:after,.widget.w11:before,.widget.w11:after,.widget.w15:before,.widget.w15:after,.widget.w16_5:before,.widget.w16_5:after,.widget.w20:before,.widget.w20:after,.widget.w22:before,.widget.w22:after,.widget.w25:before,.widget.w25:after,.widget.w30:before,.widget.w30:after,.widget.w33:before,.widget.w33:after,.widget.w35:before,.widget.w35:after,.widget.w40:before,.widget.w40:after,.widget.w44:before,.widget.w44:after,.widget.w45:before,.widget.w45:after,.widget.w50:before,.widget.w50:after,.widget.w55:before,.widget.w55:after,.widget.w60:before,.widget.w60:after,.widget.w65:before,.widget.w65:after,.widget.w66:before,.widget.w66:after,.widget.w70:before,.widget.w70:after,.widget.w75:before,.widget.w75:after,.widget.w80:before,.widget.w80:after,.widget.w85:before,.widget.w85:after,.widget.w90:before,.widget.w90:after,.widget.w95:before,.widget.w95:after,.widget.w100:before,.widget.w100:after,form:before,form:after{content:" ";display:table}.widget.w10:after,.widget.w11:after,.widget.w15:after,.widget.w16_5:after,.widget.w20:after,.widget.w22:after,.widget.w25:after,.widget.w30:after,.widget.w33:after,.widget.w35:after,.widget.w40:after,.widget.w44:after,.widget.w45:after,.widget.w50:after,.widget.w55:after,.widget.w66:after,.widget.w65:after,.widget.w70:after,.widget.w75:after,.widget.w80:after,.widget.w85:after,.widget.w90:after,.widget.w95:after,.widget.w100:after,form:after{clear:both}.widget.widget-split input[type="text"],.widget.widget-split input[type="password"],.widget.widget-split input[type="date"],.widget.widget-split input[type="datetime"],.widget.widget-split input[type="email"],.widget.widget-split input[type="number"],.widget.widget-split input[type="search"],.widget.widget-split input[type="tel"],.widget.widget-split input[type="time"],.widget.widget-split input[type="url"],.widget.widget-split textarea,.widget.widget-split select{max-width:50% !important;min-width:10% !important;float:left;margin-right:10px;display:inline}.widget.widget-split.widget-split-3 input{max-width:30% !important}.widget.widget-split.widget-split-3 input[type="submit"]{max-width:70% !important}.widget.widget-split.widget-split-4 input{max-width:40% !important}.widget.widget-split.widget-split-4 input[type="submit"]{max-width:60% !important}.widget.widget-split.widget-split-5 input{max-width:50% !important}.widget.widget-split.widget-split-5 input[type="submit"]{max-width:50% !important}.widget.widget-split.widget-split-6 input{max-width:60% !important}.widget.widget-split.widget-split-6 input[type="submit"]{max-width:40% !important}.widget.widget-split.widget-split-7 input{max-width:70% !important}.widget.widget-split.widget-split-7 input[type="submit"]{max-width:30% !important}.widget.fl_right input[type="submit"],.submit_container.fl_right .submit{float:right}.widget.lblp{padding-top:1.9em;min-height:2.1em}.widget.autoh{min-height:0}.widget,form{*zoom:1}
2 0
\ No newline at end of file
... ...
@@ -1,28 +1,40 @@
1 1
 {
2
-  "name":"esalesmedia/contao-formilicious",
2
+  "name":"vonrotenberg/formilicious-bundle",
3 3
   "description":"Extends the Contao forms to easily create multi column forms.",
4 4
   "keywords":["contao", "form", "columns"],
5
-  "type":"contao-module",
5
+  "type":"contao-bundle",
6 6
   "license":"LGPL-3.0+",
7 7
   "authors":[
8 8
     {
9 9
       "name": "Benjamin Roth",
10
-      "homepage": "https://www.esales-media.de"
10
+      "homepage": "https://www.vonrotenberg.de"
11 11
     }
12 12
   ],
13 13
   "require":{
14
-    "php": ">=7.4",
15
-    "contao/core-bundle": "^4.7"
14
+    "php": "^7.4 || ^8.0",
15
+    "contao/core-bundle": "^4.13"
16 16
   },
17 17
   "conflict": {
18
-    "contao/core": "*",
19 18
     "contao/manager-plugin": "<2.0 || >=3.0"
20 19
   },
21
-  "extra":{
22
-    "contao": {
23
-      "sources":{
24
-        "": "system/modules/eSM_formilicious"
25
-      }
20
+  "autoload": {
21
+    "psr-4": {
22
+      "vonRotenberg\\FormiliciousBundle\\": "src/"
23
+    }
24
+  },
25
+  "config": {
26
+    "allow-plugins": {
27
+      "contao-components/installer": true,
28
+      "contao/manager-plugin": true
26 29
     }
30
+  },
31
+  "repositories": {
32
+    "esalesmedia": {
33
+      "type": "composer",
34
+      "url": "https://satis.esales-media.de"
35
+    }
36
+  },
37
+  "extra":{
38
+    "contao-manager-plugin": "vonRotenberg\\FormiliciousBundle\\ContaoManager\\Plugin"
27 39
   }
28
-}
29 40
\ No newline at end of file
41
+}
30 42
deleted file mode 100644
... ...
@@ -1,11 +0,0 @@
1
-;;
2
-; List modules which are required to be loaded beforehand
3
-;;
4
-requires[] = "core"
5
-
6
-;;
7
-; Configure what you want the autoload creator to register
8
-;;
9
-register_namespaces = true
10
-register_classes    = true
11
-register_templates  = true
12 0
deleted file mode 100644
... ...
@@ -1,61 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * Contao Open Source CMS
5
- *
6
- * Copyright (c) 2005-2014 Leo Feyer
7
- *
8
- * @package ESM_formilicious
9
- * @link    https://contao.org
10
- * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
- */
12
-
13
-
14
-/**
15
- * Register the namespaces
16
- */
17
-ClassLoader::addNamespaces(array
18
-(
19
-	'eSM_formilicious',
20
-));
21
-
22
-
23
-/**
24
- * Register the classes
25
- */
26
-ClassLoader::addClasses(array
27
-(
28
-  // Hooks
29
-	'eSM_formilicious\FormiliciousHooks' => 'system/modules/eSM_formilicious/hooks/FormiliciousHooks.php',
30
-
31
-	// Modules
32
-	'eSM_formilicious\ModuleRegistration' => 'system/modules/eSM_formilicious/modules/ModuleRegistration.php',
33
-	'eSM_formilicious\ModulePersonalData' => 'system/modules/eSM_formilicious/modules/ModulePersonalData.php',
34
-));
35
-
36
-
37
-/**
38
- * Register the templates
39
- */
40
-TemplateLoader::addFiles(array
41
-(
42
-	'form'             => 'system/modules/eSM_formilicious/templates',
43
-	'form_checkbox'    => 'system/modules/eSM_formilicious/templates',
44
-	'form_radio'       => 'system/modules/eSM_formilicious/templates',
45
-	'form_headline'    => 'system/modules/eSM_formilicious/templates',
46
-	'form_widget'      => 'system/modules/eSM_formilicious/templates',
47
-	'form_submit'      => 'system/modules/eSM_formilicious/templates',
48
-	'form_explanation' => 'system/modules/eSM_formilicious/templates',
49
-
50
-	'form_select'      => 'system/modules/eSM_formilicious/templates',
51
-	'form_textfield'   => 'system/modules/eSM_formilicious/templates',
52
-	'form_textarea'    => 'system/modules/eSM_formilicious/templates',
53
-	'form_password'    => 'system/modules/eSM_formilicious/templates',
54
-	'form_captcha'     => 'system/modules/eSM_formilicious/templates',
55
-	'form_upload'      => 'system/modules/eSM_formilicious/templates',
56
-	'form_row'         => 'system/modules/eSM_formilicious/templates',
57
-	'form_row_double'  => 'system/modules/eSM_formilicious/templates',
58
-	'j_formilicious'   => 'system/modules/eSM_formilicious/templates',
59
-
60
-	'_form_addsubmit'  => 'system/modules/eSM_formilicious/templates/inc',
61
-));
62 0
deleted file mode 100644
... ...
@@ -1,20 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * eSales Media Formilicious for Contao Open Source CMS
5
- *
6
- * Copyright (C) 2013-2014 eSalesMedia
7
- *
8
- * @package    eSM_formilicious
9
- * @link       http://www.esales-media.de
10
- * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
- *
12
- * @author     Benjamin Roth <benjamin@esales-media.de>
13
- */
14
-
15
-//$GLOBALS['TL_CSS']['formilicious'] = 'system/modules/eSM_formilicious/assets/css/form.min.css||static';
16
-$GLOBALS['TL_HOOKS']['loadDataContainer'][] = array('\FormiliciousHooks','eSMLoadDataContainer');
17
-$GLOBALS['TL_HOOKS']['loadFormField'][] = array('\FormiliciousHooks','eSMLoadFormField');
18
-$GLOBALS['TL_HOOKS']['getAttributesFromDca'][] = array('\FormiliciousHooks','eSMGetAttributesFromDca');
19
-$GLOBALS['FE_MOD']['user']['registration'] = '\eSM_formilicious\ModuleRegistration';
20
-$GLOBALS['FE_MOD']['user']['personalData'] = '\eSM_formilicious\ModulePersonalData';
21 0
\ No newline at end of file
22 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+services:
2
+    _defaults:
3
+        autowire: true
4
+        autoconfigure: true
5
+        public: false
6
+
7
+    vonRotenberg\FormiliciousBundle\:
8
+        resource: ../src
9
+        exclude: ../src/{VonrotenbergFormiliciousBundle.php,ContaoManager,Entity,Migrations,Model,Resources,Tests,Widget}
10
+
0 11
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media Formilicious for Contao Open Source CMS
5
+ *
6
+ * Copyright (C) 2013-2014 eSalesMedia
7
+ *
8
+ * @package    eSM_formilicious
9
+ * @link       http://www.esales-media.de
10
+ * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+//$GLOBALS['TL_CSS']['formilicious'] = 'system/modules/eSM_formilicious/assets/css/form.min.css||static';
16
+/*$GLOBALS['TL_HOOKS']['loadDataContainer'][] = array('\FormiliciousHooks','eSMLoadDataContainer');
17
+$GLOBALS['TL_HOOKS']['loadFormField'][] = array('\FormiliciousHooks','eSMLoadFormField');
18
+$GLOBALS['TL_HOOKS']['getAttributesFromDca'][] = array('\FormiliciousHooks','eSMGetAttributesFromDca');
19
+$GLOBALS['FE_MOD']['user']['registration'] = '\eSM_formilicious\ModuleRegistration';
20
+$GLOBALS['FE_MOD']['user']['personalData'] = '\eSM_formilicious\ModulePersonalData';*/
0 21
new file mode 100644
... ...
@@ -0,0 +1,74 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media Formilicious for Contao Open Source CMS
5
+ *
6
+ * Copyright (C) 2013-2014 eSalesMedia
7
+ *
8
+ * @package    eSM_formilicious
9
+ * @link       http://www.esales-media.de
10
+ * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+/**
16
+ * Palettes
17
+ */
18
+$GLOBALS['TL_DCA']['tl_form_field']['palettes']['select'] = str_replace(',class,', ',class,value,',$GLOBALS['TL_DCA']['tl_form_field']['palettes']['select']);
19
+
20
+
21
+/**
22
+ * Add fields to tl_form_field
23
+ */
24
+$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_clear'] = array
25
+(
26
+	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_clear'],
27
+	'exclude'                 => true,
28
+	'inputType'               => 'checkbox',
29
+	'eval'                    => array('tl_class'=>'w50 m12 cbx'),
30
+	'sql'                     => "char(1) NOT NULL default ''"
31
+);
32
+
33
+
34
+$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_width'] = array
35
+(
36
+	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_width'],
37
+	'exclude'                 => true,
38
+	'inputType'               => 'select',
39
+	'default'                 => 100,
40
+	'options'                 => array(10, 11, 15, '16_5', 20, 22, 25, 30, 33, 35, 40, 44, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100),
41
+	'reference'               => &$GLOBALS['TL_LANG']['tl_form_field']['ref_width'],
42
+	'eval'                    => array('tl_class'=>'w50'),
43
+	'sql'                     => "varchar(4) NOT NULL default '100'"
44
+);
45
+
46
+$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_class'] = array
47
+(
48
+	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_class'],
49
+	'exclude'                 => true,
50
+	'inputType'               => 'text',
51
+	'eval'                    => array('maxlength'=>255, 'tl_class'=>'w50'),
52
+	'sql'                     => "varchar(255) NOT NULL default ''"
53
+);
54
+
55
+$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_lblpadding'] = array
56
+(
57
+	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_lblpadding'],
58
+	'exclude'                 => true,
59
+	'inputType'               => 'checkbox',
60
+	'eval'                    => array('tl_class'=>'w50 m12 cbx'),
61
+	'sql'                     => "char(1) NOT NULL default ''"
62
+);
63
+
64
+$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_alignment'] = array
65
+(
66
+	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_alignment'],
67
+	'exclude'                 => true,
68
+	'inputType'               => 'select',
69
+	'default'                 => 'fl_left',
70
+	'options'                 => array('fl_left','fl_right'),
71
+	'reference'               => &$GLOBALS['TL_LANG']['tl_form_field']['ref_alignment'],
72
+	'eval'                    => array('tl_class'=>'w50'),
73
+	'sql'                     => "varchar(8) NOT NULL default ''"
74
+);
0 75
new file mode 100644
... ...
@@ -0,0 +1,61 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media Formilicious for Contao Open Source CMS
5
+ *
6
+ * Copyright (C) 2013-2014 eSalesMedia
7
+ *
8
+ * @package    eSM_formilicious
9
+ * @link       http://www.esales-media.de
10
+ * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+
16
+/**
17
+ * Add fields to tl_module
18
+ */
19
+$GLOBALS['TL_DCA']['tl_module']['fields']['editable'] = array
20
+(
21
+	'label'                   => &$GLOBALS['TL_LANG']['tl_module']['editable'],
22
+	'exclude'                 => true,
23
+	'inputType'               => 'multiColumnWizard',
24
+//	'options_callback'        => array('tl_module', 'getEditableMemberProperties'),
25
+	'eval' 			          => array
26
+	(
27
+		'columnFields' => array
28
+		(
29
+			'eSM_editable' => array
30
+			(
31
+				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_field'],
32
+				'exclude'               => true,
33
+				'inputType'             => 'select',
34
+				'options_callback'      => array('tl_module', 'getEditableMemberProperties'),
35
+				'eval'                  => array('style'=>'width:250px', 'includeBlankOption'=>true, 'chosen'=>true, 'mandatory'=>true)
36
+			),
37
+			'eSM_class' => array
38
+			(
39
+				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_col'],
40
+				'exclude'               => true,
41
+				'inputType'             => 'select',
42
+				'options'               => array(10, 11, 15, '16_5', 20, 22, 25, 30, 33, 35, 40, 44, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100),
43
+				'eval'                  => array('style'=>'width:50px', 'includeBlankOption'=>true)
44
+			),
45
+			'eSM_clr' => array
46
+			(
47
+				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_clear'],
48
+				'exclude'               => true,
49
+				'inputType'             => 'checkbox'
50
+			),
51
+			'eSM_mandatory' => array
52
+			(
53
+				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_mandatory'],
54
+				'exclude'               => true,
55
+				'inputType'             => 'checkbox'
56
+			)
57
+		),
58
+		'tl_class' => ''
59
+	),
60
+	'sql'                     => "blob NULL"
61
+);
0 62
\ No newline at end of file
1 63
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media Formilicious for Contao Open Source CMS
5
+ *
6
+ * Copyright (C) 2013-2014 eSalesMedia
7
+ *
8
+ * @package    eSM_formilicious
9
+ * @link       http://www.esales-media.de
10
+ * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+/**
16
+ * Miscellaneous
17
+ */
18
+
19
+if (TL_MODE == 'FE')
20
+{
21
+	$GLOBALS['TL_LANG']['MSC']['confirmation'] = 'Passwort wiederholen';
22
+}
0 23
\ No newline at end of file
1 24
new file mode 100644
... ...
@@ -0,0 +1,66 @@
1
+<?php
2
+
3
+/**
4
+ * eSales Media Formilicious for Contao Open Source CMS
5
+ *
6
+ * Copyright (C) 2013-2014 eSalesMedia
7
+ *
8
+ * @package    eSM_formilicious
9
+ * @link       http://www.esales-media.de
10
+ * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
+ *
12
+ * @author     Benjamin Roth <benjamin@esales-media.de>
13
+ */
14
+
15
+
16
+/**
17
+ * Fields
18
+ */
19
+$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_clear']  = array('Neue Zeile', 'Erzwingt einen Zeilenumbruch');
20
+$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_width']  = array('Feldbreite', 'Die gewünschte Feldbreite in Prozent');
21
+$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_class']  = array('Widget-Container CSS-Klasse', 'Eigene CSS-Klassen im Widget-Container ergänzen');
22
+$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_lblpadding']  = array('Oberer Abstand', 'Fügt einen Abstand über dem Button ein, damit dieser auf der gleichen Höhe wie andere Formularfelder steht.');
23
+$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_alignment']  = array('Button-Ausrichtung', 'Die Ausrichtung des Buttons.');
24
+
25
+/**
26
+ * Legends
27
+ */
28
+$GLOBALS['TL_LANG']['tl_form_field']['formilicious_legend']  = 'Formilicious Framework';
29
+
30
+/**
31
+ * References
32
+ */
33
+$GLOBALS['TL_LANG']['tl_form_field']['ref_width']     = array
34
+(
35
+	10  => '10 %',
36
+	11  => '11 %',
37
+	15  => '15 %',
38
+	'16_5'  => '16,5 %',
39
+	20  => '20 %',
40
+	22  => '22 %',
41
+	25  => '25 %',
42
+	30  => '30 %',
43
+	33  => '33 %',
44
+	35  => '35 %',
45
+	40  => '40 %',
46
+	44  => '44 %',
47
+	45  => '45 %',
48
+	50  => '50 %',
49
+	55  => '55 %',
50
+	60  => '60 %',
51
+	65  => '65 %',
52
+	66  => '66 %',
53
+	70  => '70 %',
54
+	75  => '75 %',
55
+	80  => '80 %',
56
+	85  => '85 %',
57
+	90  => '90 %',
58
+	95  => '95 %',
59
+	100 => '100 %',
60
+);
61
+
62
+$GLOBALS['TL_LANG']['tl_form_field']['ref_alignment']     = array
63
+(
64
+	'fl_left'  => 'Links',
65
+	'fl_right'  => 'Rechts',
66
+);
0 67
\ No newline at end of file
1 68
new file mode 100644
... ...
@@ -0,0 +1,35 @@
1
+<?php 
2
+
3
+/**
4
+ * Contao Open Source CMS
5
+ * 
6
+ * Copyright (C) 2005-2012 Leo Feyer
7
+ * 
8
+ * @package   eSM_reisen 
9
+ * @author    Benjamin Roth <benjamin@esales-media.de> 
10
+ * @license   commercial 
11
+ * @copyright eSales Media 2012 
12
+ */
13
+
14
+
15
+/**
16
+ * Fields
17
+ */
18
+$GLOBALS['TL_LANG']['tl_member']['salutation']        = array('Anrede', 'Bitte wählen Sie die Anrede');
19
+$GLOBALS['TL_LANG']['tl_member']['title']             = array('Titel', 'Bitte geben Sie den Titel ein');
20
+$GLOBALS['TL_LANG']['tl_member']['postal']            = array('PLZ', 'Bitte geben Sie die Postleitzahl ein');
21
+$GLOBALS['TL_LANG']['tl_member']['addressSupplement'] = array('Adresszusatz', 'Bitte geben Sie den Adresszusatz ein');
22
+$GLOBALS['TL_LANG']['tl_member']['email']             = array('E-Mail', $GLOBALS['TL_LANG']['tl_member']['email'][1]);
23
+$GLOBALS['TL_LANG']['tl_member']['street']            = array('Straße, Nr.', $GLOBALS['TL_LANG']['tl_member']['street'][1]);
24
+$GLOBALS['TL_LANG']['tl_member']['partnerCode']       = array('Reisebüro PID <span class="info">(falls vorhanden)</span>', 'singlereisen.de Affiliate-Code von Partnern');
25
+
26
+/**
27
+ * FE groups
28
+ */
29
+$GLOBALS['TL_LANG']['tl_member']['captchaDetails']    = &$GLOBALS['TL_LANG']['MSC']['securityQuestion'];
30
+
31
+/**
32
+ * References
33
+ */
34
+$GLOBALS['TL_LANG']['MSC']['miss']      = 'Frau';
35
+$GLOBALS['TL_LANG']['MSC']['mister']    = 'Herr';
0 36
deleted file mode 100644
... ...
@@ -1,74 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * eSales Media Formilicious for Contao Open Source CMS
5
- *
6
- * Copyright (C) 2013-2014 eSalesMedia
7
- *
8
- * @package    eSM_formilicious
9
- * @link       http://www.esales-media.de
10
- * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
- *
12
- * @author     Benjamin Roth <benjamin@esales-media.de>
13
- */
14
-
15
-/**
16
- * Palettes
17
- */
18
-$GLOBALS['TL_DCA']['tl_form_field']['palettes']['select'] = str_replace(',class,', ',class,value,',$GLOBALS['TL_DCA']['tl_form_field']['palettes']['select']);
19
-
20
-
21
-/**
22
- * Add fields to tl_form_field
23
- */
24
-$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_clear'] = array
25
-(
26
-	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_clear'],
27
-	'exclude'                 => true,
28
-	'inputType'               => 'checkbox',
29
-	'eval'                    => array('tl_class'=>'w50 m12 cbx'),
30
-	'sql'                     => "char(1) NOT NULL default ''"
31
-);
32
-
33
-
34
-$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_width'] = array
35
-(
36
-	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_width'],
37
-	'exclude'                 => true,
38
-	'inputType'               => 'select',
39
-	'default'                 => 100,
40
-	'options'                 => array(10, 11, 15, '16_5', 20, 22, 25, 30, 33, 35, 40, 44, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100),
41
-	'reference'               => &$GLOBALS['TL_LANG']['tl_form_field']['ref_width'],
42
-	'eval'                    => array('tl_class'=>'w50'),
43
-	'sql'                     => "varchar(3) NOT NULL default '100'"
44
-);
45
-
46
-$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_class'] = array
47
-(
48
-	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_class'],
49
-	'exclude'                 => true,
50
-	'inputType'               => 'text',
51
-	'eval'                    => array('maxlength'=>255, 'tl_class'=>'w50'),
52
-	'sql'                     => "varchar(255) NOT NULL default ''"
53
-);
54
-
55
-$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_lblpadding'] = array
56
-(
57
-	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_lblpadding'],
58
-	'exclude'                 => true,
59
-	'inputType'               => 'checkbox',
60
-	'eval'                    => array('tl_class'=>'w50 m12 cbx'),
61
-	'sql'                     => "char(1) NOT NULL default ''"
62
-);
63
-
64
-$GLOBALS['TL_DCA']['tl_form_field']['fields']['eSM_fl_alignment'] = array
65
-(
66
-	'label'                   => &$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_alignment'],
67
-	'exclude'                 => true,
68
-	'inputType'               => 'select',
69
-	'default'                 => 'fl_left',
70
-	'options'                 => array('fl_left','fl_right'),
71
-	'reference'               => &$GLOBALS['TL_LANG']['tl_form_field']['ref_alignment'],
72
-	'eval'                    => array('tl_class'=>'w50'),
73
-	'sql'                     => "varchar(8) NOT NULL default ''"
74
-);
75 0
\ No newline at end of file
76 1
deleted file mode 100644
... ...
@@ -1,61 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * eSales Media Formilicious for Contao Open Source CMS
5
- *
6
- * Copyright (C) 2013-2014 eSalesMedia
7
- *
8
- * @package    eSM_formilicious
9
- * @link       http://www.esales-media.de
10
- * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
- *
12
- * @author     Benjamin Roth <benjamin@esales-media.de>
13
- */
14
-
15
-
16
-/**
17
- * Add fields to tl_module
18
- */
19
-$GLOBALS['TL_DCA']['tl_module']['fields']['editable'] = array
20
-(
21
-	'label'                   => &$GLOBALS['TL_LANG']['tl_module']['editable'],
22
-	'exclude'                 => true,
23
-	'inputType'               => 'multiColumnWizard',
24
-//	'options_callback'        => array('tl_module', 'getEditableMemberProperties'),
25
-	'eval' 			          => array
26
-	(
27
-		'columnFields' => array
28
-		(
29
-			'eSM_editable' => array
30
-			(
31
-				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_field'],
32
-				'exclude'               => true,
33
-				'inputType'             => 'select',
34
-				'options_callback'      => array('tl_module', 'getEditableMemberProperties'),
35
-				'eval'                  => array('style'=>'width:250px', 'includeBlankOption'=>true, 'chosen'=>true, 'mandatory'=>true)
36
-			),
37
-			'eSM_class' => array
38
-			(
39
-				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_col'],
40
-				'exclude'               => true,
41
-				'inputType'             => 'select',
42
-				'options'               => array(10, 11, 15, '16_5', 20, 22, 25, 30, 33, 35, 40, 44, 45, 50, 55, 60, 65, 66, 70, 75, 80, 85, 90, 95, 100),
43
-				'eval'                  => array('style'=>'width:50px', 'includeBlankOption'=>true)
44
-			),
45
-			'eSM_clr' => array
46
-			(
47
-				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_clear'],
48
-				'exclude'               => true,
49
-				'inputType'             => 'checkbox'
50
-			),
51
-			'eSM_mandatory' => array
52
-			(
53
-				'label'                 => &$GLOBALS['TL_LANG']['tl_module']['eSM_editable_mandatory'],
54
-				'exclude'               => true,
55
-				'inputType'             => 'checkbox'
56
-			)
57
-		),
58
-		'tl_class' => ''
59
-	),
60
-	'sql'                     => "blob NULL"
61
-);
62 0
\ No newline at end of file
63 1
deleted file mode 100644
... ...
@@ -1,22 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * eSales Media Formilicious for Contao Open Source CMS
5
- *
6
- * Copyright (C) 2013-2014 eSalesMedia
7
- *
8
- * @package    eSM_formilicious
9
- * @link       http://www.esales-media.de
10
- * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
- *
12
- * @author     Benjamin Roth <benjamin@esales-media.de>
13
- */
14
-
15
-/**
16
- * Miscellaneous
17
- */
18
-
19
-if (TL_MODE == 'FE')
20
-{
21
-	$GLOBALS['TL_LANG']['MSC']['confirmation'] = 'Passwort wiederholen';
22
-}
23 0
\ No newline at end of file
24 1
deleted file mode 100644
... ...
@@ -1,66 +0,0 @@
1
-<?php
2
-
3
-/**
4
- * eSales Media Formilicious for Contao Open Source CMS
5
- *
6
- * Copyright (C) 2013-2014 eSalesMedia
7
- *
8
- * @package    eSM_formilicious
9
- * @link       http://www.esales-media.de
10
- * @license    http://www.gnu.org/licenses/lgpl-3.0.html LGPL
11
- *
12
- * @author     Benjamin Roth <benjamin@esales-media.de>
13
- */
14
-
15
-
16
-/**
17
- * Fields
18
- */
19
-$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_clear']  = array('Neue Zeile', 'Erzwingt einen Zeilenumbruch');
20
-$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_width']  = array('Feldbreite', 'Die gewünschte Feldbreite in Prozent');
21
-$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_class']  = array('Widget-Container CSS-Klasse', 'Eigene CSS-Klassen im Widget-Container ergänzen');
22
-$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_lblpadding']  = array('Oberer Abstand', 'Fügt einen Abstand über dem Button ein, damit dieser auf der gleichen Höhe wie andere Formularfelder steht.');
23
-$GLOBALS['TL_LANG']['tl_form_field']['eSM_fl_alignment']  = array('Button-Ausrichtung', 'Die Ausrichtung des Buttons.');
24
-
25
-/**
26
- * Legends
27
- */
28
-$GLOBALS['TL_LANG']['tl_form_field']['formilicious_legend']  = 'Formilicious Framework';
29
-
30
-/**
31
- * References
32
- */
33
-$GLOBALS['TL_LANG']['tl_form_field']['ref_width']     = array
34
-(
35
-	10  => '10 %',
36
-	11  => '11 %',
37
-	15  => '15 %',
38
-	'16_5'  => '16,5 %',
39
-	20  => '20 %',
40
-	22  => '22 %',
41
-	25  => '25 %',
42
-	30  => '30 %',
43
-	33  => '33 %',
44
-	35  => '35 %',
45
-	40  => '40 %',
46
-	44  => '44 %',
47
-	45  => '45 %',
48
-	50  => '50 %',
49
-	55  => '55 %',
50
-	60  => '60 %',
51
-	65  => '65 %',
52
-	66  => '66 %',
53
-	70  => '70 %',
54
-	75  => '75 %',
55
-	80  => '80 %',
56
-	85  => '85 %',
57
-	90  => '90 %',
58
-	95  => '95 %',
59
-	100 => '100 %',
60
-);
61
-
62
-$GLOBALS['TL_LANG']['tl_form_field']['ref_alignment']     = array
63
-(
64
-	'fl_left'  => 'Links',
65
-	'fl_right'  => 'Rechts',
66
-);
67 0
\ No newline at end of file
68 1
deleted file mode 100644
... ...
@@ -1,35 +0,0 @@
1
-<?php 
2
-
3
-/**
4
- * Contao Open Source CMS
5
- * 
6
- * Copyright (C) 2005-2012 Leo Feyer
7
- * 
8
- * @package   eSM_reisen 
9
- * @author    Benjamin Roth <benjamin@esales-media.de> 
10
- * @license   commercial 
11
- * @copyright eSales Media 2012 
12
- */
13
-
14
-
15
-/**
16
- * Fields
17
- */
18
-$GLOBALS['TL_LANG']['tl_member']['salutation']        = array('Anrede', 'Bitte wählen Sie die Anrede');
19
-$GLOBALS['TL_LANG']['tl_member']['title']             = array('Titel', 'Bitte geben Sie den Titel ein');
20
-$GLOBALS['TL_LANG']['tl_member']['postal']            = array('PLZ', 'Bitte geben Sie die Postleitzahl ein');
21
-$GLOBALS['TL_LANG']['tl_member']['addressSupplement'] = array('Adresszusatz', 'Bitte geben Sie den Adresszusatz ein');
22
-$GLOBALS['TL_LANG']['tl_member']['email']             = array('E-Mail', $GLOBALS['TL_LANG']['tl_member']['email'][1]);
23
-$GLOBALS['TL_LANG']['tl_member']['street']            = array('Straße, Nr.', $GLOBALS['TL_LANG']['tl_member']['street'][1]);
24
-$GLOBALS['TL_LANG']['tl_member']['partnerCode']       = array('Reisebüro PID <span class="info">(falls vorhanden)</span>', 'singlereisen.de Affiliate-Code von Partnern');
25
-
26
-/**
27
- * FE groups
28
- */
29
-$GLOBALS['TL_LANG']['tl_member']['captchaDetails']    = &$GLOBALS['TL_LANG']['MSC']['securityQuestion'];
30
-
31
-/**
32
- * References
33
- */
34
-$GLOBALS['TL_LANG']['MSC']['miss']      = 'Frau';
35
-$GLOBALS['TL_LANG']['MSC']['mister']    = 'Herr';
36 0
new file mode 100644
... ...
@@ -0,0 +1,414 @@
1
+/**
2
+ * Fomrilicious for Contao Open Source CMS
3
+ *
4
+ * Copyright (C) 2013-2014 eSalesMedia
5
+ *
6
+ * @package eSM_formilicious
7
+ * @link    http://www.esales-media.de
8
+ * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL
9
+ *
10
+ * @author  Benjamin Roth <benjamin@esales-media.de>
11
+ */
12
+
13
+/**
14
+ *
15
+ */
16
+input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="email"],
17
+input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea, select {
18
+	width:100%;
19
+	-moz-box-sizing: border-box;
20
+	-webkit-box-sizing: border-box;
21
+	box-sizing: border-box;
22
+}
23
+
24
+.widget input.captcha {
25
+	max-width: 4em;
26
+}
27
+
28
+
29
+/**
30
+ * Fieldset Styles
31
+ */
32
+.formbody {
33
+	display: grid;
34
+	grid-gap: 10px;
35
+	row-gap: 0.75em;
36
+	grid-template-columns: repeat(12, 1fr);
37
+	align-items: end;
38
+}
39
+.formbody > fieldset {
40
+	grid-column-start: 1;
41
+	grid-column: auto / span 12;
42
+}
43
+.formbody .widget.w10 { grid-column: auto / span 2; }
44
+.formbody .widget.w11 { grid-column: auto / span 2; }
45
+.formbody .widget.w15 { grid-column: auto / span 2; }
46
+.formbody .widget.w16_5 { grid-column: auto / span 2; }
47
+.formbody .widget.w20 { grid-column: auto / span 3; }
48
+.formbody .widget.w22 { grid-column: auto / span 3; }
49
+.formbody .widget.w25 { grid-column: auto / span 3; }
50
+.formbody .widget.w30 { grid-column: auto / span 4; }
51
+.formbody .widget.w33 { grid-column: auto / span 4; }
52
+.formbody .widget.w35 { grid-column: auto / span 5; }
53
+.formbody .widget.w40 { grid-column: auto / span 5; }
54
+.formbody .widget.w44 { grid-column: auto / span 6; }
55
+.formbody .widget.w45 { grid-column: auto / span 6; }
56
+.formbody .widget.w50 { grid-column: auto / span 6; }
57
+.formbody .widget.w55 { grid-column: auto / span 7; }
58
+.formbody .widget.w60 { grid-column: auto / span 8; }
59
+.formbody .widget.w65 { grid-column: auto / span 8; }
60
+.formbody .widget.w66 { grid-column: auto / span 8; }
61
+.formbody .widget.w70 { grid-column: auto / span 9; }
62
+.formbody .widget.w75 { grid-column: auto / span 9; }
63
+.formbody .widget.w80 { grid-column: auto / span 10; }
64
+.formbody .widget.w85 { grid-column: auto / span 11; }
65
+.formbody .widget.w90 { grid-column: auto / span 11; }
66
+.formbody .widget.w95 { grid-column: auto / span 11; }
67
+.formbody .widget.w100 { grid-column: auto / span 12; }
68
+
69
+.formbody .widget.clr { grid-column-start: 1 }
70
+
71
+@media screen and (max-width: 599px) {
72
+	.formbody .widget.w10,
73
+	.formbody .widget.w11,
74
+	.formbody .widget.w15,
75
+	.formbody .widget.w16_5,
76
+	.formbody .widget.w20,
77
+	.formbody .widget.w22,
78
+	.formbody .widget.w25,
79
+	.formbody .widget.w30,
80
+	.formbody .widget.w33,
81
+	.formbody .widget.w35,
82
+	.formbody .widget.w40,
83
+	.formbody .widget.w44,
84
+	.formbody .widget.w45,
85
+	.formbody .widget.w50,
86
+	.formbody .widget.w55,
87
+	.formbody .widget.w60,
88
+	.formbody .widget.w65,
89
+	.formbody .widget.w66,
90
+	.formbody .widget.w70,
91
+	.formbody .widget.w75,
92
+	.formbody .widget.w80,
93
+	.formbody .widget.w85,
94
+	.formbody .widget.w90,
95
+	.formbody .widget.w95,
96
+	.formbody .widget.w100 {
97
+		grid-column: auto / span 12;
98
+		grid-column-start: 1;
99
+	}
100
+}
101
+
102
+/*
103
+.formbody > fieldset legend {
104
+	color: inherit;
105
+	font-size: 123%;
106
+	line-height: 2;
107
+	font-weight: normal;
108
+	border-bottom: inherit 3px solid;
109
+	margin-bottom: 1em;
110
+}
111
+
112
+.widget .radio_container legend,
113
+.widget .checkbox_container legend {
114
+	color: inherit;
115
+	font-size: 100%;
116
+	font-weight: normal;
117
+	border-bottom: none;
118
+	display: block;
119
+	margin-bottom: 0.4em;
120
+	line-height: 1.5em;
121
+}
122
+
123
+.widget .checkbox_container label,
124
+.widget .radio_container label {
125
+	font-weight: normal;
126
+	display: inline;
127
+	margin-bottom: 0;
128
+}
129
+
130
+.widget .checkbox_container > span,
131
+.widget .radio_container > span {
132
+	display: block;
133
+}
134
+
135
+!**
136
+ * Headline Styles
137
+ *!
138
+
139
+.widget.headline {
140
+	margin-top: 1em;
141
+	!*color: #d7ae6e;*!
142
+	font-size: 108%;
143
+	font-weight: bold;
144
+	min-height: 1.5em;
145
+}
146
+
147
+!**
148
+ * Widget Styles
149
+ *!
150
+.widget {
151
+	padding: 0 10px;
152
+	margin-bottom: 0.5em;
153
+	-webkit-box-sizing: border-box;
154
+	-moz-box-sizing: border-box;
155
+	box-sizing: border-box;
156
+	min-height: 4em;
157
+	float: left;
158
+	width: 100%;
159
+}
160
+
161
+.widget.cbx {
162
+	min-height: 1.5em;
163
+	height: 1.5em;
164
+	padding: 4px 10px;
165
+}
166
+
167
+.widget label {
168
+	display: block;
169
+	margin-bottom: 0.4em;
170
+	line-height: 1.5em;
171
+}
172
+
173
+!*.widget.error label {
174
+	color: #E23E15;
175
+}*!
176
+.widget.error input,
177
+.widget.error select,
178
+.widget.error textarea {
179
+	border-color: #E23E15;
180
+}
181
+
182
+.widget p.error {
183
+	font-size: 85%;
184
+	margin-top: -0.4em;
185
+	margin-bottom: 0.4em;
186
+}
187
+
188
+.widget.error .errortip {
189
+	background-color: rgb(226, 62, 21);
190
+	border-bottom-left-radius: 50%;
191
+	border-bottom-right-radius: 50%;
192
+	border-top-left-radius: 50%;
193
+	border-top-right-radius: 50%;
194
+	color: rgb(255, 255, 255);
195
+	cursor: help;
196
+	display: block;
197
+	float: right;
198
+	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
199
+	font-size: 13px;
200
+	font-style: normal;
201
+	font-variant: normal;
202
+	font-weight: normal;
203
+	height: 15px;
204
+	line-height: 13px;
205
+	margin-top: 3.25px;
206
+	text-align: center;
207
+	vertical-align: top;
208
+	width: 15px;
209
+}
210
+
211
+.submit_container {
212
+	!*padding-top: 1.9em;*!
213
+	min-height: 2.1em;
214
+}
215
+
216
+.widget.w10 { float: left; width: 10%; }
217
+.widget.w11 { float: left; width: 11.111%; }
218
+.widget.w15 { float: left; width: 15%; }
219
+.widget.w16_5 { float: left; width: 16.6665%; }
220
+.widget.w20 { float: left; width: 20%; }
221
+.widget.w22 { float: left; width: 22.222%; }
222
+.widget.w25 { float: left; width: 25%; }
223
+.widget.w30 { float: left; width: 30%; }
224
+.widget.w33 { float: left; width: 33.333%; }
225
+.widget.w35 { float: left; width: 35%; }
226
+.widget.w40 { float: left; width: 40%; }
227
+.widget.w44 { float: left; width: 44.444%; }
228
+.widget.w45 { float: left; width: 45%; }
229
+.widget.w50 { float: left; width: 50%; }
230
+.widget.w55 { float: left; width: 55%; }
231
+.widget.w60 { float: left; width: 60%; }
232
+.widget.w65 { float: left; width: 65%; }
233
+.widget.w66 { float: left; width: 66.666%; }
234
+.widget.w70 { float: left; width: 70%; }
235
+.widget.w75 { float: left; width: 75%; }
236
+.widget.w80 { float: left; width: 80%; }
237
+.widget.w85 { float: left; width: 85%; }
238
+.widget.w90 { float: left; width: 90%; }
239
+.widget.w95 { float: left; width: 95%; }
240
+.widget.w100 { float: left; width: 100%; }
241
+
242
+
243
+.widget.clr,
244
+.formbody > fieldset {
245
+	clear: left;
246
+}
247
+
248
+@media screen and (max-width: 43em) {
249
+	.widget.w10,
250
+	.widget.w11,
251
+	.widget.w15,
252
+	.widget.w16_5,
253
+	.widget.w20,
254
+	.widget.w22,
255
+	.widget.w25,
256
+	.widget.w30,
257
+	.widget.w33,
258
+	.widget.w35,
259
+	.widget.w40,
260
+	.widget.w44,
261
+	.widget.w45,
262
+	.widget.w50,
263
+	.widget.w55,
264
+	.widget.w60,
265
+	.widget.w65,
266
+	.widget.w66,
267
+	.widget.w70,
268
+	.widget.w75,
269
+	.widget.w80,
270
+	.widget.w85,
271
+	.widget.w90,
272
+	.widget.w95,
273
+	.widget.w100 { float: none; width: 100%; }
274
+}
275
+
276
+.widget.w10:before,
277
+.widget.w10:after,
278
+.widget.w11:before,
279
+.widget.w11:after,
280
+.widget.w15:before,
281
+.widget.w15:after,
282
+.widget.w16_5:before,
283
+.widget.w16_5:after,
284
+.widget.w20:before,
285
+.widget.w20:after,
286
+.widget.w22:before,
287
+.widget.w22:after,
288
+.widget.w25:before,
289
+.widget.w25:after,
290
+.widget.w30:before,
291
+.widget.w30:after,
292
+.widget.w33:before,
293
+.widget.w33:after,
294
+.widget.w35:before,
295
+.widget.w35:after,
296
+.widget.w40:before,
297
+.widget.w40:after,
298
+.widget.w44:before,
299
+.widget.w44:after,
300
+.widget.w45:before,
301
+.widget.w45:after,
302
+.widget.w50:before,
303
+.widget.w50:after,
304
+.widget.w55:before,
305
+.widget.w55:after,
306
+.widget.w60:before,
307
+.widget.w60:after,
308
+.widget.w65:before,
309
+.widget.w65:after,
310
+.widget.w66:before,
311
+.widget.w66:after,
312
+.widget.w70:before,
313
+.widget.w70:after,
314
+.widget.w75:before,
315
+.widget.w75:after,
316
+.widget.w80:before,
317
+.widget.w80:after,
318
+.widget.w85:before,
319
+.widget.w85:after,
320
+.widget.w90:before,
321
+.widget.w90:after,
322
+.widget.w95:before,
323
+.widget.w95:after,
324
+.widget.w100:before,
325
+.widget.w100:after,
326
+form:before,
327
+form:after {
328
+	content: " "; !* 1 *!
329
+	display: table; !* 2 *!
330
+}
331
+
332
+.widget.w10:after,
333
+.widget.w11:after,
334
+.widget.w15:after,
335
+.widget.w16_5:after,
336
+.widget.w20:after,
337
+.widget.w22:after,
338
+.widget.w25:after,
339
+.widget.w30:after,
340
+.widget.w33:after,
341
+.widget.w35:after,
342
+.widget.w40:after,
343
+.widget.w44:after,
344
+.widget.w45:after,
345
+.widget.w50:after,
346
+.widget.w55:after,
347
+.widget.w66:after,
348
+.widget.w65:after,
349
+.widget.w70:after,
350
+.widget.w75:after,
351
+.widget.w80:after,
352
+.widget.w85:after,
353
+.widget.w90:after,
354
+.widget.w95:after,
355
+.widget.w100:after,
356
+form:after {
357
+	clear: both;
358
+}
359
+
360
+.widget.widget-split input[type="text"],
361
+.widget.widget-split input[type="password"],
362
+.widget.widget-split input[type="date"],
363
+.widget.widget-split input[type="datetime"],
364
+.widget.widget-split input[type="email"],
365
+.widget.widget-split input[type="number"],
366
+.widget.widget-split input[type="search"],
367
+.widget.widget-split input[type="tel"],
368
+.widget.widget-split input[type="time"],
369
+.widget.widget-split input[type="url"],
370
+.widget.widget-split textarea,
371
+.widget.widget-split select
372
+{
373
+	max-width: 50% !important;
374
+	min-width: 10% !important;
375
+	float: left;
376
+	margin-right: 10px;
377
+	display: inline;
378
+}
379
+
380
+.widget.widget-split.widget-split-3 input { max-width: 30% !important; }
381
+.widget.widget-split.widget-split-3 input[type="submit"] { max-width: 70% !important; }
382
+.widget.widget-split.widget-split-4 input { max-width: 40% !important; }
383
+.widget.widget-split.widget-split-4 input[type="submit"] { max-width: 60% !important; }
384
+.widget.widget-split.widget-split-5 input { max-width: 50% !important; }
385
+.widget.widget-split.widget-split-5 input[type="submit"] { max-width: 50% !important; }
386
+.widget.widget-split.widget-split-6 input { max-width: 60% !important; }
387
+.widget.widget-split.widget-split-6 input[type="submit"] { max-width: 40% !important; }
388
+.widget.widget-split.widget-split-7 input { max-width: 70% !important; }
389
+.widget.widget-split.widget-split-7 input[type="submit"] { max-width: 30% !important; }
390
+
391
+
392
+.widget.fl_right input[type="submit"],
393
+.submit_container.fl_right .submit {
394
+	float: right;
395
+}
396
+
397
+.widget.lblp {
398
+	padding-top: 1.9em;
399
+	min-height: 2.1em;
400
+}
401
+
402
+.widget.autoh {
403
+	min-height: 0;
404
+}
405
+
406
+!**
407
+ * For IE 6/7 only
408
+ * Include this rule to trigger hasLayout and contain floats.
409
+ *!
410
+.widget,
411
+form {
412
+	*zoom: 1;
413
+}
414
+*/
0 415
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+input[type="text"],input[type="password"],input[type="date"],input[type="datetime"],input[type="email"],input[type="number"],input[type="search"],input[type="tel"],input[type="time"],input[type="url"],textarea,select{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.widget input.captcha{max-width:4em}.formbody>fieldset{clear:left}.formbody>fieldset legend{color:inherit;font-size:123%;line-height:2;font-weight:normal;border-bottom:inherit 3px solid;margin-bottom:1em}.widget .radio_container legend,.widget .checkbox_container legend{color:inherit;font-size:100%;font-weight:normal;border-bottom:0;display:block;margin-bottom:.4em;line-height:1.5em}.widget .checkbox_container label,.widget .radio_container label{font-weight:normal;display:inline;margin-bottom:0}.widget .checkbox_container>span,.widget .radio_container>span{display:block}.widget.headline{margin-top:1em;font-size:108%;font-weight:bold;min-height:1.5em}.widget{padding:0 10px;margin-bottom:.5em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;min-height:4em;float:left;width:100%}.widget.cbx{min-height:1.5em;height:1.5em;padding:4px 10px}.widget label{display:block;margin-bottom:.4em;line-height:1.5em}.widget.error input,.widget.error select,.widget.error textarea{border-color:#e23e15}.widget p.error{font-size:85%;margin-top:-0.4em;margin-bottom:.4em}.widget.error .errortip{background-color:#e23e15;border-bottom-left-radius:50%;border-bottom-right-radius:50%;border-top-left-radius:50%;border-top-right-radius:50%;color:#fff;cursor:help;display:block;float:right;font-family:'Open Sans',Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;height:15px;line-height:13px;margin-top:3.25px;text-align:center;vertical-align:top;width:15px}.submit_container{min-height:2.1em}.widget.w10{float:left;width:10%}.widget.w11{float:left;width:11.111%}.widget.w15{float:left;width:15%}.widget.w16_5{float:left;width:16.6665%}.widget.w20{float:left;width:20%}.widget.w22{float:left;width:22.222%}.widget.w25{float:left;width:25%}.widget.w30{float:left;width:30%}.widget.w33{float:left;width:33.333%}.widget.w35{float:left;width:35%}.widget.w40{float:left;width:40%}.widget.w44{float:left;width:44.444%}.widget.w45{float:left;width:45%}.widget.w50{float:left;width:50%}.widget.w55{float:left;width:55%}.widget.w60{float:left;width:60%}.widget.w65{float:left;width:65%}.widget.w66{float:left;width:66.666%}.widget.w70{float:left;width:70%}.widget.w75{float:left;width:75%}.widget.w80{float:left;width:80%}.widget.w85{float:left;width:85%}.widget.w90{float:left;width:90%}.widget.w95{float:left;width:95%}.widget.w100{float:left;width:100%}.widget.clr,.formbody>fieldset{clear:left}@media screen and (max-width:43em){.widget.w10,.widget.w11,.widget.w15,.widget.w16_5,.widget.w20,.widget.w22,.widget.w25,.widget.w30,.widget.w33,.widget.w35,.widget.w40,.widget.w44,.widget.w45,.widget.w50,.widget.w55,.widget.w60,.widget.w65,.widget.w66,.widget.w70,.widget.w75,.widget.w80,.widget.w85,.widget.w90,.widget.w95,.widget.w100{float:none;width:100%}}.widget.w10:before,.widget.w10:after,.widget.w11:before,.widget.w11:after,.widget.w15:before,.widget.w15:after,.widget.w16_5:before,.widget.w16_5:after,.widget.w20:before,.widget.w20:after,.widget.w22:before,.widget.w22:after,.widget.w25:before,.widget.w25:after,.widget.w30:before,.widget.w30:after,.widget.w33:before,.widget.w33:after,.widget.w35:before,.widget.w35:after,.widget.w40:before,.widget.w40:after,.widget.w44:before,.widget.w44:after,.widget.w45:before,.widget.w45:after,.widget.w50:before,.widget.w50:after,.widget.w55:before,.widget.w55:after,.widget.w60:before,.widget.w60:after,.widget.w65:before,.widget.w65:after,.widget.w66:before,.widget.w66:after,.widget.w70:before,.widget.w70:after,.widget.w75:before,.widget.w75:after,.widget.w80:before,.widget.w80:after,.widget.w85:before,.widget.w85:after,.widget.w90:before,.widget.w90:after,.widget.w95:before,.widget.w95:after,.widget.w100:before,.widget.w100:after,form:before,form:after{content:" ";display:table}.widget.w10:after,.widget.w11:after,.widget.w15:after,.widget.w16_5:after,.widget.w20:after,.widget.w22:after,.widget.w25:after,.widget.w30:after,.widget.w33:after,.widget.w35:after,.widget.w40:after,.widget.w44:after,.widget.w45:after,.widget.w50:after,.widget.w55:after,.widget.w66:after,.widget.w65:after,.widget.w70:after,.widget.w75:after,.widget.w80:after,.widget.w85:after,.widget.w90:after,.widget.w95:after,.widget.w100:after,form:after{clear:both}.widget.widget-split input[type="text"],.widget.widget-split input[type="password"],.widget.widget-split input[type="date"],.widget.widget-split input[type="datetime"],.widget.widget-split input[type="email"],.widget.widget-split input[type="number"],.widget.widget-split input[type="search"],.widget.widget-split input[type="tel"],.widget.widget-split input[type="time"],.widget.widget-split input[type="url"],.widget.widget-split textarea,.widget.widget-split select{max-width:50% !important;min-width:10% !important;float:left;margin-right:10px;display:inline}.widget.widget-split.widget-split-3 input{max-width:30% !important}.widget.widget-split.widget-split-3 input[type="submit"]{max-width:70% !important}.widget.widget-split.widget-split-4 input{max-width:40% !important}.widget.widget-split.widget-split-4 input[type="submit"]{max-width:60% !important}.widget.widget-split.widget-split-5 input{max-width:50% !important}.widget.widget-split.widget-split-5 input[type="submit"]{max-width:50% !important}.widget.widget-split.widget-split-6 input{max-width:60% !important}.widget.widget-split.widget-split-6 input[type="submit"]{max-width:40% !important}.widget.widget-split.widget-split-7 input{max-width:70% !important}.widget.widget-split.widget-split-7 input[type="submit"]{max-width:30% !important}.widget.fl_right input[type="submit"],.submit_container.fl_right .submit{float:right}.widget.lblp{padding-top:1.9em;min-height:2.1em}.widget.autoh{min-height:0}.widget,form{*zoom:1}
0 2
\ No newline at end of file
1 3
new file mode 100644
... ...
@@ -0,0 +1,30 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of formilicious bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace vonRotenberg\FormiliciousBundle\ContaoManager;
14
+
15
+use Contao\CoreBundle\ContaoCoreBundle;
16
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
17
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
18
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
19
+use vonRotenberg\FormiliciousBundle\VonrotenbergFormiliciousBundle;
20
+
21
+class Plugin implements BundlePluginInterface
22
+{
23
+    public function getBundles(ParserInterface $parser): array
24
+    {
25
+        return [
26
+            BundleConfig::create(VonrotenbergFormiliciousBundle::class)
27
+                ->setLoadAfter([ContaoCoreBundle::class]),
28
+        ];
29
+    }
30
+}
0 31
new file mode 100644
... ...
@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of formilicious bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace vonRotenberg\FormiliciousBundle\DependencyInjection;
14
+
15
+use Symfony\Component\Config\FileLocator;
16
+use Symfony\Component\DependencyInjection\ContainerBuilder;
17
+use Symfony\Component\DependencyInjection\Extension\Extension;
18
+use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
19
+
20
+class VonrotenbergFormiliciousExtension extends Extension
21
+{
22
+    public function load(array $configs, ContainerBuilder $container): void
23
+    {
24
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../../config'));
25
+        $loader->load('services.yml');
26
+    }
27
+}
0 28
new file mode 100644
... ...
@@ -0,0 +1,27 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of formilicious bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace vonRotenberg\FormiliciousBundle\EventListener;
14
+
15
+use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
16
+use Contao\LayoutModel;
17
+use Contao\PageModel;
18
+use Contao\PageRegular;
19
+
20
+#[AsHook('generatePage')]
21
+class GeneratePageListener
22
+{
23
+    public function __invoke(PageModel $pageModel, LayoutModel $layout, PageRegular $pageRegular): void
24
+    {
25
+        $GLOBALS['TL_CSS']['vr_formilicious'] = 'bundles/vonrotenbergformilicious/css/form.css|static';
26
+    }
27
+}
0 28
new file mode 100644
... ...
@@ -0,0 +1,61 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of formilicious bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace vonRotenberg\FormiliciousBundle\EventListener;
14
+
15
+use Contao\CoreBundle\DataContainer\PaletteManipulator;
16
+use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
17
+
18
+#[AsHook('loadDataContainer')]
19
+class LoadDataContainerListener
20
+{
21
+    /**
22
+     * Array containing all fields which shouldn't use Formilicous extensions
23
+     * @var array
24
+     */
25
+    protected $arrNoFl = array('__selector__','fieldsetStart','fieldsetStop','hidden','html','headline');
26
+
27
+    public function __invoke(string $table): void
28
+    {
29
+        if ($table != 'tl_form_field')
30
+        {
31
+            return;
32
+        }
33
+
34
+        // Hook in the Formilicious fields
35
+        if (is_array($GLOBALS['TL_DCA']['tl_form_field']['palettes']))
36
+        {
37
+            $palettes = array_diff(array_keys($GLOBALS['TL_DCA']['tl_form_field']['palettes']),$this->arrNoFl);
38
+
39
+            $PaletteManipulator = PaletteManipulator::create()
40
+                ->addLegend('formilicious_legend','expert_legend',PaletteManipulator::POSITION_BEFORE)
41
+                ->addField('eSM_fl_width','formilicious_legend',PaletteManipulator::POSITION_APPEND)
42
+                ->addField('eSM_fl_clear','formilicious_legend',PaletteManipulator::POSITION_APPEND)
43
+                ->addField('eSM_fl_class','formilicious_legend',PaletteManipulator::POSITION_APPEND)
44
+            ;
45
+
46
+            foreach ($palettes as $palette)
47
+            {
48
+                $pm = clone $PaletteManipulator;
49
+                if ($palette == 'submit')
50
+                {
51
+                    $pm
52
+                        ->addField('eSM_fl_lblpadding','formilicious_legend',PaletteManipulator::POSITION_APPEND)
53
+                        ->addField('eSM_fl_alignment','formilicious_legend',PaletteManipulator::POSITION_APPEND)
54
+                    ;
55
+                }
56
+                $pm->applyToPalette($palette,'tl_form_field');
57
+            }
58
+        }
59
+    }
60
+
61
+}
0 62
new file mode 100644
... ...
@@ -0,0 +1,52 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of formilicious bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace vonRotenberg\FormiliciousBundle\EventListener;
14
+
15
+use Contao\CoreBundle\DependencyInjection\Attribute\AsHook;
16
+use Contao\Form;
17
+use Contao\Widget;
18
+
19
+#[AsHook('loadFormField')]
20
+class LoadFormFieldListener
21
+{
22
+    public function __invoke(Widget $widget, string $formId, array $formData, Form $form): Widget
23
+    {
24
+
25
+        if ($widget->eSM_fl_width)
26
+        {
27
+            $widget->prefix.= ' w' . $widget->eSM_fl_width;
28
+        }
29
+
30
+        if ($widget->eSM_fl_class)
31
+        {
32
+            $widget->prefix.= ' ' . $widget->eSM_fl_class;
33
+        }
34
+
35
+        if ($widget->eSM_fl_clear)
36
+        {
37
+            $widget->prefix.= ' clr';
38
+        }
39
+
40
+        if ($widget->eSM_fl_lblpadding)
41
+        {
42
+            $widget->prefix.= ' lblp';
43
+        }
44
+
45
+        if ($widget->eSM_fl_alignment)
46
+        {
47
+            $widget->prefix.= ' ' . $widget->eSM_fl_alignment;
48
+        }
49
+
50
+        return $widget;
51
+    }
52
+}
0 53
new file mode 100644
... ...
@@ -0,0 +1,23 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of formilicious bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license LGPL-3.0-or-later
11
+ */
12
+
13
+namespace vonRotenberg\FormiliciousBundle;
14
+
15
+use Symfony\Component\HttpKernel\Bundle\Bundle;
16
+
17
+class VonrotenbergFormiliciousBundle extends Bundle
18
+{
19
+    public function getPath(): string
20
+    {
21
+        return \dirname(__DIR__);
22
+    }
23
+}
0 24
deleted file mode 100644
... ...
@@ -1,30 +0,0 @@
1
-
2
-<!-- indexer::stop -->
3
-<div class="<?= $this->class; ?> <?php echo $this->tableless ? 'tableless' : 'tableform'; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
4
-
5
-  <?php if ($this->headline): ?>
6
-    <<?= $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
7
-  <?php endif; ?>
8
-
9
-  <form<?php if ($this->action): ?> action="<?= $this->action; ?>"<?php endif; ?> id="<?php echo $this->formId; ?>" method="<?php echo $this->method; ?>" enctype="<?php echo $this->enctype; ?>"<?php echo $this->attributes; ?><?php echo $this->novalidate; ?>>
10
-    <div class="formbody">
11
-      <?php if ($this->method != 'get'): ?>
12
-        <input type="hidden" name="FORM_SUBMIT" value="<?= $this->formSubmit; ?>">
13
-        <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
14
-        <?php if ($this->maxFileSize): ?>
15
-          <input type="hidden" name="MAX_FILE_SIZE" value="<?= $this->maxFileSize; ?>">
16
-        <?php endif; ?>
17
-      <?php endif; ?>
18
-      <?= $this->hidden; ?>
19
-      <?php if (!$this->tableless): ?>
20
-        <table>
21
-          <?= $this->fields; ?>
22
-        </table>
23
-      <?php else: ?>
24
-        <?= $this->fields; ?>
25
-      <?php endif; ?>
26
-    </div>
27
-  </form>
28
-
29
-</div>
30
-<!-- indexer::continue -->
31 0
deleted file mode 100644
... ...
@@ -1,37 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('label'); ?>
4
-<?php if ($this->hasErrors()): ?>
5
-  <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-<?php endif; ?>
7
-<?php if ($this->label): ?>
8
-  <label for="ctrl_<?= $this->id ?>"<?php if ($this->class): ?> class="<?= $this->class ?>"<?php endif; ?>>
9
-    <span class="invisible"><?= $this->mandatoryField ?> </span><?= $this->label ?><span class="mandatory">*</span>
10
-  </label>
11
-<?php endif; ?>
12
-<?php $this->endblock(); ?>
13
-
14
-<?php $this->block('field'); ?>
15
-<input type="text" name="<?= $this->name ?>" id="ctrl_<?= $this->id ?>" class="captcha mandatory<?php if ($this->class) echo ' ' . $this->class; ?>" value="" aria-describedby="captcha_text_<?= $this->id ?>"<?= $this->getAttributes() ?>>
16
-<span id="captcha_text_<?= $this->id ?>" class="captcha_text<?php if ($this->class) echo ' ' . $this->class; ?>"><?= $this->getQuestion() ?></span>
17
-<input type="hidden" name="<?= $this->name ?>_hash" value="<?= $this->getHash() ?>">
18
-
19
-<?php if (!$this->hasErrors()): ?>
20
-  <div style="display:none">
21
-    <label for="ctrl_<?= $this->id ?>_hp">Do not fill in this field</label>
22
-    <input type="text" name="<?= $this->name ?>_name" id="ctrl_<?= $this->id ?>_hp" value="">
23
-  </div>
24
-  <script>
25
-    var e = document.getElementById('ctrl_<?= $this->id ?>'),
26
-      p = e.parentNode, f = p.parentNode;
27
-
28
-    if ('fieldset' === f.nodeName.toLowerCase() && 1 === f.children.length) {
29
-      p = f;
30
-    }
31
-
32
-    p.style.display = 'none';
33
-    e.value = '<?= $this->getSum() ?>';
34
-  </script>
35
-<?php endif ?>
36
-
37
-<?php $this->endblock(); ?>
38 0
deleted file mode 100644
... ...
@@ -1,26 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('field'); ?>
4
-<?php if ($this->hasErrors()): ?>
5
-  <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-<?php endif; ?>
7
-  <fieldset id="ctrl_<?= $this->id; ?>" class="checkbox_container<?php if ($this->class) echo ' ' . $this->class; ?>">
8
-
9
-    <?php if ($this->label): ?>
10
-      <legend>
11
-        <?php if ($this->mandatory): ?>
12
-          <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
13
-        <?php else: ?>
14
-          <?= $this->label; ?>
15
-        <?php endif; ?>
16
-      </legend>
17
-    <?php endif; ?>
18
-
19
-    <input type="hidden" name="<?= $this->name; ?>" value="">
20
-
21
-    <?php foreach ($this->getOptions() as $option): ?>
22
-      <span><input type="checkbox" name="<?= $option['name']; ?>" id="opt_<?php echo $option['id']; ?>" class="checkbox" value="<?php echo $option['value']; ?>"<?php echo $option['checked']; ?><?php echo $option['attributes']; ?>> <label id="lbl_<?php echo $option['id']; ?>" for="opt_<?php echo $option['id']; ?>"><?php echo $option['label']; ?></label></span>
23
-    <?php endforeach; ?>
24
-
25
-  </fieldset>
26
-<?php $this->endblock(); ?>
27 0
deleted file mode 100644
... ...
@@ -1,14 +0,0 @@
1
-
2
-<?php if ($this->tableless): ?>
3
-
4
-  <div class="<?= $this->prefix; ?> explanation<?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?>">
5
-    <?= $this->generate(); ?>
6
-  </div>
7
-
8
-<?php else: ?>
9
-
10
-  <tr class="<?= $this->rowClass; ?>">
11
-    <td colspan="2" class="colspan explanation"><?= $this->generate(); ?></td>
12
-  </tr>
13
-
14
-<?php endif; ?>
15 0
deleted file mode 100644
... ...
@@ -1,13 +0,0 @@
1
-
2
-<?php if ($this->fsType == 'fsStart'): ?>
3
-
4
-  <fieldset<?php if ($this->class): ?> class="<?= $this->class; ?>"<?php endif; ?>>
5
-  <?php if ($this->label): ?>
6
-    <legend><?= $this->label; ?></legend>
7
-  <?php endif; ?>
8
-
9
-<?php else: ?>
10
-
11
-  </fieldset>
12
-
13
-<?php endif; ?>
14 0
deleted file mode 100644
... ...
@@ -1,14 +0,0 @@
1
-
2
-<?php if ($this->tableless): ?>
3
-
4
-  <div class="<?= $this->prefix; ?> headline w100">
5
-    <?= $this->generate(); ?>
6
-  </div>
7
-
8
-<?php else: ?>
9
-
10
-  <tr class="<?= $this->rowClass; ?>">
11
-    <td colspan="2" class="colspan headline"><?= $this->generate(); ?></td>
12
-  </tr>
13
-
14
-<?php endif; ?>
15 0
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-
2
-<input type="hidden" name="<?= $this->name; ?>" value="<?php echo $this->value; ?>">
3 0
deleted file mode 100644
... ...
@@ -1,2 +0,0 @@
1
-
2
-<?= $this->html; ?>
3 0
deleted file mode 100644
... ...
@@ -1,14 +0,0 @@
1
-
2
-<?php if ($this->tableless): ?>
3
-
4
-  <div class="<?= $this->class; ?>">
5
-    <?= $this->message; ?>
6
-  </div>
7
-
8
-<?php else: ?>
9
-
10
-  <tr class="<?= $this->class; ?>">
11
-    <td colspan="2"><div class="colspan"><?= $this->message; ?></div></td>
12
-  </tr>
13
-
14
-<?php endif; ?>
15 0
deleted file mode 100644
... ...
@@ -1,41 +0,0 @@
1
-<?php $this->extend('form_row_double'); ?>
2
-
3
-<?php $this->block('label'); ?>
4
-  <?php if ($this->hasErrors()): ?>
5
-    <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-  <?php endif; ?>
7
-
8
-  <?php if ($this->label): ?>
9
-    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
10
-      <?php if ($this->mandatory): ?>
11
-        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
12
-      <?php else: ?>
13
-        <?= $this->label; ?>
14
-      <?php endif; ?>
15
-    </label>
16
-  <?php endif; ?>
17
-<?php $this->endblock(); ?>
18
-
19
-<?php $this->block('field'); ?>
20
-  <input type="password" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
21
-
22
-  <?php if ($this->addSubmit): ?>
23
-    <input type="submit" id="ctrl_<?= $this->id; ?>_submit" class="submit" value="<?php echo $this->slabel; ?>">
24
-  <?php endif; ?>
25
-<?php $this->endblock(); ?>
26
-
27
-<?php $this->block('label2'); ?>
28
-  <?php if ($this->confirmLabel): ?>
29
-    <label for="ctrl_<?= $this->id; ?>_confirm" class="confirm<?php if ($this->class) echo ' ' . $this->class; ?>">
30
-      <?php if ($this->mandatory): ?>
31
-        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->confirmLabel; ?><span class="mandatory">*</span>
32
-      <?php else: ?>
33
-        <?= $this->confirmLabel; ?>
34
-      <?php endif; ?>
35
-    </label>
36
-  <?php endif; ?>
37
-<?php $this->endblock(); ?>
38
-
39
-<?php $this->block('field2'); ?>
40
-  <input type="password" name="<?= $this->name; ?>_confirm" id="ctrl_<?php echo $this->id; ?>_confirm" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
41
-<?php $this->endblock(); ?>
42 0
deleted file mode 100644
... ...
@@ -1,24 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('field'); ?>
4
-  <?php if ($this->hasErrors()): ?>
5
-  <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-  <?php endif; ?>
7
-  <fieldset id="ctrl_<?= $this->id; ?>" class="radio_container<?php if ($this->class) echo ' ' . $this->class; ?>">
8
-
9
-    <?php if ($this->label): ?>
10
-      <legend>
11
-        <?php if ($this->mandatory): ?>
12
-          <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
13
-        <?php else: ?>
14
-          <?= $this->label; ?>
15
-        <?php endif; ?>
16
-      </legend>
17
-    <?php endif; ?>
18
-
19
-    <?php foreach ($this->getOptions() as $option): ?>
20
-      <span><input type="radio" name="<?= $option['name']; ?>" id="opt_<?php echo $option['id']; ?>" class="radio" value="<?php echo $option['value']; ?>"<?php echo $option['checked']; ?><?php echo $option['attributes']; ?>> <label id="lbl_<?php echo $option['id']; ?>" for="opt_<?php echo $option['id']; ?>"><?php echo $option['label']; ?></label></span>
21
-    <?php endforeach; ?>
22
-
23
-  </fieldset>
24
-<?php $this->endblock(); ?>
25 0
deleted file mode 100644
... ...
@@ -1,8 +0,0 @@
1
-
2
-<div class="<?= $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?>">
3
-  <?php $this->block('label'); ?>
4
-  <?php $this->endblock(); ?>
5
-
6
-  <?php $this->block('field'); ?>
7
-  <?php $this->endblock(); ?>
8
-</div>
9 0
deleted file mode 100644
... ...
@@ -1,16 +0,0 @@
1
-
2
-<div class="<?= $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?>">
3
-  <?php $this->block('label'); ?>
4
-  <?php $this->endblock(); ?>
5
-
6
-  <?php $this->block('field'); ?>
7
-  <?php $this->endblock(); ?>
8
-</div>
9
-
10
-<div class="<?= $this->prefix; ?> confirm<?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?>">
11
-  <?php $this->block('label2'); ?>
12
-  <?php $this->endblock(); ?>
13
-
14
-  <?php $this->block('field2'); ?>
15
-  <?php $this->endblock(); ?>
16
-</div>
17 0
deleted file mode 100644
... ...
@@ -1,35 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('label'); ?>
4
-  <?php if ($this->hasErrors()): ?>
5
-    <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-  <?php endif; ?>
7
-
8
-  <?php if ($this->label): ?>
9
-    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
10
-      <?php if ($this->mandatory): ?>
11
-        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
12
-      <?php else: ?>
13
-        <?= $this->label; ?>
14
-      <?php endif; ?>
15
-    </label>
16
-  <?php endif; ?>
17
-<?php $this->endblock(); ?>
18
-
19
-<?php $this->block('field'); ?>
20
-  <select name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="<?php echo $this->class; ?>"<?php echo $this->getAttributes(); ?>>
21
-    <?php foreach ($this->getOptions() as $option): ?>
22
-      <?php if ($option['type'] == 'group_start'): ?>
23
-        <optgroup label="<?= $option['label']; ?>">
24
-      <?php endif; ?>
25
-
26
-      <?php if ($option['type'] == 'option'): ?>
27
-        <option value="<?= $option['value']; ?>"<?php echo $option['selected']; ?>><?php echo $option['label']; ?></option>
28
-      <?php endif; ?>
29
-
30
-      <?php if ($option['type'] == 'group_end'): ?>
31
-        </optgroup>
32
-      <?php endif; ?>
33
-    <?php endforeach; ?>
34
-  </select>
35
-<?php $this->endblock(); ?>
36 0
deleted file mode 100644
... ...
@@ -1,7 +0,0 @@
1
-<div class="submit_container widget<?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?= $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?><?php if ($this->eSM_fl_lblpadding): ?> lblp<?php endif; ?><?php if ($this->eSM_fl_alignment): ?> <?php echo $this->eSM_fl_alignment; ?><?php endif; ?>">
2
-  <?php if ($this->src): ?>
3
-    <input type="image" src="<?= $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
4
-  <?php else: ?>
5
-    <button type="submit" id="ctrl_<?= $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>><?php echo specialchars($this->slabel); ?></button>
6
-  <?php endif; ?>
7
-</div>
8 0
deleted file mode 100644
... ...
@@ -1,20 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('label'); ?>
4
-  <?php if ($this->hasErrors()): ?>
5
-    <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-  <?php endif; ?>
7
-  <?php if ($this->label): ?>
8
-    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
9
-      <?php if ($this->mandatory): ?>
10
-        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
11
-      <?php else: ?>
12
-        <?= $this->label; ?>
13
-      <?php endif; ?>
14
-    </label>
15
-  <?php endif; ?>
16
-<?php $this->endblock(); ?>
17
-
18
-<?php $this->block('field'); ?>
19
-  <textarea name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="textarea<?php if ($this->class) echo ' ' . $this->class; ?>" rows="<?php echo $this->rows; ?>" cols="<?php echo $this->cols; ?>"<?php echo $this->getAttributes(); ?>><?php echo $this->value; ?></textarea>
20
-<?php $this->endblock(); ?>
21 0
deleted file mode 100644
... ...
@@ -1,20 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('label'); ?>
4
-  <?php if ($this->hasErrors()): ?>
5
-    <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-  <?php endif; ?>
7
-  <?php if ($this->label): ?>
8
-    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
9
-      <?php if ($this->mandatory): ?>
10
-        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
11
-      <?php else: ?>
12
-        <?= $this->label; ?>
13
-      <?php endif; ?>
14
-    </label>
15
-  <?php endif; ?>
16
-<?php $this->endblock(); ?>
17
-
18
-<?php $this->block('field'); ?>
19
-  <input type="<?= $this->type; ?>" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text<?php if ($this->hideInput) echo ' password'; ?><?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->value); ?>"<?php echo $this->getAttributes(); ?>>
20
-<?php $this->endblock(); ?>
21 0
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-<?php $this->extend('form_row'); ?>
2
-
3
-<?php $this->block('label'); ?>
4
-  <?php if ($this->hasErrors()): ?>
5
-    <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span>
6
-  <?php endif; ?>
7
-
8
-  <?php if ($this->label): ?>
9
-    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
10
-      <?php if ($this->mandatory): ?>
11
-        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
12
-      <?php else: ?>
13
-        <?= $this->label; ?>
14
-      <?php endif; ?>
15
-    </label>
16
-  <?php endif; ?>
17
-<?php $this->endblock(); ?>
18
-
19
-<?php $this->block('field'); ?>
20
-  <input type="file" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="upload<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>>
21
-<?php $this->endblock(); ?>
22 0
deleted file mode 100644
... ...
@@ -1,9 +0,0 @@
1
-<?php if (!$this->tableless): ?>
2
-  <tr class="<?= $this->rowClass; ?>">
3
-    <td class="col_0 col_first"><?= $this->generateLabel(); ?></td>
4
-    <td class="col_1 col_last"><?= $this->generateWithError(); ?></td>
5
-  </tr>
6
-<?php else: ?>
7
-  <?= $this->generateLabel(); ?>
8
-  <?= $this->generateWithError(); ?><br>
9
-<?php endif; ?>
10 0
\ No newline at end of file
11 1
deleted file mode 100644
... ...
@@ -1,17 +0,0 @@
1
-<?= '<?'; ?>xml version="1.0" encoding="<?php echo $this->charset; ?>" standalone="yes" ?>
2
-<!DOCTYPE form [
3
-  <!ELEMENT form (field)+>
4
-  <!ELEMENT field (name, value+)>
5
-  <!ELEMENT name (#PCDATA)>
6
-  <!ELEMENT value (#PCDATA)>
7
-]>
8
-<form>
9
-  <?php foreach ($this->fields as $field): ?>
10
-    <field>
11
-      <name><?= $field['name']; ?></name>
12
-      <?php foreach ($field['values'] as $value): ?>
13
-        <value><?= $value; ?></value>
14
-      <?php endforeach; ?>
15
-    </field>
16
-  <?php endforeach; ?>
17
-</form>
18 0
\ No newline at end of file
19 1
deleted file mode 100644
... ...
@@ -1,3 +0,0 @@
1
-<?php $this->block('addSubmit'); ?>
2
-    <button type="submit" id="ctrl_<?= $this->id; ?>_submit" class="submit"><?php echo $this->slabel; ?></button>
3
-<?php $this->endblock(); ?>
4 0
deleted file mode 100644
... ...
@@ -1,6 +0,0 @@
1
-<?php
2
-
3
-// Add the formilicious style sheet
4
-$GLOBALS['TL_CSS']['formilicious'] = 'system/modules/eSM_formilicious/assets/css/form.min.css||static';
5
-
6
-?>
7 0
\ No newline at end of file