diff options
Diffstat (limited to 'actions/showgroup.php')
-rw-r--r-- | actions/showgroup.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php index 17c37e4d7..9a12bafaf 100644 --- a/actions/showgroup.php +++ b/actions/showgroup.php @@ -316,6 +316,12 @@ class ShowgroupAction extends GroupDesignAction Event::handle('EndGroupSubscribe', array($this, $this->group)); } $this->elementEnd('li'); + if ($cur->hasRight(Right::DELETEGROUP)) { + $this->elementStart('li', 'entity_delete'); + $df = new DeleteGroupForm($this, $this->group); + $df->show(); + $this->elementEnd('li'); + } $this->elementEnd('ul'); $this->elementEnd('div'); } |