[TASK] Unify EXT: beuser html table semantics (t3-table) 04/32504/4
authorFelix Kopp <felix-source@phorax.com>
Fri, 29 Aug 2014 10:07:30 +0000 (12:07 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 1 Sep 2014 09:18:59 +0000 (11:18 +0200)
Bring common html structure for EXT: beuser table. The other
table (above in code) has already been changed before.

Resolves: #61267
Releases: 6.3
Change-Id: I88f688ed421dcf8b2984fe3a1e0204b3ed6e19cf
Reviewed-on: http://review.typo3.org/32504
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Tested-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html

index a1acb0d..c14b07b 100644 (file)
                        </f:be.widget.paginate>
                </f:then>
                <f:else>
-                       <table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">
-                               <tr class="t3-row-header">
-                                       <td>&nbsp;</td>
-                                       <td>
-                                               <f:translate key="userName">Username</f:translate> /
-                                               <f:translate key="realName">Real name</f:translate>
-                                       </td>
-                                       <td>&nbsp;</td>
-                                       <td>&nbsp;</td>
-                                       <td><f:translate key="lastLogin">Last login</f:translate></td>
-                               </tr>
-                               <f:for each="{backendUsers}" as="backendUser">
-                                       <f:render partial="BackendUser/IndexListRow" arguments="{demand: demand, backendUser: backendUser, dateFormat: dateFormat, timeFormat: timeFormat, returnUrl: returnUrl}" />
-                               </f:for>
-                               <f:comment>
-                                       Footer row: no officially defined style yet
-                               </f:comment>
-                               <tr>
-                                       <td colspan="6">
-                                               <f:count subject="{backendUsers}" /> <f:translate key="users">Users</f:translate>
-                                       </td>
-                               </tr>
+                       <table class="t3-table">
+                               <thead>
+                                       <tr>
+                                               <th>&nbsp;</th>
+                                               <th>
+                                                       <f:translate key="userName">Username</f:translate> /
+                                                       <f:translate key="realName">Real name</f:translate>
+                                               </th>
+                                               <th>&nbsp;</th>
+                                               <th>&nbsp;</th>
+                                               <th><f:translate key="lastLogin">Last login</f:translate></th>
+                                       </tr>
+                               </thead>
+                               <tbody>
+                                       <f:for each="{backendUsers}" as="backendUser">
+                                               <f:render partial="BackendUser/IndexListRow" arguments="{demand: demand, backendUser: backendUser, dateFormat: dateFormat, timeFormat: timeFormat, returnUrl: returnUrl}" />
+                                       </f:for>
+                                       <f:comment>
+                                               Footer row: no officially defined style yet
+                                       </f:comment>
+                                       <tr>
+                                               <td colspan="6">
+                                                       <f:count subject="{backendUsers}" /> <f:translate key="users">Users</f:translate>
+                                               </td>
+                                       </tr>
+                               </tbody>
                        </table>
                </f:else>
        </f:if>