[TASK] Remove old language labels in EXT:setup
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Configuration / TypoScript / Elements / Buttontag.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                         BUTTONTAG {
14                                 10 {
15                                         displayName = Default
16                                         partialPath = FlatElements/ButtonTag
17                                 }
18                         }
19                 }
20         }
21
22         settings {
23                 registeredElements {
24                                 # BUTTONTAG
25                                 # Used by: frontend, wizard (not implemented right now)
26                                 # Used ViewHelper: f:form.button
27                                 #
28                                 # Generates an element <button type="..." />
29                         BUTTONTAG {
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 = autofocus
58                                         210 = disabled
59                                         220 = name
60                                         230 = type
61                                         240 = value
62                                 }
63
64                                         # htmlAttributesUsedByTheViewHelperDirectly
65                                         # Used by: frontend
66                                         # Overwritable by user: FALSE
67                                         #
68                                         # Each HTML attribute defined at ".htmlAttributes" is available as array within the model.
69                                         # This array will be added to the resulting HTML tag.
70                                         # For this purpose the Fluid argument "additionalAttributes" of the ViewHelper is used.
71                                         #
72                                         # Some HTML attributes have to be assigned directly as an argument to the ViewHelper.
73                                         # The htmlAttributesUsedByTheViewHelperDirectly map is used to remove the specified
74                                         # HTML attribute from the "htmlAttributes" array and sets it for the model's "additionalArguments" array.
75                                         #
76                                         # There are two attributes which special behavior:
77                                         #       * disabled
78                                         #       * readonly
79                                         # These attributes can be assigned to the most ViewHelpers but whenever a "disabled" attribute appears
80                                         # the browser will disable this element no matter of the value.
81                                         # See: https://forge.typo3.org/issues/42474
82                                         # Therefore it is held in the htmlAttributes array and the code removes this attribute if its value is set to 0.
83                                 htmlAttributesUsedByTheViewHelperDirectly {
84                                                 # generic attributes
85                                         10 = class
86                                         20 = dir
87                                         30 = id
88                                         40 = lang
89                                         50 = style
90                                         60 = title
91                                         70 = accesskey
92                                         80 = tabindex
93                                         90 = onclick
94                                         100 = name
95                                         110 = value
96                                                 # ButtonViewHelper
97                                         120 = autofocus
98                                         130 = type
99                                 }
100
101                                         # defaultHtmlAttributeValues
102                                         # Used by: frontend, wizard (not implemented right now)
103                                         # Overwritable by user: FALSE
104                                         #
105                                         # The following values are automatically set if there is no entry in the user configured element.
106                                 defaultHtmlAttributeValues {
107                                         type = button
108                                 }
109
110                                         # partialPath
111                                         # Used by: frontend, wizard (not implemented right now)
112                                         # Overwritable by user: TRUE
113                                         #
114                                         # The defined partial is used to render the element.
115                                         # The partial paths to the element are build based on the following rule:
116                                         # {$plugin.tx_form.view.partialRootPath}/{$themeName}/@actionName/{$partialPath}.
117                                 partialPath =< plugin.tx_form.view.elementPartials.BUTTONTAG.10.partialPath
118
119                                         # visibleInShowAction
120                                         # Used by: frontend
121                                         # Overwritable by user: TRUE
122                                         #
123                                         # If set to 1 this element is displayed in the form.
124                                         # @ToDo: add more details
125                                 visibleInShowAction = 1
126
127                                         # visibleInConfirmationAction
128                                         # Used by: frontend
129                                         # Overwritable by user: TRUE
130                                         #
131                                         # If set to 1 this element is displayed in the confirmation page.
132                                         # @ToDo: add more details
133                                 visibleInConfirmationAction = 0
134
135                                         # visibleInProcessAction
136                                         # Used by: frontend
137                                         # Overwritable by user: TRUE
138                                         #
139                                         # If set to 1 this element is displayed in the mail.
140                                         # @ToDo: add more details
141                                 visibleInMail = 0
142                         }
143                 }
144         }
145 }