641c1f513069ebdaea367c04d0d5d1d1ba3b4211
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Templates / Permission / Index.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <f:layout name="Permission" />
4
5 <f:section name="iconButtons">
6 <a href="#" onclick="{previewUrl}" title="{f:translate(key: 'LLL:EXT:lang/locallang_core.xlf:labels.showPage')}"><bu:spriteManagerIcon iconName="actions-document-view" /></a>
7 </f:section>
8
9 <f:section name="headline">
10 <h1><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:permissions" /></h1>
11 </f:section>
12
13 <f:section name="content">
14 <div class="form-group">
15 <label for="depth"><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:Depth" />:</label>
16 <f:form.select id="depth" value="{depth}" options="{depthOptions}" additionalAttributes="{onchange: 'jumpToUrl(\'{depthBaseUrl}\'.replace(\'__DEPTH__\', this.options[this.selectedIndex].value), this);'}" />
17 </div>
18
19 <table class="t3-table" id="typo3-permissionList">
20 <thead>
21 <tr>
22 <th colspan="2">&nbsp;</th>
23 <th><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:Owner" /></th>
24 <th align="center"><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:Group" /></th>
25 <th align="center"><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:Everybody" /></th>
26 <th align="center"><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:EditLock" /></th>
27 </tr>
28 </thead>
29 <f:for each="{viewTree}" as="data">
30 <tr>
31 <f:if condition="{data.cellAttrib}">
32 <f:then>
33 <td align="left" nowrap="nowrap" {data.cellAttrib}>
34 <f:format.raw>{data.html}</f:format.raw>
35 </td>
36 </f:then>
37 <f:else>
38 <td align="left" nowrap="nowrap" {data.groupName}>
39 <f:format.raw>{data.html}</f:format.raw>
40 </td>
41 </f:else>
42 </f:if>
43 <f:if condition="{data.editPermsAllowed}">
44 <f:then>
45 <td>
46 <f:if condition="{data.id} > 0">
47 <f:link.action action="edit" arguments="{id: data.id, depth: depth}" title="{f:translate(key: 'LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:ch_permissions')}">
48 <bu:spriteManagerIcon iconName="actions-document-open" />
49 </f:link.action>
50 </f:if>
51 </td>
52 </f:then>
53 <f:else>
54 <td></td>
55 </f:else>
56 </f:if>
57 <td nowrap="nowrap"><f:format.raw>{data.userPermissions}</f:format.raw></td>
58 <td nowrap="nowrap"><f:format.raw>{data.groupPermissions}</f:format.raw></td>
59 <td nowrap="nowrap"><f:format.raw>{data.otherPermissions}</f:format.raw></td>
60 <td nowrap="nowrap">
61 <f:if condition="{data.id} > 0">
62 <span id="el_{data.id}">
63 <f:if condition="{data.editLock}">
64 <f:then>
65 <a class="editlock" data-page="{data.pageId}" data-lockstate="1" title="{f:translate(key: 'LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:EditLock_descr')}">
66 <bu:spriteManagerIcon iconName="status-warning-lock" />
67 </a>
68 </f:then>
69 <f:else>
70 <a class="editlock" data-page="{data.pageId}" data-lockstate="0" title="Enable the &raquo;Admin-only&laquo; edit lock for this page">
71 [+]
72 </a>
73 </f:else>
74 </f:if>
75 </span>
76 </f:if>
77 </tr>
78 </f:for>
79 </table>
80
81 <br />
82 <f:format.raw>{cshItem}</f:format.raw>
83
84 <h3><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:Legend" />:</h3>
85 <div class="legend">
86 <table>
87 <tr>
88 <td nowrap="nowrap" class="edge"><span><span></span></span></td>
89 <td nowrap="nowrap" class="hr"><span></span></td>
90 <td nowrap="nowrap" class="hr"><span></span></td>
91 <td nowrap="nowrap" class="hr"><span></span></td>
92 <td nowrap="nowrap" class="hr"><span></span></td>
93 <td nowrap="nowrap"><span class="number">1</span></td>
94 <td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:1" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:1_t" /></td>
95 </tr>
96 <tr>
97 <td nowrap="nowrap" class="vr"><span></span></td>
98 <td nowrap="nowrap" class="edge"><span><span></span></span></td>
99 <td nowrap="nowrap" class="hr"><span></span></td>
100 <td nowrap="nowrap" class="hr"><span></span></td>
101 <td nowrap="nowrap" class="hr"><span></span></td>
102 <td nowrap="nowrap"><span class="number">2</span></td>
103 <td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:16" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:16_t" /></td>
104 </tr>
105 <tr>
106 <td nowrap="nowrap" class="vr"><span></span></td>
107 <td nowrap="nowrap" class="vr"><span></span></td>
108 <td nowrap="nowrap" class="edge"><span><span></span></span></td>
109 <td nowrap="nowrap" class="hr"><span></span></td>
110 <td nowrap="nowrap" class="hr"><span></span></td>
111 <td nowrap="nowrap"><span class="number">3</span></td>
112 <td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:2" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:2_t" /></td>
113 </tr>
114 <tr>
115 <td nowrap="nowrap" class="vr"><span></span></td>
116 <td nowrap="nowrap" class="vr"><span></span></td>
117 <td nowrap="nowrap" class="vr"><span></span></td>
118 <td nowrap="nowrap" class="edge"><span><span></span></span></td>
119 <td nowrap="nowrap" class="hr"><span></span></td>
120 <td nowrap="nowrap"><span class="number">4</span></td>
121 <td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:4" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:4_t" /></td>
122 </tr>
123 <tr>
124 <td nowrap="nowrap"><bu:spriteManagerIcon iconName="status-status-permission-granted" /></td>
125 <td nowrap="nowrap"><bu:spriteManagerIcon iconName="status-status-permission-denied" /></td>
126 <td nowrap="nowrap"><bu:spriteManagerIcon iconName="status-status-permission-granted" /></td>
127 <td nowrap="nowrap"><bu:spriteManagerIcon iconName="status-status-permission-denied" /></td>
128 <td nowrap="nowrap"><bu:spriteManagerIcon iconName="status-status-permission-denied" /></td>
129 <td nowrap="nowrap"><span class="number">5</span></td>
130 <td nowrap="nowrap"><strong><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:8" /></strong>: <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:8_t" /></td>
131 </tr>
132 </table>
133 </div>
134 <p><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:def" /></p>
135 <p>
136 <bu:spriteManagerIcon iconName="status-status-permission-granted" /> <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:A_Granted" /><br/>
137 <bu:spriteManagerIcon iconName="status-status-permission-denied" /> <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:A_Denied" />
138 </p>
139 </f:section>