commit 349a98b214fc7d86d5669e40d45be073b6860e16
parent 040cf18589ab615619e0011b9d76820b3e9f451e
Author: dankert <devnull@localhost>
Date: Sun, 28 Nov 2004 23:32:13 +0100
Rechte anzeigen
Diffstat:
1 file changed, 50 insertions(+), 0 deletions(-)
diff --git a/themes/default/pages/html/user/rights.tpl.php b/themes/default/pages/html/user/rights.tpl.php
@@ -0,0 +1,49 @@
+<?php include( $tpl_dir.'header.tpl.php') ?>
+
+
+<center>
+
+<?php foreach($projects as $projectid=>$projectname) { ?>
+
+<table class="main" width="90%" cellspacing="0" cellpadding="4">
+
+ <tr>
+ <th colspan="15"><?php echo lang('GLOBAL_PROJECT') ?>: <?php echo $projectname ?></th>
+ </tr>
+ <tr>
+ <td class="help"><?php echo lang('GLOBAL_FILENAME') ?></td>
+ <td class="help"><?php echo lang('GLOBAL_LANGUAGE') ?></td>
+ <?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 } ?>
+ </tr>
+
+
+
+
+
+<?php $fx = '';
+ foreach( $rights[$projectid] as $oid=>$z )
+ { $fx = fx($fx); ?>
+ <tr>
+<?php $objectUrl = Html::url( array('action'=>'index','subaction'=>'object','id'=>$oid) ) ?>
+ <td class="<?php echo $fx ?>"><a href="<?php echo $objectUrl ?>" target="_top"><img src="<?php echo $image_dir.'icon_'.$objects[$oid]['type'].'.png' ?>" border="0" align="left"><?php echo $objects[$oid]['filename'] ?></a></td>
+ <td class="<?php echo $fx ?>"><?php echo $z['languagename'] ?></td>
+
+<?php foreach( $show as $t ) { ?>
+ <td class="<?php echo $fx ?>"><?php echo Html::checkBox('',$z[$t],false,array('title'=>lang('ACL_'.strtoupper($t))) ) ?></td>
+<?php } ?>
+
+ </tr>
+<?php }
+ $fx = fx($fx); ?>
+
+</table>
+
+<?php } ?>
+
+
+
+
+</center>
+<?php include( $tpl_dir.'footer.tpl.php') ?>+
\ No newline at end of file