commit 589b4d7f34298d30bb42737f4b709233725b454a
parent fa8620890445f0dd1549ee86eb7603fb3baf5bb4
Author: dankert <devnull@localhost>
Date: Mon, 20 Dec 2004 23:56:44 +0100
Wenn keine Berechtigungen vorhanden, dann Kasten weglassen
Diffstat:
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/themes/default/pages/html/object/rights.tpl.php b/themes/default/pages/html/object/rights.tpl.php
@@ -3,10 +3,13 @@
<center>
+<?php if ( count($acls) > 0 )
+ { ?>
+
<table class="main" width="90%" cellspacing="0" cellpadding="4">
<tr>
- <th colspan="15"><?php echo lang('ACL') ?></th>
+ <th colspan="<?php echo count($show)+3 ?>"><?php echo lang('ACL') ?></th>
</tr>
<tr>
<td class="help"><?php echo lang('GLOBAL_NAME') ?></td>
@@ -14,6 +17,7 @@
<?php foreach( $show as $t ) { ?>
<td class="help"><span title="<?php echo lang('ACL_'.strtoupper($t)) ?>"><strong><?php echo lang('ACL_'.strtoupper($t).'_ABBREV') ?></strong></span></td>
<?php } ?>
+ <td class="help"> </td>
</tr>
@@ -53,13 +57,16 @@
<?php } ?>
</tr>
<?php }
- $fx = fx($fx); ?>
+ ?>
</table>
+<br/><br/><br/>
+<?php }
+ $fx = '';
+ $fx = fx($fx); ?>
-<br/><br/><br/>
<?php echo Html::form( $action,'addacl',$objectid ) ?>
<table class="main" width="90%" cellspacing="0" cellpadding="4">