]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
profile group uses account profile block
authorEvan Prodromou <evan@status.net>
Mon, 14 Mar 2011 16:10:07 +0000 (11:10 -0500)
committerEvan Prodromou <evan@status.net>
Wed, 16 Mar 2011 13:57:09 +0000 (09:57 -0400)
actions/showstream.php
actions/usergroups.php
lib/galleryaction.php

index afde49ecea36694bb9caceadd76fec36eeb75428..25aa670e4f75ea1e544b64b456db00836e368810 100644 (file)
@@ -110,6 +110,12 @@ class ShowstreamAction extends ProfileAction
         $nav->show();
     }
 
+    function showProfileBlock()
+    {
+        $block = new AccountProfileBlock($this, $this->profile);
+        $block->show();
+    }
+
     function showPageNoticeBlock()
     {
         return;
index cf904bc9292424966d50bfb3f4a9e9210cb80a2c..b0514bec4b3d212eaae7b5939d846c90029da77f 100644 (file)
@@ -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();
+    }
 }
index 107134a09b205129e94dc87a78e61a3f6c34b147..3db46dd09c10d400b72e43f0418d40dc0dada18d 100644 (file)
@@ -168,4 +168,10 @@ class GalleryAction extends OwnerDesignAction
     {
         return array();
     }
+
+    function showProfileBlock()
+    {
+        $block = new AccountProfileBlock($this, $this->profile);
+        $block->show();
+    }
 }