[TASK] Remove old language labels in EXT:setup
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / TypoScript / Elements / Inputtypebutton.ts
1 plugin.tx_form {
2                 # elementPartials
3                 # Used by: frontend, wizard (not implemented right now)
4                 # Overwritable by user: FALSE
5                 #
6                 # Defines the template selection array for the form wizard.
7                 # Each defined item is shown as option within the wizard.
8                 #
9                 # If there is no partialPath property in the userdefined TypoScript
10                 # then elementPartials.ELEMENTNAME.10.partialPath is the default.
11         view {
12                 elementPartials {
13                         INPUTTYPEBUTTON {
14                                 10 {
15                                         displayName = Default
16                                         partialPath = FlatElements/InputTypeButton
17                                 }
18                         }
19                 }
20         }
21
22         settings {
23                 registeredElements {
24                                 # INPUTTYPEBUTTON
25                                 # Used by: frontend, wizard (not implemented right now)
26                                 # Used ViewHelper: f:form.textfield
27                                 #
28                                 # Generates an element <input type="button" />
29                         INPUTTYPEBUTTON {
30                                         # htmlAttributes
31                                         # Used by: frontend, wizard (not implemented right now)
32                                         # Overwritable by user: FALSE
33                                         #
34                                         # Defines allowed HTML attributes for a specific element.
35                                         # Based on selfhtml documentation version 8.1.2 (see http://wiki.selfhtml.org/wiki/Referenz:HTML/).
36                                         # This is needed to detect and map these strings within the user configured element definition as HTML attributes.
37                                         # As soon as prefix-* is defined every attribute is registered automatically as HTML attribute.
38                                 htmlAttributes {
39                                                 # generic attributes
40                                         10 = id
41                                         20 = class
42                                         30 = accesskey
43                                         40 = contenteditable
44                                         50 = contextmenu
45                                         60 = dir
46                                         70 = draggable
47                                         80 = dropzone
48                                         90 = hidden
49                                         100 = lang
50                                         110 = spellcheck
51                                         120 = style
52                                         130 = tabindex
53                                         140 = title
54                                         150 = data-*
55                                         160 = translate
56                                                 # element specific attributes
57                                         200 = type
58                                         210 = autofocus
59                                         220 = disabled
60                                         230 = name
61                                         240 = value
62                                 }
63
64                                         # fixedHtmlAttributeValues
65                                         # Used by: frontend, wizard (not implemented right now)
66                                         # Overwritable by user: FALSE
67                                         #
68                                         # The following values are automatically set as attributes.
69                                 fixedHtmlAttributeValues {
70                                         type = button
71                                 }
72
73                                         # htmlAttributesUsedByTheViewHelperDirectly
74                                         # Used by: frontend
75                                         # Overwritable by user: FALSE
76                                         #
77                                         # Each HTML attribute defined at ".htmlAttributes" is available as array within the model.
78                                         # This array will be added to the resulting HTML tag.
79                                         # For this purpose the Fluid argument "additionalAttributes" of the ViewHelper is used.
80                                         #
81                                         # Some HTML attributes have to be assigned directly as an argument to the ViewHelper.
82                                         # The htmlAttributesUsedByTheViewHelperDirectly map is used to remove the specified
83                                         # HTML attribute from the "htmlAttributes" array and sets it for the model's "additionalArguments" array.
84                                         #
85                                         # There are two attributes which special behavior:
86                                         #       * disabled
87                                         #       * readonly
88                                         # These attributes can be assigned to the most ViewHelpers but whenever a "disabled" attribute appears
89                                         # the browser will disable this element no matter of the value.
90                                         # See: https://forge.typo3.org/issues/42474
91                                         # Therefore it is held in the htmlAttributes array and the code removes this attribute if its value is set to 0.
92                                 htmlAttributesUsedByTheViewHelperDirectly {
93                                                 # generic attributes
94                                         10 = class
95                                         20 = dir
96                                         30 = id
97                                         40 = lang
98                                         50 = style
99                                         60 = title
100                                         70 = accesskey
101                                         80 = tabindex
102                                         90 = onclick
103                                         100 = name
104                                         110 = value
105                                                 # TextfieldViewHelper
106                                         120 = type
107                                 }
108
109                                         # partialPath
110                                         # Used by: frontend, wizard (not implemented right now)
111                                         # Overwritable by user: TRUE
112                                         #
113                                         # The defined partial is used to render the element.
114                                         # The partial paths to the element are build based on the following rule:
115                                         # {$plugin.tx_form.view.partialRootPath}/{$themeName}/@actionName/{$partialPath}.
116                                 partialPath =< plugin.tx_form.view.elementPartials.INPUTTYPEBUTTON.10.partialPath
117
118                                         # visibleInShowAction
119                                         # Used by: frontend
120                                         # Overwritable by user: TRUE
121                                         #
122                                         # If set to 1 this element is displayed in the form.
123                                         # @ToDo: add more details
124                                 visibleInShowAction = 1
125
126                                         # visibleInConfirmationAction
127                                         # Used by: frontend
128                                         # Overwritable by user: TRUE
129                                         #
130                                         # If set to 1 this element is displayed in the confirmation page.
131                                         # @ToDo: add more details
132                                 visibleInConfirmationAction = 0
133
134                                         # visibleInProcessAction
135                                         # Used by: frontend
136                                         # Overwritable by user: TRUE
137                                         #
138                                         # If set to 1 this element is displayed in the mail.
139                                         # @ToDo: add more details
140                                 visibleInMail = 0
141                         }
142                 }
143         }
144 }