diff options
Diffstat (limited to 'application/modules/user/views/scripts')
| -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 |
