summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/groupmembers.php4
-rw-r--r--actions/peopletag.php4
-rw-r--r--actions/subscribers.php4
3 files changed, 12 insertions, 0 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php
index fb4e46dbc..e72ef371a 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -240,9 +240,13 @@ class GroupMemberListItem extends ProfileListItem
function homepageAttributes()
{
+ $aAttrs = parent::linkAttributes();
+
if (common_config('nofollow', 'members')) {
$aAttrs['rel'] = 'nofollow';
}
+
+ return $aAttrs;
}
}
diff --git a/actions/peopletag.php b/actions/peopletag.php
index 456cc21c4..32652f755 100644
--- a/actions/peopletag.php
+++ b/actions/peopletag.php
@@ -168,9 +168,13 @@ class PeopleTagListItem extends ProfileListItem
function homepageAttributes()
{
+ $aAttrs = parent::linkAttributes();
+
if (common_config('nofollow', 'peopletag')) {
$aAttrs['rel'] = 'nofollow';
}
+
+ return $aAttrs;
}
}
diff --git a/actions/subscribers.php b/actions/subscribers.php
index 6dda7312d..6f1520b3f 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -177,8 +177,12 @@ class SubscribersListItem extends SubscriptionListItem
function homepageAttributes()
{
+ $aAttrs = parent::linkAttributes();
+
if (common_config('nofollow', 'subscribers')) {
$aAttrs['rel'] = 'nofollow';
}
+
+ return $aAttrs;
}
}