forked from GNUsocial/gnu-social
profile group uses account profile block
This commit is contained in:
parent
e5133f8150
commit
561458650f
@ -110,6 +110,12 @@ class ShowstreamAction extends ProfileAction
|
||||
$nav->show();
|
||||
}
|
||||
|
||||
function showProfileBlock()
|
||||
{
|
||||
$block = new AccountProfileBlock($this, $this->profile);
|
||||
$block->show();
|
||||
}
|
||||
|
||||
function showPageNoticeBlock()
|
||||
{
|
||||
return;
|
||||
|
@ -168,4 +168,10 @@ class UsergroupsAction extends OwnerDesignAction
|
||||
$this->raw(common_markup_to_html($message));
|
||||
$this->elementEnd('div');
|
||||
}
|
||||
|
||||
function showProfileBlock()
|
||||
{
|
||||
$block = new AccountProfileBlock($this, $this->profile);
|
||||
$block->show();
|
||||
}
|
||||
}
|
||||
|
@ -168,4 +168,10 @@ class GalleryAction extends OwnerDesignAction
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
function showProfileBlock()
|
||||
{
|
||||
$block = new AccountProfileBlock($this, $this->profile);
|
||||
$block->show();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user