Author: sevein
Date: Fri Oct 29 14:43:43 2010
New Revision: 8683

Log:
Cosmetic changes.

Modified:
   trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php

Modified: trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php     Fri Oct 
29 14:42:38 2010        (r8682)
+++ trunk/apps/qubit/modules/user/templates/indexTermAclSuccess.php     Fri Oct 
29 14:43:43 2010        (r8683)
@@ -9,15 +9,17 @@
 <?php endif; ?>
 
 <div class="section">
+
   <?php if (0 < count($acl)): ?>
+
     <table id="userPermissions" class="sticky-enabled">
       <thead>
         <tr>
           <th colspan="2">&nbsp;</th>
-          <?php foreach ($roles as $roleId): ?>
-            <?php if (null !== $group = QubitAclGroup::getById($roleId)): ?>
+          <?php foreach ($roles as $item): ?>
+            <?php if (null !== $group = QubitAclGroup::getById($item)): ?>
               <th><?php echo $group->__toString() ?></th>
-            <?php elseif ($resource->username == $roleId): ?>
+            <?php elseif ($resource->username == $item): ?>
               <th><?php echo $resource->username ?></th>
             <?php endif; ?>
           <?php endforeach; ?>
@@ -62,7 +64,8 @@
         <?php endforeach; ?>
       </tbody>
     </table>
-<?php endif; ?>
+
+  <?php endif; ?>
 
 </div>
 

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to