summaryrefslogtreecommitdiff
path: root/actions/showgroup.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-03 18:20:45 -0500
committerEvan Prodromou <evan@status.net>2010-03-03 18:20:45 -0500
commit0f1c6e239acbf2c024c3aae9819d891f02b05bfd (patch)
tree42e923d0b8dd35ca2592a68a4dd26e686361b4c2 /actions/showgroup.php
parent13521cb510f2377e9b865b0506f92ada9ef9b3cd (diff)
parent4103e8584c7ccfb444af0814345104afedd2c6fc (diff)
Merge branch 'testing'
Diffstat (limited to 'actions/showgroup.php')
-rw-r--r--actions/showgroup.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/showgroup.php b/actions/showgroup.php
index a1dc3865b..5704b13d1 100644
--- a/actions/showgroup.php
+++ b/actions/showgroup.php
@@ -300,8 +300,8 @@ class ShowgroupAction extends GroupDesignAction
$this->elementStart('div', 'entity_actions');
$this->element('h2', null, _('Group actions'));
$this->elementStart('ul');
+ $this->elementStart('li', 'entity_subscribe');
if (Event::handle('StartGroupSubscribe', array($this, $this->group))) {
- $this->elementStart('li', 'entity_subscribe');
$cur = common_current_user();
if ($cur) {
if ($cur->isMember($this->group)) {
@@ -312,10 +312,9 @@ class ShowgroupAction extends GroupDesignAction
$jf->show();
}
}
- $this->elementEnd('li');
Event::handle('EndGroupSubscribe', array($this, $this->group));
}
-
+ $this->elementEnd('li');
$this->elementEnd('ul');
$this->elementEnd('div');
}