add correct li for css magic for block stuff
This commit is contained in:
parent
c0f3204a10
commit
2f3c4f8812
@ -176,10 +176,12 @@ class GroupBlockListItem extends ProfileListItem
|
|||||||
$user = common_current_user();
|
$user = common_current_user();
|
||||||
|
|
||||||
if (!empty($user) && $user->id != $this->profile->id && $user->isAdmin($this->group)) {
|
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,
|
$bf = new GroupUnblockForm($this->out, $this->profile, $this->group,
|
||||||
array('action' => 'blockedfromgroup',
|
array('action' => 'blockedfromgroup',
|
||||||
'nickname' => $this->group->nickname));
|
'nickname' => $this->group->nickname));
|
||||||
$bf->show();
|
$bf->show();
|
||||||
|
$this->out->elementEnd('li');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -180,10 +180,12 @@ class GroupMemberListItem extends ProfileListItem
|
|||||||
$user = common_current_user();
|
$user = common_current_user();
|
||||||
|
|
||||||
if (!empty($user) && $user->id != $this->profile->id && $user->isAdmin($this->group)) {
|
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,
|
$bf = new GroupBlockForm($this->out, $this->profile, $this->group,
|
||||||
array('action' => 'groupmembers',
|
array('action' => 'groupmembers',
|
||||||
'nickname' => $this->group->nickname));
|
'nickname' => $this->group->nickname));
|
||||||
$bf->show();
|
$bf->show();
|
||||||
|
$this->out->elementEnd('li');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user