ef00bffdb42fef72bd085390a5886c0a3a20bee2
[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:alias map="{label: '{f:translate(key: \'extConfTemplate.type.{item.type}\')}'}">
40 <f:if condition="{label}">
41 <f:then>
42 <span class="info">({label})</span>
43 </f:then>
44 </f:if>
45 </f:alias>
46 </div>
47 </f:for>
48 <f:form.submit value="{f:translate(key:'extConfTemplate.submitButton')}" />
49 </f:form>
50 </div>
51 </f:for>
52 <f:if condition="{category.highlightText}">
53 {category.highlightText->f:format.raw()}
54 </f:if>
55 </div>
56 </f:if>
57 </f:for>
58 </div>
59 </div>
60 </f:section>