[BUGFIX] Prevent type hinting for user functions in EM configuration
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Templates / Configuration / ShowConfigurationForm.html
1 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
2 <f:layout name="main" />
3 <f:section name="docHeaderRow1">
4 <f:be.buttons.icon uri="{f:uri.action(action:'index',controller:'List',additionalParams:{search:extension.key})}" icon="actions-view-go-back" title="{f:translate(key:'extConfTemplate.backToList')}" />
5 </f:section>
6 <f:section name="docHeaderRow2">
7 </f:section>
8 <f:section name="Content">
9 <div id="typo3-extension-configuration-forms">
10 <h2>
11 <f:translate key="extConfTemplate.headline" />
12 {extension.key}
13 </h2>
14 <div class="tabs">
15 <ul>
16 <f:for each="{configuration}" as="category">
17 <f:if condition="{category.name}">
18 <li><a href="javascript:void(0);">{category.name}</a></li>
19 </f:if>
20 </f:for>
21 </ul>
22 <f:for each="{configuration}" as="category">
23 <f:if condition="{category.name}">
24 <div class="category">
25 <f:for each="{category.subcategories}" as="subcategory">
26 <div class="subcategory">
27 <f:form action="save" name="{subcategory.name}" class="validate">
28 <f:form.hidden name="extensionKey" value="{extension.key}" />
29 <f:for each="{subcategory.items}" as="item">
30 <div>
31
32 <label for="{item.name}">
33 <h3>{item.labelHeadline} <span class="info">[{category.name}.{item.name}]</span></h3>
34 {item.labelText} </label><br />
35 <f:if condition="{item.highlight}">
36 <span style="background:red; padding:1px 2px; color:#fff; font-weight:bold;">{item.highlight}</span>
37 </f:if>
38 <em:form.typoScriptConstants configuration="{item}" />
39 <f:if condition="{0: item.type} != {0: 'user'}">
40 <f:then>
41 <f:alias map="{label: '{f:translate(key: \'extConfTemplate.type.{item.type}\')}'}">
42 <f:if condition="{label}">
43 <f:then>
44 <span class="info">({label})</span>
45 </f:then>
46 </f:if>
47 </f:alias>
48 </f:then>
49 </f:if>
50 </div>
51 </f:for>
52 <f:form.submit value="{f:translate(key:'extConfTemplate.submitButton')}" />
53 </f:form>
54 </div>
55 </f:for>
56 <f:if condition="{category.highlightText}">
57 {category.highlightText->f:format.raw()}
58 </f:if>
59 </div>
60 </f:if>
61 </f:for>
62 </div>
63 </div>
64 </f:section>