summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 22:16:24 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 22:16:24 -0700
commit2f3c4f8812d389df40cf62b8967cf3e359ad5663 (patch)
tree539e1ebe46e6e518b64ef26be13f39c54b90c1c2 /actions
parentc0f3204a10beaa4243eae1bc2862da7e0cfff10a (diff)
add correct li for css magic for block stuff
Diffstat (limited to 'actions')
-rw-r--r--actions/blockedfromgroup.php2
-rw-r--r--actions/groupmembers.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/actions/blockedfromgroup.php b/actions/blockedfromgroup.php
index 1b7b31784..541ebcfd9 100644
--- a/actions/blockedfromgroup.php
+++ b/actions/blockedfromgroup.php
@@ -176,10 +176,12 @@ class GroupBlockListItem extends ProfileListItem
$user = common_current_user();
if (!empty($user) && $user->id != $this->profile->id && $user->isAdmin($this->group)) {
+ $this->out->elementStart('li', 'entity_block');
$bf = new GroupUnblockForm($this->out, $this->profile, $this->group,
array('action' => 'blockedfromgroup',
'nickname' => $this->group->nickname));
$bf->show();
+ $this->out->elementEnd('li');
}
}
}
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index 150b60a54..65790b7ca 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -180,10 +180,12 @@ class GroupMemberListItem extends ProfileListItem
$user = common_current_user();
if (!empty($user) && $user->id != $this->profile->id && $user->isAdmin($this->group)) {
+ $this->out->elementStart('li', 'entity_block');
$bf = new GroupBlockForm($this->out, $this->profile, $this->group,
array('action' => 'groupmembers',
'nickname' => $this->group->nickname));
$bf->show();
+ $this->out->elementEnd('li');
}
}