diff options
| author | Nick Palmer <nick@sluggardy.net> | 2008-02-18 10:52:25 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2008-02-18 10:52:25 +0000 |
| commit | a0019446d7b396178e8d9a4dcf352beb6f5cf1be (patch) | |
| tree | 8940de1148a698a5ab900aa54fd247250b5d31b0 /admin | |
| parent | c0684367aeada2e19ea133933b011bfcea5e40da (diff) | |
| download | liberty-a0019446d7b396178e8d9a4dcf352beb6f5cf1be.tar.gz liberty-a0019446d7b396178e8d9a4dcf352beb6f5cf1be.tar.bz2 liberty-a0019446d7b396178e8d9a4dcf352beb6f5cf1be.zip | |
Add ability to force rel=nofollow on anchor tags. Die link spammers!
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/filter_htmlpurifier.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/filter_htmlpurifier.php b/admin/filter_htmlpurifier.php index c4d358f..db63e29 100644 --- a/admin/filter_htmlpurifier.php +++ b/admin/filter_htmlpurifier.php @@ -52,6 +52,11 @@ $htmlPurifier = array( 'note' => 'Allow YouTube videos to be passed through.', 'default' => 'n' ), + 'htmlpure_force_nofollow' => array( + 'label' => 'Force No Follow', + 'note' => 'Force all anchor tags to have rel=nofollow in them. Many search engines respect this in order to give sites a way to try to avoid link spammers.', + 'default' => 'y' + ), ); $gBitSmarty->assign( 'htmlPurifier', $htmlPurifier ); |
