diff options
Diffstat (limited to 'application/modules/user/views/scripts/group')
| -rw-r--r-- | application/modules/user/views/scripts/group/index.phtml | 2 | ||||
| -rw-r--r-- | application/modules/user/views/scripts/group/show.phtml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/application/modules/user/views/scripts/group/index.phtml b/application/modules/user/views/scripts/group/index.phtml index def21f6..e987ae6 100644 --- a/application/modules/user/views/scripts/group/index.phtml +++ b/application/modules/user/views/scripts/group/index.phtml @@ -35,7 +35,7 @@ $class= 'highlight checked'; } ?> <div class='content'> - <div class='actions'> + <div class='actions'> <?php if($group->getID() == $this->userIDsNamespace['groupID'] ): ?> <?php if(Pbs_Acl::checkRight('gsdo') ): ?> <a href="<?php echo $this->url( diff --git a/application/modules/user/views/scripts/group/show.phtml b/application/modules/user/views/scripts/group/show.phtml index 2f4ae4a..f27e333 100644 --- a/application/modules/user/views/scripts/group/show.phtml +++ b/application/modules/user/views/scripts/group/show.phtml @@ -12,13 +12,13 @@ if($this->usergroup == $this->requestgroup){ 'class' => 'rightbutton')); } } -else{ +elseif($this->usergroup != $this->requestgroup){ if(Pbs_Acl::checkRight('gd')){ echo $this->formButton('deletegroup', 'Delete', array( 'onclick' => 'self.location="/user/group/delete/groupID/' . $this->group->getID() .'"', 'class' => 'rightbutton')); } - if(Pbs_Acl::checkRight('geo')){ + if(Pbs_Acl::checkRight('ge')){ echo $this->formButton('editgroup', 'Edit', array( 'onclick' => 'self.location="/user/group/edit/groupID/' . $this->group->getID() .'"', 'class' => 'rightbutton')); |
