From: Evan Prodromou Date: Mon, 14 Mar 2011 16:10:07 +0000 (-0500) Subject: profile group uses account profile block X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=561458650f746c548097adcd9f470cc2486b0191;p=quix0rs-gnu-social.git profile group uses account profile block --- 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(); + } }