diff options
| author | Björn Geiger | 2011-03-29 16:26:39 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-03-29 16:26:39 +0200 |
| commit | 6521222deb21df89ba62fe5b92d25fcf8fc643bb (patch) | |
| tree | 00dd2708e0ce2de8337d9a0d7090d4d3c9190b92 /application/modules/user/views/scripts | |
| parent | aktive Rolle wird angezeigt (diff) | |
| download | pbs2-6521222deb21df89ba62fe5b92d25fcf8fc643bb.tar.gz pbs2-6521222deb21df89ba62fe5b92d25fcf8fc643bb.tar.xz pbs2-6521222deb21df89ba62fe5b92d25fcf8fc643bb.zip | |
RightCategories auch auf der Role Detail Seite
Diffstat (limited to 'application/modules/user/views/scripts')
| -rw-r--r-- | application/modules/user/views/scripts/role/show.phtml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/application/modules/user/views/scripts/role/show.phtml b/application/modules/user/views/scripts/role/show.phtml index b99c1f8..0a7522a 100644 --- a/application/modules/user/views/scripts/role/show.phtml +++ b/application/modules/user/views/scripts/role/show.phtml @@ -34,8 +34,13 @@ if($this->roleID) { <?php echo $this->formButton('linkright', 'Add Right', array( 'onclick' => 'self.location="/user/role/linkright/roleID/' . $this->role->getID() .'"', 'class' => 'addbutton'))?> +<br /> <?php if(isset($this->rightsList)) { - ?> + if(isset($this->rightcategorieslist)) { + foreach($this->rightcategorieslist as $k => $v) { + $rights = $this->rightsList[$k]; + ?> +<h3><?php echo $v; ?></h3> <table> <tr> <th>Title</th> @@ -44,7 +49,7 @@ if($this->roleID) { </tr> <?php - foreach($this->rightsList as $right) { + foreach($rights as $right) { ?> <tr class="entry"> <td><?php echo $right->getTitle(); ?></td> @@ -66,6 +71,8 @@ if($this->roleID) { ?> </table> <?php + } + } } else { ?> <br /> |
