Author: david
Date: Mon Sep 14 17:29:31 2009
New Revision: 3294

Log:
Add table for adding new permissions to aclGroup/edit.

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

Modified: trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php        
Mon Sep 14 17:27:37 2009        (r3293)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php        
Mon Sep 14 17:29:31 2009        (r3294)
@@ -73,6 +73,37 @@
       <?php endforeach; ?>
     </tbody>
   </table>
+
+  <table class="inline">
+    <caption><?php echo __('Add new permission'); ?></caption>
+    <thead>
+      <tr>
+        <th style="width: 20%"><?php echo __('action') ?></th>
+        <th style="width: 15%"><?php echo __('grant/deny') ?></th>
+        <th style="width: 60%"><?php echo __('repository') ?></th>
+        <th style="width: 5%"><?php echo image_tag('delete', array('align' => 
'top', 'class' => 'deleteIcon')) ?></th>
+      </tr>
+    </thead>
+    <tbody>
+      <tr>
+        <td><?php echo object_select_tag('', '', array('name' => 'actionId', 
'related_class' => 'QubitAclAction')) ?></td>
+        <td>
+          <ul class="radio">
+            <li><?php echo radiobutton_tag('permission[new][grantDeny]', '1', 
true) ?>&nbsp;<label><?php echo __('grant')?></label></li>
+            <li><?php echo radiobutton_tag('permission[new][grantDeny]', '0', 
false) ?>&nbsp;<label><?php echo __('deny')?></label></li>
+          </ul>
+        </td>
+        <td>
+          <div style="width: 100%">
+          <select name="permission[new][repository]" class="form-autocomplete" 
id="newRepository"></select>
+          <input class="list" type="hidden" value="<?php echo 
$this->context->routing->generate(null, array('module' => 'repository', 
'action' => 'list')) ?>" />
+          </div>
+        </td>
+        <td>&nbsp;</td>
+      </tr>
+    </tbody>
+  </table>
+    
 </fieldset>
 
 <!-- include empty div at bottom of form to bump the fixed button-block and 
allow user to scroll past it -->

--~--~---------~--~----~------------~-------~--~----~
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.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to