]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/peopletagsubscriptionssection.php
Fixed group representation in Directory plugin, also some ->raw calls
[quix0rs-gnu-social.git] / lib / peopletagsubscriptionssection.php
index 2182a3d8342a769fa395f4452ee7bdb65428ced7..7fd6bd0bbf7db71837d44fc4393c9476ef40c6fe 100644 (file)
@@ -42,27 +42,28 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
 class PeopletagSubscriptionsSection extends PeopletagSection
 {
     var $profile=null;
+    var $ptags=null;
 
     function __construct($out, Profile $profile)
     {
         parent::__construct($out);
         $this->profile = $profile;
-    }
 
-    function getPeopletags()
-    {
         $limit = PEOPLETAGS_PER_SECTION+1;
         $offset = 0;
 
-        $ptags = $this->profile->getTagSubscriptions($offset, $limit);
+        $this->ptags = $this->profile->getTagSubscriptions($offset, $limit);
+    }
 
-        return $ptags;
+    function getPeopletags()
+    {
+        return $this->ptags;
     }
 
     function title()
     {
-        // TRANS: Title for page that displays people tags a user has subscribed to.
-        return _('People tag subscriptions');
+        // TRANS: Title for page that displays lists a user has subscribed to.
+        return _('List subscriptions');
     }
 
     function link()