forked from GNUsocial/gnu-social
Using single id for both profile block and unblock
darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
This commit is contained in:
parent
09dd39a434
commit
596c1b7f5a
@ -204,7 +204,7 @@ class ShowstreamAction extends StreamAction {
|
||||
|
||||
if ($cur) {
|
||||
$blocked = $cur->hasBlocked($profile);
|
||||
common_element_start('li', array('id' => ($blocked) ? 'profile_unblock' : 'profile_block'));
|
||||
common_element_start('li', array('id' => 'profile_block'));
|
||||
if ($blocked) {
|
||||
common_unblock_form($profile, array('action' => 'showstream',
|
||||
'nickname' => $profile->nickname));
|
||||
|
Loading…
Reference in New Issue
Block a user