diff options
author | Evan Prodromou <evan@status.net> | 2010-04-07 10:47:29 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-04-07 10:47:29 -0400 |
commit | 727ea5a5163249eb40fa0c4b2c63054fc997473b (patch) | |
tree | e7c412d8d858d7d7dba60ea15fb62e6ac83ef1fc /actions/groupmembers.php | |
parent | 439fd589eb256e7ee48796ee7c880536325fa2cb (diff) | |
parent | ecf32880254666860335d4fe2a96909cd592d3e8 (diff) |
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'actions/groupmembers.php')
-rw-r--r-- | actions/groupmembers.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/actions/groupmembers.php b/actions/groupmembers.php index a16debd7b..fb4e46dbc 100644 --- a/actions/groupmembers.php +++ b/actions/groupmembers.php @@ -212,6 +212,7 @@ class GroupMemberListItem extends ProfileListItem } } + function showGroupBlockForm() { $user = common_current_user(); @@ -224,7 +225,24 @@ class GroupMemberListItem extends ProfileListItem $bf->show(); $this->out->elementEnd('li'); } + } + + function linkAttributes() + { + $aAttrs = parent::linkAttributes(); + + if (common_config('nofollow', 'members')) { + $aAttrs['rel'] .= ' nofollow'; + } + + return $aAttrs; + } + function homepageAttributes() + { + if (common_config('nofollow', 'members')) { + $aAttrs['rel'] = 'nofollow'; + } } } |