summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-04-10 17:56:11 -0700
committerBrion Vibber <brion@pobox.com>2010-04-10 17:56:11 -0700
commit1eeb23e1e3b77de056791a74cd3e4f5c02d68510 (patch)
treea636518ebfc9bf41c2b0b0a916c14f1ee37df634 /actions
parentaf06c554a0d8c4eeab801a9550d951845d40350a (diff)
parentedd883d3b009788049a9326bd6bdcc7846f87a8a (diff)
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
Conflicts: actions/confirmaddress.php
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 6d0701239..54f1d8dcd 100644
--- a/actions/groupmembers.php
+++ b/actions/groupmembers.php
@@ -238,9 +238,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 5473bc1bd..7287cfbf9 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 6fdf43e2c..2845a498e 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -181,8 +181,12 @@ class SubscribersListItem extends SubscriptionListItem
function homepageAttributes()
{
+ $aAttrs = parent::linkAttributes();
+
if (common_config('nofollow', 'subscribers')) {
$aAttrs['rel'] = 'nofollow';
}
+
+ return $aAttrs;
}
}