diff options
| author | Björn Geiger | 2011-03-31 19:40:08 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-03-31 19:40:08 +0200 |
| commit | 9a9129f1b59c0ead5cc530cfa367f9d121867b7f (patch) | |
| tree | 8ae55c11d5ca665ea664a0baf2270704a09dcb63 /application/modules/user/views/scripts/role | |
| parent | alphaID in KCL implementiert (diff) | |
| download | pbs2-9a9129f1b59c0ead5cc530cfa367f9d121867b7f.tar.gz pbs2-9a9129f1b59c0ead5cc530cfa367f9d121867b7f.tar.xz pbs2-9a9129f1b59c0ead5cc530cfa367f9d121867b7f.zip | |
Checkboxen für Rechte beim erstellen einer Rolle
Diffstat (limited to 'application/modules/user/views/scripts/role')
| -rw-r--r-- | application/modules/user/views/scripts/role/show.phtml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/application/modules/user/views/scripts/role/show.phtml b/application/modules/user/views/scripts/role/show.phtml index 408dcc4..6c6f8f5 100644 --- a/application/modules/user/views/scripts/role/show.phtml +++ b/application/modules/user/views/scripts/role/show.phtml @@ -44,7 +44,8 @@ if($this->roleID) { if(isset($this->rightcategorieslist)) { foreach($this->rightcategorieslist as $k => $v) { $rights = $this->rightsList[$k]; - ?> + if(count($rights) > 0) { + ?> <h3><?php echo $v; ?></h3> <table> <tr> @@ -76,6 +77,7 @@ if($this->roleID) { ?> </table> <?php + } } } } else { @@ -84,6 +86,6 @@ if($this->roleID) { <center> <h3>No Rights have been added!</h3> </center> -<?php -} + <?php + } }
\ No newline at end of file |
