summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-04-09 14:11:18 -0400
committerEvan Prodromou <evan@status.net>2010-04-09 14:11:18 -0400
commit4e3fad4f0d20e843cf42c07026ecbdb5a566562a (patch)
treeaf27baf516ae8f72330e5b2d6795f8edae157ee6 /actions
parentce40425533af595fee780bb18089266a836ab828 (diff)
fix attributes on homepage output
Diffstat (limited to 'actions')
-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;
}
}