Settings.html 5.83 KB
Newer Older
1
<div>
2
3
4
5
6
7
    <f:if condition="{singleElement}">
        <h3>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:elementHistory')}</h3>
        <f:if condition="{fullHistoryUrl}">
            <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>
        </f:if>
    </f:if>
8
    <div id="element-history-settings">
9
10
11
12
13
14
15
16
17
18
19
        <div class="row">
            <div class="col-sm-12 col-md-6 col-lg-4">
                <div class="panel panel-default">
                    <div class="panel-heading">{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:settings')}</div>
                    <table class="table">
                        <f:for each="{settings}" as="values" key="key">
                            <tr>
                                <td>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{key}')}</td>
                                <td>
                                    <div class="btn-group">
                                        <button class="btn btn-default dropdown-toggle" type="button" id="copymodeSelector"
20
                                                        data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
                                            <f:for each="{currentSelection}" as="currentSelectionValue" key="currentSelectionKey">
                                                <f:if condition="{currentSelectionKey} == {key}">
                                                    <f:then>
                                                        <f:if condition="{currentSelectionValue}">
                                                            <f:then>
                                                                <f:for each="{values}" as="singleValue" key="singleKey">
                                                                    <f:if condition="{currentSelectionValue} == {singleKey}">
                                                                        <f:then>
                                                                            <f:if condition="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}">
                                                                                <f:then>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}</f:then>
                                                                                <f:else>{singleValue.value}</f:else>
                                                                            </f:if>
                                                                        </f:then>
                                                                    </f:if>
                                                                </f:for>
                                                            </f:then>
                                                            <f:else>
                                                                <f:for each="{values}" as="singleValue" iteration="iterator">
                                                                    <f:if condition="{iterator.isFirst}">
                                                                        <f:then>
                                                                            <f:if condition="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}">
                                                                                <f:then>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}</f:then>
                                                                                <f:else>{singleValue.value}</f:else>
                                                                            </f:if>
                                                                        </f:then>
                                                                    </f:if>
                                                                </f:for>
                                                            </f:else>
                                                        </f:if>
                                                    </f:then>
                                                </f:if>
                                            </f:for>
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu" aria-labelledby="copymodeSelector">
                                            <f:for each="{values}" as="singleValue" key="singleKey">
57
                                                <li><a href="{singleValue.scriptUrl}">
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
                                                    <f:if condition="{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}">
                                                        <f:then>{f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_show_rechis.xlf:{singleValue.value}')}</f:then>
                                                        <f:else>{singleValue.value}</f:else>
                                                    </f:if>
                                                </a></li>
                                            </f:for>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                        </f:for>
                    </table>
                </div>
            </div>
        </div>
73
    </div>
74
</div>