[TASK] Update legend icons image
[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 <div class="pull-left">
87 <f:image src="{f:uri.resource(path:'Images/legend.png')}" alt="" />
88 </div>
89 <small>
90 <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" /><br/>
91 <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" /><br/>
92 <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" /><br/>
93 <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" /><br/>
94 <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" />
95 </small>
96 </div>
97 <p><f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:def" /></p>
98 <p>
99 <bu:spriteManagerIcon iconName="status-status-permission-granted" /> <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:A_Granted" /><br/>
100 <bu:spriteManagerIcon iconName="status-status-permission-denied" /> <f:translate key="LLL:EXT:beuser/Resources/Private/Language/locallang_mod_permission.xlf:A_Denied" />
101 </p>
102 </f:section>