]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix attributes on homepage output
authorEvan Prodromou <evan@status.net>
Fri, 9 Apr 2010 18:11:18 +0000 (14:11 -0400)
committerEvan Prodromou <evan@status.net>
Fri, 9 Apr 2010 18:11:18 +0000 (14:11 -0400)
actions/groupmembers.php
actions/peopletag.php
actions/subscribers.php

index fb4e46dbc0ea145e40b58a626d5efbfce44c47d8..e72ef371acad7fe36fc67e1d9c96eb2c1d3b16fd 100644 (file)
@@ -240,9 +240,13 @@ class GroupMemberListItem extends ProfileListItem
 
     function homepageAttributes()
     {
+        $aAttrs = parent::linkAttributes();
+
         if (common_config('nofollow', 'members')) {
             $aAttrs['rel'] = 'nofollow';
         }
+
+        return $aAttrs;
     }
 }
 
index 456cc21c4c149446b5f16ac3d3d57a39816fae00..32652f75518f1a34ba548e574ccc062bfe88c5a5 100644 (file)
@@ -168,9 +168,13 @@ class PeopleTagListItem extends ProfileListItem
 
     function homepageAttributes()
     {
+        $aAttrs = parent::linkAttributes();
+
         if (common_config('nofollow', 'peopletag')) {
             $aAttrs['rel'] = 'nofollow';
         }
+
+        return $aAttrs;
     }
 }
 
index 6dda7312d67bf7eafb408375f30c6641435951e5..6f1520b3f48024959f9bfcecf66050a98ec1c86c 100644 (file)
@@ -177,8 +177,12 @@ class SubscribersListItem extends SubscriptionListItem
 
     function homepageAttributes()
     {
+        $aAttrs = parent::linkAttributes();
+
         if (common_config('nofollow', 'subscribers')) {
             $aAttrs['rel'] = 'nofollow';
         }
+
+        return $aAttrs;
     }
 }