• R/O
  • SSH
  • HTTPS

slashdotjp: Commit


Commit MetaInfo

Revision1107 (tree)
Time2009-04-06 14:01:23
Authortach

Log Message

Force to add "rel=nofollow" to anchor on displayJournal() when constants "journal_force_nofollow" has set.

Change Summary

Incremental Difference

--- slashjp/trunk/plugins/Journal/journal.pl (revision 1106)
+++ slashjp/trunk/plugins/Journal/journal.pl (revision 1107)
@@ -666,7 +666,7 @@
666666
667667 my $stripped_article = balanceTags(strip_mode($article->[1], $article->[4]), { deep_nesting => 1 });
668668 $stripped_article = noFollow($stripped_article)
669- unless $karma > $constants->{goodkarma};
669+ unless $karma > $constants->{goodkarma} && !$constants->{journal_force_nofollow};
670670
671671 # should get comment count, too -- pudge
672672 push @{$collection->{article}}, {
Show on old repository browser