Author: sevein
Date: Mon Nov  1 10:12:13 2010
New Revision: 8731

Log:
Remove delete button from edit screen for consistency with other action blocks.

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 Nov  1 00:02:05 2010        (r8730)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php        
Mon Nov  1 10:12:13 2010        (r8731)
@@ -27,15 +27,8 @@
     <div class="content">
       <ul class="clearfix links">
         <?php if (isset($sf_request->id)): ?>
-
           <li><?php echo link_to(__('Cancel'), array($group, 'module' => 
'aclGroup')) ?></li>
-
-          <?php if (QubitAcl::check($group, 'delete') && 
!$group->isProtected()): ?>
-            <li><?php echo link_to(__('Delete'), array($group, 'module' => 
'aclGroup', 'action' => 'delete')) ?></li>
-          <?php endif; ?>
-
           <li><input class="form-submit" type="submit" value="<?php echo 
__('Save') ?>"/></li>
-
         <?php else: ?>
           <li><?php echo link_to(__('Cancel'), array('module' => 'aclGroup', 
'action' => 'list')) ?></li>
           <li><input class="form-submit" type="submit" value="<?php echo 
__('Create') ?>"/></li>

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