Author: david
Date: Mon Sep 14 16:53:09 2009
New Revision: 3290
Log:
Eliminate extraneous table element tags.
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 16:39:39 2009 (r3289)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/editSuccess.php
Mon Sep 14 16:53:09 2009 (r3290)
@@ -37,48 +37,43 @@
<?php echo render_field($form->description, $group, array('class' =>
'resizable')) ?>
- <tr><td>
- <table class="inline">
- <caption><?php echo __('Permissions'); ?></caption>
- <thead>
+ <table class="inline">
+ <caption><?php echo __('Permissions'); ?></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>
+ <?php foreach ($permissions as $permission): ?>
+ <?php $parameters = array() ?>
<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>
+ <td><?php echo
$permission->getAction()->getName(array('cultureFallback' => true)) ?></td>
+ <td>
+ <ul class="radio">
+ <li><?php echo
radiobutton_tag('permission['.$permission->id.'][grantDeny]', '1', ('1' ==
$permission->grantDeny)) ?> <label><?php echo __('grant')?></label></li>
+ <li><?php echo
radiobutton_tag('permission['.$permission->id.'][grantDeny]', '0', ('1' !=
$permission->grantDeny)) ?> <label><?php echo __('deny')?></label></li>
+ </ul>
+ </td>
+ <td>
+ <div style="width: 100%">
+ <select name="permission[<?php echo $permission->id
?>][repository]" class="form-autocomplete" id="repository">
+ <?php if (null !== ($repository = $permission->getRepository())):
?>
+ <option value="<?php echo
$this->context->routing->generate(null, array('module' => 'repository',
'action' => 'show', 'id' => $repository->id)) ?>" selected="selected"><?php
echo $repository->getAuthorizedFormOfName(array('cultureFallback' => true))
?></option>
+ <?php endif; ?>
+ </select>
+ <input class="list" type="hidden" value="<?php echo
$this->context->routing->generate(null, array('module' => 'repository',
'action' => 'list')) ?>" />
+ </div>
+ </td>
+ <td> </td>
</tr>
- </thead>
- <tbody>
- <?php foreach ($permissions as $permission): ?>
- <?php $parameters = array() ?>
- <tr>
- <td><?php echo
$permission->getAction()->getName(array('cultureFallback' => true)) ?></td>
- <td>
- <ul class="radio">
- <li><?php echo
radiobutton_tag('permission['.$permission->id.'][grantDeny]', '1', ('1' ==
$permission->grantDeny)) ?> <label><?php echo __('grant')?></label></li>
- <li><?php echo
radiobutton_tag('permission['.$permission->id.'][grantDeny]', '0', ('1' !=
$permission->grantDeny)) ?> <label><?php echo __('deny')?></label></li>
- </ul>
- </td>
- <td>
- <div style="width: 100%">
- <select name="permission[<?php echo $permission->id
?>][repository]" class="form-autocomplete" id="repository">
- <?php if (null !== ($repository =
$permission->getRepository())): ?>
- <option value="<?php echo
$this->context->routing->generate(null, array('module' => 'repository',
'action' => 'show', 'id' => $repository->id)) ?>" selected="selected"><?php
echo $repository->getAuthorizedFormOfName(array('cultureFallback' => true))
?></option>
- <?php endif; ?>
- </select>
- <input class="list" type="hidden" value="<?php echo
$this->context->routing->generate(null, array('module' => 'repository',
'action' => 'list')) ?>" />
- </div>
- </td>
- <td> </td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- </td></tr>
-
- </fieldset>
-</tbody>
-</table>
+ <?php endforeach; ?>
+ </tbody>
+ </table>
+</fieldset>
<!-- include empty div at bottom of form to bump the fixed button-block and
allow user to scroll past it -->
<div id="button-block-bump" />
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---