add correct li for css magic for block stuff

This commit is contained in:
Evan Prodromou 2009-06-14 22:16:24 -07:00
parent c0f3204a10
commit 2f3c4f8812
2 changed files with 4 additions and 0 deletions

View File

@ -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');
}
}
}

View File

@ -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');
}
}