profile group uses account profile block

This commit is contained in:
Evan Prodromou 2011-03-14 11:10:07 -05:00
parent e5133f8150
commit 561458650f
3 changed files with 18 additions and 0 deletions

View File

@ -110,6 +110,12 @@ class ShowstreamAction extends ProfileAction
$nav->show(); $nav->show();
} }
function showProfileBlock()
{
$block = new AccountProfileBlock($this, $this->profile);
$block->show();
}
function showPageNoticeBlock() function showPageNoticeBlock()
{ {
return; return;

View File

@ -168,4 +168,10 @@ class UsergroupsAction extends OwnerDesignAction
$this->raw(common_markup_to_html($message)); $this->raw(common_markup_to_html($message));
$this->elementEnd('div'); $this->elementEnd('div');
} }
function showProfileBlock()
{
$block = new AccountProfileBlock($this, $this->profile);
$block->show();
}
} }

View File

@ -168,4 +168,10 @@ class GalleryAction extends OwnerDesignAction
{ {
return array(); return array();
} }
function showProfileBlock()
{
$block = new AccountProfileBlock($this, $this->profile);
$block->show();
}
} }