summaryrefslogtreecommitdiffstats
path: root/application/modules/user/views/scripts/group
diff options
context:
space:
mode:
authorSimon2011-04-13 16:35:49 +0200
committerSimon2011-04-13 16:35:49 +0200
commitb306697b1e9a549a7a06e0b14dc3f62e14913dd4 (patch)
tree9d883726abf707e73651ce1a2692ac8bbd48df55 /application/modules/user/views/scripts/group
parentBei Details anderer Personen gleiches Layout wie bei OwnDetails (diff)
downloadpbs2-b306697b1e9a549a7a06e0b14dc3f62e14913dd4.tar.gz
pbs2-b306697b1e9a549a7a06e0b14dc3f62e14913dd4.tar.xz
pbs2-b306697b1e9a549a7a06e0b14dc3f62e14913dd4.zip
Rechte in Gruppen nächster Teil
Diffstat (limited to 'application/modules/user/views/scripts/group')
-rw-r--r--application/modules/user/views/scripts/group/show.phtml11
1 files changed, 11 insertions, 0 deletions
diff --git a/application/modules/user/views/scripts/group/show.phtml b/application/modules/user/views/scripts/group/show.phtml
index b01ade4..042b34e 100644
--- a/application/modules/user/views/scripts/group/show.phtml
+++ b/application/modules/user/views/scripts/group/show.phtml
@@ -1,20 +1,28 @@
<h1>Groupdetails - <?php echo $this->group->getTitle();?></h1>
<?php
if($this->usergroup == $this->requestgroup){
+ if(Pbs_Acl::checkRight('gd')){
echo $this->formButton('deletegroup', 'Delete', array(
'onclick' => 'self.location="/user/group/delete/"',
'class' => 'rightbutton'));
+ }
+ if(Pbs_Acl::checkRight('geo')){
echo $this->formButton('editgroup', 'Edit', array(
'onclick' => 'self.location="/user/group/edit/"',
'class' => 'rightbutton'));
+ }
}
else{
+ 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')){
echo $this->formButton('editgroup', 'Edit', array(
'onclick' => 'self.location="/user/group/edit/groupID/' . $this->group->getID() .'"',
'class' => 'rightbutton'));
+ }
}
?>
<div class='listelement'>
@@ -36,6 +44,9 @@ if($this->usergroup == $this->requestgroup){ ?>
<div class='clear'></div>
</div>
</div>
+<div class='bottomimg'>
+ <img src='/stats/graphgroup/group/<?php echo $this->group->getID();?>' />
+ </div>
<?php