]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/profileaction.php
"Lists with you" and "List subscriptions" in the right aside, "Lists" in the left...
[quix0rs-gnu-social.git] / lib / profileaction.php
index 16592783c9c0db9d0707d4b65c1d2bf32caea539..ca008739de500649c44d20442e6e99fbc877146f 100644 (file)
@@ -97,7 +97,8 @@ class ProfileAction extends OwnerDesignAction
         $this->showSubscriptions();
         $this->showSubscribers();
         $this->showGroups();
-        $this->showPeopletags();
+        $this->showListsFor();
+        $this->showListSubscriptions();
         $this->showStatistics();
     }
 
@@ -189,14 +190,25 @@ class ProfileAction extends OwnerDesignAction
         $this->elementEnd('div');
     }
 
-    function showPeopletags()
+    function showListsFor()
     {
-        if (Event::handle('StartShowPeopletagsSection', array($this))) {
+        if (Event::handle('StartShowListsForSection', array($this))) {
 
             $section = new PeopletagsForUserSection($this, $this->profile);
             $section->show();
 
-            Event::handle('EndShowPeopletagsSection', array($this));
+            Event::handle('EndShowListsForSection', array($this));
+        }
+    }
+
+    function showListSubscriptions()
+    {
+        if (Event::handle('StartShowListSubscriptionsSection', array($this))) {
+
+            $section = new PeopletagSubscriptionsSection($this, $this->profile);
+            $section->show();
+
+            Event::handle('EndShowListSubscriptionsSection', array($this));
         }
     }