• R/O
  • SSH
  • HTTPS

slashdotjp: Commit


Commit MetaInfo

Révision1107 (tree)
l'heure2009-04-06 14:01:23
Auteurtach

Message de Log

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

Change Summary

Modification

--- 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}}, {
Afficher sur ancien navigateur de dépôt.