summaryrefslogtreecommitdiff
path: root/actions/subscribers.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-04-05 10:42:41 -0700
committerBrion Vibber <brion@pobox.com>2010-04-05 10:42:41 -0700
commitb71f276ed5420bc17262fe7981617ce6e27839c4 (patch)
tree104c6fe37665d434635e3970c151aca52612efc7 /actions/subscribers.php
parentf2b60b78b6096447a8aadc3d5075bb916f89880a (diff)
parent2a489018b11838280ef0c74f6727d5b9c0c10a0f (diff)
Merge branch 'master' into testing
Diffstat (limited to 'actions/subscribers.php')
-rw-r--r--actions/subscribers.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/actions/subscribers.php b/actions/subscribers.php
index 4bced6284..6dda7312d 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -163,4 +163,22 @@ class SubscribersListItem extends SubscriptionListItem
$bf->show();
}
}
+
+ function linkAttributes()
+ {
+ $aAttrs = parent::linkAttributes();
+
+ if (common_config('nofollow', 'subscribers')) {
+ $aAttrs['rel'] .= ' nofollow';
+ }
+
+ return $aAttrs;
+ }
+
+ function homepageAttributes()
+ {
+ if (common_config('nofollow', 'subscribers')) {
+ $aAttrs['rel'] = 'nofollow';
+ }
+ }
}