35f2a62f8477aac89204280b5a94c723f38be9a0
[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 <h1>
11 <f:translate key="extConfTemplate.headline" />
12 {extension.key}
13 </h1>
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" key="categoryNumber">
21 <f:if condition="{category.name}">
22 <li><a href="#category-{categoryNumber}">{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" key="categoryNumber">
29 <f:if condition="{category.name}">
30 <div class="category" id="category-{categoryNumber}">
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 class="group">
45 <h4>{item.labelHeadline} <span class="info">[{category.name}.{item.name}]</span></h4>
46 <f:if condition="{item.labelText}">
47 <label for="{item.name}">{item.labelText}</label>
48 </f:if>
49 <f:if condition="{item.highlight}">
50 <span style="background:red; padding:1px 2px; color:#fff; font-weight:bold;">{item.highlight}</span>
51 </f:if>
52 <em:form.typoScriptConstants configuration="{item}" />
53 <f:if condition="{item.type} != 'user'">
54 <f:then>
55 <f:alias map="{label: '{f:translate(key: \'extConfTemplate.type.{item.type}\')}'}">
56 <f:if condition="{label}">
57 <f:then>
58 <span class="info">({label})</span>
59 </f:then>
60 </f:if>
61 </f:alias>
62 </f:then>
63 </f:if>
64 </div>
65 </f:for>
66 </div>
67 </f:for>
68 <f:if condition="{category.highlightText}">
69 {category.highlightText->f:format.raw()}
70 </f:if>
71 </div>
72 </f:if>
73 </f:for>
74 </f:form>
75 </div>
76 </div>
77 </f:section>