[!!!][BUGFIX] Separate sys_history from sys_log db entries
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Partials / RecordHistory / Settings.html
1 <div>
2 <f:if condition="{singleElement}">
3 <h3>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:elementHistory')}</h3>
4 <f:if condition="{fullHistoryUrl}">
5 <a href="{fullHistoryUrl}" class="btn btn-default" style="margin-bottom: 5px;">{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:elementHistory_link')}</a>
6 </f:if>
7 </f:if>
8 <form name="settings" action="{TYPO3_REQUEST_URI}" method="post">
9 <div class="row">
10 <div class="col-sm-12 col-md-6 col-lg-4">
11 <div class="panel panel-default">
12 <div class="panel-heading">{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:settings')}</div>
13 <table class="table">
14 <f:for each="{settings}" as="values" key="key">
15 <tr>
16 <td>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{key}')}</td>
17 <td>
18 <div class="btn-group">
19 <button class="btn btn-default dropdown-toggle" type="button" id="copymodeSelector"
20 data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
21 <f:for each="{currentSelection}" as="currentSelectionValue" key="currentSelectionKey">
22 <f:if condition="{currentSelectionKey} == {key}">
23 <f:then>
24 <f:if condition="{currentSelectionValue}">
25 <f:then>
26 <f:for each="{values}" as="singleValue" key="singleKey">
27 <f:if condition="{currentSelectionValue} == {singleKey}">
28 <f:then>
29 <f:if condition="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}">
30 <f:then>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}</f:then>
31 <f:else>{singleValue.value}</f:else>
32 </f:if>
33 </f:then>
34 </f:if>
35 </f:for>
36 </f:then>
37 <f:else>
38 <f:for each="{values}" as="singleValue" iteration="iterator">
39 <f:if condition="{iterator.isFirst}">
40 <f:then>
41 <f:if condition="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}">
42 <f:then>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}</f:then>
43 <f:else>{singleValue.value}</f:else>
44 </f:if>
45 </f:then>
46 </f:if>
47 </f:for>
48 </f:else>
49 </f:if>
50 </f:then>
51 </f:if>
52 </f:for>
53 <span class="caret"></span>
54 </button>
55 <ul class="dropdown-menu" aria-labelledby="copymodeSelector">
56 <f:for each="{values}" as="singleValue" key="singleKey">
57 <li><a href="#"
58 onclick="document.settings.method='POST'; document.settings.action={singleValue.scriptUrl}; document.settings.submit()">
59 <f:if condition="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}">
60 <f:then>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}</f:then>
61 <f:else>{singleValue.value}</f:else>
62 </f:if>
63 </a></li>
64 </f:for>
65 </ul>
66 </div>
67 </td>
68 </tr>
69 </f:for>
70 </table>
71 </div>
72 </div>
73 </div>
74 </form>
75 </div>