From 561458650f746c548097adcd9f470cc2486b0191 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 14 Mar 2011 11:10:07 -0500 Subject: [PATCH] profile group uses account profile block --- actions/showstream.php | 6 ++++++ actions/usergroups.php | 6 ++++++ lib/galleryaction.php | 6 ++++++ 3 files changed, 18 insertions(+) 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(); + } } -- 2.39.5