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