Author: sevein
Date: Sat Oct 30 10:25:20 2010
New Revision: 8719

Log:
Cosmetic changes.

Modified:
   trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_addActorDialog.php

Modified: 
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_addActorDialog.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_addActorDialog.php    
Sat Oct 30 10:24:55 2010        (r8718)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_addActorDialog.php    
Sat Oct 30 10:25:20 2010        (r8719)
@@ -33,14 +33,14 @@
 EOL;
 
 $row = 0;
-foreach ($basicActions as $action => $label)
+foreach ($basicActions as $key => $item)
 {
   $tableTemplate .= '<tr class="'.((0 == $row++ % 2) ? 'even' : 'odd').'">';
-  $tableTemplate .= '<td>'.__($label).'</th>';
+  $tableTemplate .= '<td>'.__($item).'</th>';
   $tableTemplate .= '<td><ul class="radio inline">';
-  $tableTemplate .= '<li><input type="radio" 
name="acl['.$action.'_{objectId}]" 
value="'.QubitAcl::GRANT.'"/>'.__('Grant').'</li>';
-  $tableTemplate .= '<li><input type="radio" 
name="acl['.$action.'_{objectId}]" 
value="'.QubitAcl::DENY.'"/>'.__('Deny').'</li>';
-  $tableTemplate .= '<li><input type="radio" 
name="acl['.$action.'_{objectId}]" value="'.QubitAcl::INHERIT.'" 
checked/>'.__('Inherit').'</li>';
+  $tableTemplate .= '<li><input type="radio" name="acl['.$key.'_{objectId}]" 
value="'.QubitAcl::GRANT.'"/>'.__('Grant').'</li>';
+  $tableTemplate .= '<li><input type="radio" name="acl['.$key.'_{objectId}]" 
value="'.QubitAcl::DENY.'"/>'.__('Deny').'</li>';
+  $tableTemplate .= '<li><input type="radio" name="acl['.$key.'_{objectId}]" 
value="'.QubitAcl::INHERIT.'" checked/>'.__('Inherit').'</li>';
   $tableTemplate .= '</ul></td>';
   $tableTemplate .= "</tr>\n";
 }

-- 
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