diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-06 15:22:23 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-06 15:22:23 -0700 |
commit | 5dc169260dc36209dd5ad0d4d4cac2bdaaefe62c (patch) | |
tree | c5fb50f7fbf6ff20b581c1ad5b50f2e19e6d7584 /actions/groupmembers.php | |
parent | a3314f483ec3250b322666a769a10197fb9dfff0 (diff) | |
parent | 4bb75d1c8e22b7bfc689a9e582ef846515a90383 (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.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'; + } } } |