[CLEANUP] Use proper Clickmenu API
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Templates / BackendUser / Compare.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <f:layout name="Default" />
4
5 <f:section name="iconButtons">
6 <f:link.action action="index"><bu:spriteManagerIcon iconName="actions-view-go-back" /></f:link.action>
7 </f:section>
8
9 <f:section name="content">
10 <h3><f:translate key="compareBackendUsers">Compare backend users</f:translate></h3>
11
12 <table border="0" cellpadding="0" cellspacing="0" id="tx_beuser_compare" class="typo3-dblist">
13 <tr class="t3-row-header">
14 <td class="label"></td>
15 <f:for each="{compareUserList}" as="compareUser">
16 <td>
17 <a href="#" onClick="Clickmenu.show('be_users', '{compareUser.uid}', '1', '', '', ''); return false;" title="id={compareUser.uid}">
18 <bu:spriteIconForRecord table="be_users" object="{compareUser}" />
19 </a>
20 {compareUser.userName}
21 </td>
22 </f:for>
23 </tr>
24 <tr class="db_list_normal">
25 <td><h5><f:translate key="realName">Real name</f:translate></h5></td>
26 <f:for each="{compareUserList}" as="compareUser">
27 <td>{compareUser.realName}</td>
28 </f:for>
29 </tr>
30 <tr class="db_list_normal">
31 <td><h5><f:translate key="email">Email</f:translate></h5></td>
32 <f:for each="{compareUserList}" as="compareUser">
33 <td>
34 <f:if condition="{compareUser.email}">
35 <f:then>
36 <f:link.email email="{compareUser.email}" />
37 </f:then>
38 <f:else>
39 -
40 </f:else>
41 </f:if>
42 </td>
43 </f:for>
44 </tr>
45 <tr class="db_list_normal">
46 <td><h5><f:translate key="admin">Admin</f:translate></h5></td>
47 <f:for each="{compareUserList}" as="compareUser">
48 <td>
49 <f:if condition="{compareUser.isAdministrator}">
50 <f:then>
51 <f:translate key="yes">Yes</f:translate>
52 </f:then>
53 <f:else>
54 <f:translate key="no">No</f:translate>
55 </f:else>
56 </f:if>
57 </td>
58 </f:for>
59 </tr>
60 <tr class="db_list_normal">
61 <td><h5><f:translate key="disable">Disable</f:translate></h5></td>
62 <f:for each="{compareUserList}" as="compareUser">
63 <td>
64 <f:if condition="{compareUser.isDisabled} == 1">
65 <f:then>
66 <a href="<bu:issueCommand parameters="tce_db.php?&data[be_users][{compareUser.uid}][disable]=0&redirect={redirectUrl}" />">
67 <bu:spriteManagerIcon iconName="actions-edit-unhide" options="{title: 'unhide'}" />
68 </a>
69 </f:then>
70 <f:else>
71 <a href="<bu:issueCommand parameters="tce_db.php?&data[be_users][{compareUser.uid}][disable]=1&redirect={redirectUrl}" />">
72 <bu:spriteManagerIcon iconName="actions-edit-hide" options="{title: 'hide'}" />
73 </a>
74 </f:else>
75 </f:if>
76 </td>
77 </f:for>
78 </tr>
79 <tr class="db_list_normal">
80 <td><h5><f:translate key="startDateAndTime" /></h5></td>
81 <f:for each="{compareUserList}" as="compareUser">
82 <td>
83 <f:if condition="{compareUser.startDateAndTime}">
84 <f:then>
85 <f:format.date format="{dateFormat} {timeFormat}">{compareUser.startDateAndTime}</f:format.date>
86 </f:then>
87 <f:else>
88 -
89 </f:else>
90 </f:if>
91 </td>
92 </f:for>
93 </tr>
94 <tr class="db_list_normal">
95 <td><h5><f:translate key="endDateAndTime" /></h5></td>
96 <f:for each="{compareUserList}" as="compareUser">
97 <td>
98 <f:if condition="{compareUser.endDateAndTime}">
99 <f:then>
100 <f:format.date format="{dateFormat} {timeFormat}">{compareUser.endDateAndTime}</f:format.date>
101 </f:then>
102 <f:else>
103 -
104 </f:else>
105 </f:if>
106 </td>
107 </f:for>
108 </tr>
109 <tr class="db_list_normal">
110 <td><h5><f:translate key="lastLogin">Last login</f:translate></h5></td>
111 <f:for each="{compareUserList}" as="compareUser">
112 <td>
113 <f:if condition="{compareUser.lastLoginDateAndTime}">
114 <f:then>
115 <f:format.date format="{dateFormat} {timeFormat}">{compareUser.lastLoginDateAndTime}</f:format.date>
116 </f:then>
117 <f:else>
118 <f:translate key="never">Never</f:translate>
119 </f:else>
120 </f:if>
121 </td>
122 </f:for>
123 </tr>
124 <tr class="db_list_normal">
125 <td><h5><f:translate key="backendUserGroups">Member of groups</f:translate></h5></td>
126 <f:for each="{compareUserList}" as="compareUser">
127 <td>
128 <f:for each="{compareUser.BackendUserGroups}" as="backendUserGroup">
129 <a href="#" onClick="Clickmenu.show('be_groups', '{backendUserGroup.uid}', '1', '', '', ''); return false;" title="id={backendUserGroup.uid}">
130 <bu:spriteIconForRecord table="be_users" object="{backendUserGroup}" />
131 </a>
132 {backendUserGroup.title}<br />
133 </f:for>
134 </td>
135 </f:for>
136 </tr>
137 <tr class="db_list_normal">
138 <td><h5><f:translate key="allowedLanguages">Limit to languages</f:translate></h5></td>
139 <f:for each="{compareUserList}" as="compareUser">
140 <td>
141 <f:if condition="{compareUser.allowedLanguages}">
142 <f:then>
143 <bu:display.sysLanguage uids="{compareUser.allowedLanguages}" />
144 </f:then>
145 <f:else>
146 -
147 </f:else>
148 </f:if>
149 </td>
150 </f:for>
151 </tr>
152 <tr class="db_list_normal">
153 <td><h5><f:translate key="dbMountPoints">DB mountpoints</f:translate></h5></td>
154 <f:for each="{compareUserList}" as="compareUser">
155 <td>
156 <f:if condition="{compareUser.dbMountPoints}">
157 <f:then>
158 <bu:display.pages uids="{compareUser.dbMountPoints}" />
159 </f:then>
160 <f:else>
161 -
162 </f:else>
163 </f:if>
164 </td>
165 </f:for>
166 </tr>
167 <tr class="db_list_normal">
168 <td><h5><f:translate key="fileMounts">File mountpoints</f:translate></h5></td>
169 <f:for each="{compareUserList}" as="compareUser">
170 <td>
171 <f:if condition="{compareUser.fileMountPoints}">
172 <f:then>
173 <bu:display.sysFileMounts uids="{compareUser.fileMountPoints}" />
174 </f:then>
175 <f:else>
176 -
177 </f:else>
178 </f:if>
179 </td>
180 </f:for>
181 </tr>
182 <tr class="db_list_normal">
183 <td><h5><f:translate key="disableIpLock">Disable IP lock</f:translate></h5></td>
184 <f:for each="{compareUserList}" as="compareUser">
185 <td>
186 <f:if condition="{compareUser.ipLockIsDisabled} == 1">
187 <f:then>
188 <f:translate key="yes">Yes</f:translate>
189 </f:then>
190 <f:else>
191 <f:translate key="no">No</f:translate>
192 </f:else>
193 </f:if>
194 </td>
195 </f:for>
196 </tr>
197 </table>
198 </f:section>