[BUGFIX] Move EM extension configuration save button to DocHeader
[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
4 <f:section name="docheader-buttons">
5 <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')}" />
6 <f:be.buttons.icon uri="javascript:document.configurationform.submit();" icon="actions-document-save" title="{f:translate(key:'extConfTemplate.submitButton')}"/>
7 </f:section>
8
9 <f:section name="module-headline">
10 <h2>
11 <f:translate key="extConfTemplate.headline" />
12 {extension.key}
13 </h2>
14 </f:section>
15
16 <f:section name="Content">
17 <div id="typo3-extension-configuration-forms">
18 <div class="tabs">
19 <ul>
20 <f:for each="{configuration}" as="category">
21 <f:if condition="{category.name}">
22 <li><a href="javascript:void(0);">{category.name}</a></li>
23 </f:if>
24 </f:for>
25 </ul>
26 <f:form action="save" name="configurationform" class="validate">
27 <f:form.hidden name="extensionKey" value="{extension.key}" />
28 <f:for each="{configuration}" as="category">
29 <f:if condition="{category.name}">
30 <div class="category">
31 <f:for each="{category.subcategories}" as="subcategory">
32 <div class="subcategory">
33 <f:if condition="{subcategory.label}">
34 <f:then>
35 <h3>{subcategory.label}</h3>
36 </f:then>
37 <f:else>
38 <f:if condition="{category.subcategories->f:count()} > 1">
39 <h3><f:translate key="extConfTemplate.other" /></h3>
40 </f:if>
41 </f:else>
42 </f:if>
43 <f:for each="{subcategory.items}" as="item">
44 <div>
45 <label for="{item.name}">
46 <h4>{item.labelHeadline} <span class="info">[{category.name}.{item.name}]</span></h4>
47 {item.labelText} </label><br />
48 <f:if condition="{item.highlight}">
49 <span style="background:red; padding:1px 2px; color:#fff; font-weight:bold;">{item.highlight}</span>
50 </f:if>
51 <em:form.typoScriptConstants configuration="{item}" />
52 <f:if condition="{0: item.type} != {0: 'user'}">
53 <f:then>
54 <f:alias map="{label: '{f:translate(key: \'extConfTemplate.type.{item.type}\')}'}">
55 <f:if condition="{label}">
56 <f:then>
57 <span class="info">({label})</span>
58 </f:then>
59 </f:if>
60 </f:alias>
61 </f:then>
62 </f:if>
63 </div>
64 </f:for>
65 </div>
66 </f:for>
67 <f:if condition="{category.highlightText}">
68 {category.highlightText->f:format.raw()}
69 </f:if>
70 </div>
71 </f:if>
72 </f:for>
73 </f:form>
74 </div>
75 </div>
76 </f:section>