diff --git a/actions/showstream.php b/actions/showstream.php index afde49ecea..25aa670e4f 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -110,6 +110,12 @@ class ShowstreamAction extends ProfileAction $nav->show(); } + function showProfileBlock() + { + $block = new AccountProfileBlock($this, $this->profile); + $block->show(); + } + function showPageNoticeBlock() { return; diff --git a/actions/usergroups.php b/actions/usergroups.php index cf904bc929..b0514bec4b 100644 --- a/actions/usergroups.php +++ b/actions/usergroups.php @@ -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(); + } } diff --git a/lib/galleryaction.php b/lib/galleryaction.php index 107134a09b..3db46dd09c 100644 --- a/lib/galleryaction.php +++ b/lib/galleryaction.php @@ -168,4 +168,10 @@ class GalleryAction extends OwnerDesignAction { return array(); } + + function showProfileBlock() + { + $block = new AccountProfileBlock($this, $this->profile); + $block->show(); + } }